/* Modern Login Page Styles */
.modern-login-page {
    min-height: 100vh;
    background: #f8f9fa;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    margin: 0px -16px -16px;
}


.login-container {
    display: flex;
    min-height: 100vh;
}

/* Left Section - Testimonial */
.testimonial-section {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 50px;
    position: relative;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: #495057;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.quote-icon i {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.testimonial-title {
    font-size: 48px;
    font-weight: 700;
    color: #495057;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.testimonial-text {
    font-size: 18px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #dee2e6;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dee2e6;
    color: #6c757d;
}

.avatar-placeholder i {
    font-size: 24px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 2px;
}

.author-title {
    font-size: 14px;
    color: #495057;
    opacity: 0.7;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 36px;
    font-weight: 700;
    color: white;

}

.footer-logo i {
    font-size: 24px;
    color: white;
}

.footer-copyright {
    font-size: 14px;
    color: black;
    opacity: 0.8;
}


/* Right Section - Login Form */
.login-form-section {
    flex: 0 0 40%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.05);
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

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

.login-icon {
    width: 60px;
    height: 60px;
    background: #495057;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-icon i {
    font-size: 24px;
    color: white;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #495057;
    margin: 0;
    letter-spacing: -0.01em;
}

.login-form {
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    opacity: 0.8;
}

.form-control {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    color: #495057;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.login-button-container {
    margin-bottom: 20px;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: #495057;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.login-button:hover {
    background: #343a40;
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 20px;
    font-size: 14px;
    color: #495057;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
    z-index: 0;
}

.alternative-login {
    text-align: center;
}

.email-only-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-only-btn:hover {
    border-color: #495057;
    background: #f8f9fa;
}

.email-only-btn i {
    font-size: 18px;
}

/* Error Messages */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #dc3545;
}

.errorMessagevalue {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #dc3545;
}

.successMessagevalue {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #198754;
}

/* OTP Styles */
.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input-wrapper {
    width: 50px;
}

.otp-input {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 10px;
}

.otp-info {
    text-align: center;
    font-size: 14px;
    color: #495057;
}

.otp-timer {
    margin-right: 10px;
}

.otp-resend {
    cursor: pointer;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .testimonial-section {
        display: none;
    }
    
    .login-form-section {
        flex: none;
        padding: 30px 20px;
        width: 100%;
        max-width: none;
    }
    
    .login-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-form-section {
        padding: 20px 15px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .login-button,
    .email-only-btn {
        padding: 12px;
        font-size: 15px;
    }
}


/* Focus states for accessibility */
.form-control:focus,
.login-button:focus,
.email-only-btn:focus {
    outline: 2px solid #495057;
    outline-offset: 2px;
}

/* Loading state for buttons */
.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-button:disabled:hover {
    transform: none;
    background: #495057;
}
