/* QID Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.qid-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fbfd;
    padding: 20px;
    margin-top: 80px;
}

.qid-login-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.12);
    min-height: 700px;
}

/* Left Side - Image Slider */
.qid-slider-section {
    position: relative;
    background: #0071ac;
    overflow: hidden;
}

.qid-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.qid-slider .swiper-wrapper {
    height: 100%;
}

.qid-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.qid-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qid-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 60px;
}

.qid-slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.qid-slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.qid-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.qid-slider-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: #ffffff;
}

/* Right Side - Login Form */
.qid-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: #ffffff;
}

.qid-form-container {
    width: 100%;
    max-width: 480px;
}

.qid-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 40px;
}

.qid-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.qid-form-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.qid-form-subtitle {
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

.qid-form {
    width: 100%;
}

.qid-form-group {
    margin-bottom: 25px;
}

.qid-form-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}

.qid-form-label .required {
    color: #dc3545;
    margin-left: 3px;
}

.qid-form-input {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #e0e7ed;
    border-radius: 50px;
    font-size: 16px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    background: #f8fbfd;
}

.qid-form-input::placeholder {
    color: #98a6b3;
}

.qid-form-input:focus {
    border-color: #0071ac;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 113, 172, 0.08);
    outline: none;
}

.qid-form-input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.qid-form-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.qid-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

.qid-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    font-size: 15px;
    font-weight: 500;
}

.qid-alert.error {
    background-color: #fff5f5;
    color: #c82333;
    border: 2px solid #f5c6cb;
}

.qid-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 113, 172, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.qid-submit-btn:hover {
    background: linear-gradient(135deg, #005a8a, #0071ac);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 113, 172, 0.35);
}

.qid-submit-btn:active {
    transform: translateY(0);
}

.qid-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.qid-submit-btn .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .qid-login-wrapper {
        max-width: 1000px;
    }

    .qid-slide-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .qid-login-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .qid-slider-section {
        min-height: 400px;
        order: 1;
    }

    .qid-form-section {
        order: 2;
        padding: 50px 30px;
    }

    .qid-slide-content h2 {
        font-size: 32px;
    }

    .qid-slide-overlay {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .qid-login-container {
        padding: 15px;
    }

    .qid-login-wrapper {
        border-radius: 16px;
    }

    .qid-slider-section {
        min-height: 300px;
    }

    .qid-form-section {
        padding: 40px 25px;
    }

    .qid-logo {
        max-width: 160px;
        margin-bottom: 30px;
    }

    .qid-form-title {
        font-size: 28px;
    }

    .qid-form-subtitle {
        font-size: 15px;
    }

    .qid-slide-content h2 {
        font-size: 26px;
    }

    .qid-slide-overlay {
        padding: 30px;
    }

    .qid-form-input {
        padding: 14px 18px;
        font-size: 15px;
    }

    .qid-submit-btn {
        padding: 16px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .qid-logo {
        max-width: 140px;
    }

    .qid-form-title {
        font-size: 24px;
    }

    .qid-slide-content h2 {
        font-size: 22px;
    }

    .qid-slider-section {
        min-height: 250px;
    }
}
