/* Modern Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #00557A;
    --primary-blue-light: #42a5f5;
    --primary-blue-dark: #004461;
    --gradient-start: #00557A;
    --gradient-end: #004461;
    --vibrant-blue: #00557A;
    --vibrant-blue-light: #004461;
    --vibrant-blue-dark: #003349;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-light: #e9ecef;
    --white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --primary-hover: #004461;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif !important;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

html {
    overflow-y: auto;
    height: auto;
}

.modern-login-container {
    height: calc(100vh - 100px);
    /* min-height: 600px; */
    margin: 20px auto;
    /* max-height: calc(100vh - 40px); */
}

.modern-login-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: flex;
    animation: slideInUp 0.8s ease-out;
}

.login-left {
    flex: 1;
    background:
        linear-gradient(135deg, var(--app-primary-color), var(--app-primary-color-light)),
        url('../images/background-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    color: var(--white);
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.6) 0%, rgba(21, 101, 192, 0.6) 50%, rgba(25, 118, 210, 0.6) 100%);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.login-left-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.login-left-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 30%);
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.login-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.login-left p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 60px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.7s both;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.feature-tag i {
    font-size: 1.2rem;
}

.login-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}
.register-logo-section {
    text-align: center;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.logo-placeholder {
    width: 100%;
    height: 60px;
    background: var(--border-light);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    overflow: hidden;
}

.logo-placeholder img {
    transition: transform 0.3s ease;
}

.logo-placeholder:hover img {
    transform: scale(1.05);
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    /* text-align: center; */
    animation: fadeInUp 1s ease-out 0.4s both;
}

.welcome-section p {
    font-size: 1rem;
    color: var(--text-light);
    /* text-align: center; */
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.welcome-section-register p {
    font-size: 1rem;
    color: var(--text-light);
    /* text-align: center; */
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.welcome-section-register h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    /* text-align: center; */
    animation: fadeInUp 1s ease-out 0.4s both;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}


.registere-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}
.registere-form-group {
    margin-bottom: 15px;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}



.registere-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.input-icon {
    position: absolute;
    left: 15px;
    z-index: 2;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
}
.form-modal-control {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-control:focus + .input-icon {
    color: var(--primary-blue);
}

.form-control::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.password-toggle {
    position: absolute;
    right: 15px;
    z-index: 2;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-blue);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.remember-me label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-blue-dark);
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.register-link {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.register-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: var(--primary-blue-dark);
    text-decoration: none;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInDown 0.5s ease-out;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.text-danger {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.modern-login-container {
    margin: 20px 0;
    /* height: calc(100vh - 40px); */
}

.forgot-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}



.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-box i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-box p {
    color: #424242;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.back-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #424242;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.back-btn:hover {
    background: #eeeeee;
    transform: translateY(-1px);
    color: #424242;
    text-decoration: none;
}

.support-link {
    text-align: center;
    margin-top: 20px;
}

.support-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.support-link a:hover {
    text-decoration: underline;
}

.forgot-left {
    flex: 1;
    background:
        linear-gradient(135deg, rgba(25, 118, 210, 0.9), rgba(96, 165, 250, 0.9)),
        url('../images/background-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    color: var(--white);
}

.forgot-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.7) 0%, rgba(66, 165, 245, 0.7) 100%);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.forgot-left-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 30%);
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.forgot-left h1, .forgot-left p, .feature-tag {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Registration Page Specific Styles */
#signup-otp {
    letter-spacing: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Modal Styles for OTP */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-medium);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 30px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 20px 30px;
}

/* Responsive Design */
@media (max-width: 991px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
        padding: 10px;
        display: block;
        align-items: stretch;
        justify-content: stretch;
    }

    html {
        overflow-y: auto !important;
        height: auto !important;
    }

    .modern-login-container {
        flex-direction: column;
        margin: 10px auto;
        height: auto;
        min-height: auto;
        max-height: none;
        max-width: none;
    }

    .login-left {
        flex: none;
        padding: 40px 30px;
        min-height: 300px;
    }

    .login-left h1 {
        font-size: 2rem;
    }

    .login-left p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .login-right {
        flex: none;
        padding: 40px 30px;
    }

    .welcome-section h2 {
        font-size: 1.75rem;
    }

    .logo-placeholder {
        width: 100%;
        height: 50px;
    }

    .form-control {
        padding: 12px 12px 12px 45px;
    }

    .login-btn {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
        overflow-y: auto !important;
        height: auto !important;
        display: block;
        align-items: stretch;
        justify-content: stretch;
    }

    html {
        overflow-y: auto !important;
        height: auto !important;
    }

    .modern-login-container {
        margin: 5px auto;
        height: auto;
        min-height: auto;
        max-height: none;
        border-radius: var(--border-radius-small);
    }

    .login-left {
        flex: none;
        padding: 30px 20px;
        min-height: 250px;
    }

    .login-left h1 {
        font-size: 1.75rem;
    }

    .login-right {
        flex: none;
        padding: 30px 20px;
    }

    .welcome-section h2 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 12px 12px 12px 45px;
    }

    .login-btn {
        padding: 12px;
    }

    .info-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .back-btn {
        padding: 12px 20px;
    }
}
/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for button */
.login-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional hover effects */
.form-group:hover .input-wrapper {
    transform: translateY(-1px);
}

.form-control:focus + .input-icon {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-dark);
}

/* Reset Password Page Styles */
.reset-password-body * {
    box-sizing: border-box;
}

.reset-password-body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
}

.reset-main-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10% 0;
    box-sizing: border-box;
}

.reset-logo-section {
    margin-bottom: 10px;
}

.reset-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #111827;
}

.reset-logo-icon {
    width: 47px;
    height: 47px;
    background-color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.reset-logo-icon i {
    color: white;
    font-size: 20px;
}

.reset-logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.reset-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.reset-form-title {
    font-size: 26px;
    font-weight: 600;
    color: black;
    text-align: center;
    margin-bottom: 8px;
}

.reset-form-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
}

.reset-form-group {
    margin-bottom: 10px;
}

.reset-form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.reset-input-group {
    position: relative;
}

.reset-form-control {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
}

.reset-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: none;
}

.reset-input-group-text {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    z-index: 3;
}

.reset-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 3;
}

.reset-password-toggle:hover {
    color: var(--primary-blue);
}

.reset-password-requirements {
    margin-top: 12px;
}

.reset-requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.reset-requirement-circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 12px;
}

.reset-requirement-circle.valid {
    background-color: #4caf50;
}

.reset-btn-reset {
    background-color: #3b82f6;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reset-btn-reset:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.reset-btn-reset i {
    margin-right: 8px;
}

.reset-return-link {
    text-align: center;
    margin-top: 24px;
}

.reset-return-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.reset-return-link a:hover {
    color: #2563eb;
}

.reset-security-notice {
    background-color: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    margin-top: 32px;
    border-left: 4px solid var(--primary-blue);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.reset-security-notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reset-security-notice-header i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 18px;
}

.reset-security-notice-title {
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.reset-security-notice-text {
    color: var(--primary-blue);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.reset-text-danger {
    font-size: 14px;
    margin-top: 8px;
    color: #dc3545;
}

/* Background color utilities */
.bg-blue-lighter {
    background-color: #eff6ff !important;
    border: 1px solid #dbeafe;
    border-radius: 12px;
}

.bg-blue-lighter i {
    color: #3b82f6 !important;
}

.bg-blue-lighter h6 {
    color: #3b82f6 !important;
}

.bg-blue-lighter p {
    color: #1E293B !important;
}

.gray-lighter {
    color : #e5e7eb !important;
}
.gray-light {
    color : #9ca3af !important;
}

/* Password Requirements Styles */

.reset-requirement-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.reset-requirement-item i {
    margin-right: 8px;
    font-size: 12px;
}

.reset-requirement-item .requirement-text {
    font-weight: 500;
}


.strength-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.strength-text {
    font-size: 13px;
    font-weight: 600;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Password Match Indicators */
.password-match-indicator,
.password-mismatch-indicator {
    font-size: 13px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Submit Button States */
.reset-btn-reset:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background-color: #6c757d !important;
}

.reset-btn-reset:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Form Input States */
.reset-form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
    outline: none;
}

.reset-form-control.is-valid {
    border-color: #28a745;
}

.reset-form-control.is-invalid {
    border-color: #dc3545;
}

.bg-blue-lighter .card-body {
    padding: 20px;
}

.key-icon {
    color: var(--primary-blue);
    font-size: 24px !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    width: 55px !important;
    height: 55px !important;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.bg-blue-lighter i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 18px;
}

.bg-blue-lighter h6 {
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0;
    display: inline;
}

.bg-blue-lighter p {
    color: var(--primary-blue);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

/* Reset Password Responsive Design */
@media (max-width: 768px) {
    .reset-password-body {
        padding: 15px;
    }

    .reset-main-container {
        padding: 15px;
        max-width: 100%;
    }

    .reset-form-card {
        padding: 25px 20px;
        margin: 0;
    }

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

    .reset-key-icon i {
        font-size: 40px;
    }

    .reset-logo-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .reset-password-body {
        padding: 10px;
    }

    .reset-main-container {
        padding: 10px;
    }

    .reset-form-card {
        padding: 20px 15px;
        margin: 0;
    }

    .reset-form-title {
        font-size: 22px;
    }

    .reset-form-subtitle {
        font-size: 14px;
    }

    .reset-form-control {
        padding: 12px 16px;
        font-size: 14px;
    }

    .reset-btn-reset {
        padding: 12px;
        font-size: 14px;
    }

    .reset-logo-section {
        margin-bottom: 20px;
    }

    .reset-logo-text {
        font-size: 20px;
    }

    .reset-security-notice {
        padding: 15px;
        margin-top: 20px;
    }
}

/* Custom Font Faces */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/static/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/static/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Body and HTML Styles */
body {
    background: #ffffff;
    font-family: 'Inter', sans-serif !important;
    overflow: hidden;
    height: 100vh;
}

html {
    overflow: hidden;
    height: 100vh;
}

/* Scrollable register form - Only for screens 1500px and smaller */
@media (max-width: 1600px) {
    .register-form-container {
        /* height: 100vh; */
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px;
        box-sizing: border-box;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .login-right {
        padding: 25px 50px;
    }
    .login-left {
        flex: 1;
        padding: 25px 40px;
        color: var(--white);
    }

    .form-control {
        padding: 15px 15px 15px 50px;
    }

    .register-form-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .register-form-container::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

    .register-form-container::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* Form specific styles */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Preserve Font Awesome icons */
.fa, .fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Password toggle styling */
.password-toggle {
    cursor: pointer;
    transition: color 0.3s ease;
    color: #666;
}

.password-toggle:hover {
    color: var(--primary-blue);
}

.password-toggle:active {
    transform: scale(0.95);
}

/* Custom Login Button Styles */
#loginBtn {
    background-color: var(--primary-blue) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    font-size: 18px !important;
}

#loginBtn:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#loginBtn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 122, 0.25) !important;
}

#loginBtn:active {
    transform: scale(0.98) !important;
}

#loginBtn i {
    font-size: 1rem;
}

#forgotBtn {
    background-color: var(--primary-blue) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    font-size: 15px !important;
}

#forgotBtn:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#forgotBtn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 122, 0.25) !important;
}

#forgotBtn:active {
    transform: scale(0.98) !important;
}

#forgotBtn i {
    font-size: 15px;
}

/* Bootstrap Login Page Styles - Matching Tailwind Design */

body {
    background: #f8f9fa !important;
    font-family: 'Inter', sans-serif !important;
    min-height: 100vh;
    padding: 20px;
}

html {
    min-height: 100vh;
}

.login-left-bootstrap {
    background: linear-gradient(135deg, rgba(0, 60, 90, 0.9) 0%, rgba(0, 85, 122, 0.9) 50%, rgba(0, 100, 140, 0.9) 100%),
                    url('../images/background-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-bg-overlay {
    background: linear-gradient(135deg, rgba(0, 60, 90, 0.9) 0%, rgba(0, 85, 122, 0.9) 50%, rgba(0, 100, 140, 0.9) 100%);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 85, 122, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 85, 122, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 85, 122, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 85, 122, 0.1) 50%, transparent 70%);
}

.login-right-bootstrap {
    background: #ffffff;
}

/* Main Container Styling - Using Bootstrap Classes Only */
.row {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.login-left-bootstrap {
    border-radius: 16px 0 0 16px;
}

.login-right-bootstrap {
    border-radius: 0 16px 16px 0;
}

/* Form Input Focus States */
.login-right-bootstrap .form-control:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 122, 0.25) !important;
    outline: none !important;
}

.login-right-bootstrap .form-control {
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 400;
}

.login-right-bootstrap .form-control:hover {
    border-color: var(--primary-blue);
}

.login-right-bootstrap .form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Password Toggle Hover */
.login-right-bootstrap .password-toggle:hover {
    color: var(--primary-blue) !important;
}

/* Typography Adjustments */
.login-right-bootstrap h2 {
    color: #1e293b;
    font-weight: 700;
}

.login-right-bootstrap .text-muted {
    color: #64748b !important;
}

/* Button Styling */
#loginBtn {
    background-color: var(--primary-blue) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

#loginBtn:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#loginBtn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 122, 0.25) !important;
}

#loginBtn:active {
    transform: scale(0.98) !important;
}

/* Left Side Typography */
.login-left-bootstrap h1 {
    color: #ffffff !important;
    font-weight: 700 !important;
    /* text-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important; */
}

.login-left-bootstrap p {
    color: #ffffff !important;
    font-size: 18px;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important; */
}

.login-left-bootstrap .feature-tag {
    color: #ffffff !important;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important; */
}

.login-right-bootstrap-register .form-control {
    border-radius: 12px !important;
}

/* Register Page Specific Styles */
.login-right-bootstrap .form-control {
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    padding: 12px 16px 12px 48px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

.login-right-bootstrap .form-control.pe-5 {
    padding-right: 48px !important;
}

.login-right-bootstrap .form-control:hover {
    border-color: var(--primary-blue) !important;
}

.login-right-bootstrap .form-control:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: none !important;
    outline: none !important;
}

.login-right-bootstrap .form-control::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.login-right-bootstrap .password-toggle:hover {
    color: var(--primary-blue) !important;
}

.login-right-bootstrap .text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: block;
    line-height: 1.4;
}

/* Error spacing for form fields */
.login-right-bootstrap .position-relative:has(.text-danger:not(:empty)) {
    margin-bottom: 0.5rem !important;
}

.login-right-bootstrap .row:has(.text-danger:not(:empty)) {
    margin-bottom: 0.5rem !important;
}

/* Register Button Styling */
#registerBtn {
    background-color: var(--primary-blue) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

#registerBtn:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#registerBtn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 122, 0.25) !important;
}

#registerBtn:active {
    transform: scale(0.98) !important;
}

/* Scrollable Form Only for Register Page - Screens 1600px and Below */
@media (max-width: 1600px) {
    /* Only apply to register page - Keep logo and header fixed */
    body:has(#registerForm) .login-right-bootstrap {
        max-height: calc(100vh - 6rem);
        overflow-y: visible;
        overflow-x: visible;
        display: flex;
        flex-direction: column;
    }

    /* Make only the form scrollable */
    body:has(#registerForm) .register-form-scrollable {
        max-height: calc(100vh - 20rem);
        overflow-y: auto;
        overflow-x: hidden;
        flex: 1;
        padding-right: 10px;
    }

    /* Ensure logo maintains same appearance on all screen sizes */
    body:has(#registerForm) .login-right-bootstrap .logo-main {
        height: 30px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body:has(#registerForm) .login-right-bootstrap .logo-fallback {
        display: flex !important;
        visibility: visible !important;
        gap: 8px !important;
    }

    /* Additional logo visibility rules for all screen sizes */
    .login-right-bootstrap .logo-main {
        height: 30px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure logo is visible on register page for all screen sizes */
    body:has(#registerForm) .login-right-bootstrap img[src*="auth-logo.png"] {
        height: 38px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }
}

/* Global logo visibility rules - Apply to all screen sizes */
.login-right-bootstrap img[src*="auth-logo.png"] {
    height: 38px !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}

/* Specific rules for register page logo */
body:has(#registerForm) .login-right-bootstrap img[src*="auth-logo.png"] {
    height: 38px !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}

/* Direct class targeting for register logo */
.register-logo {
    height: 38px !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}

/* Ensure register logo is visible on all screen sizes */
@media (max-width: 1600px) {
    .register-logo {
        height: 38px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }
}

/* Scrollable Form Only for Forgot Password Page - Screens 1600px and Below */
@media (max-width: 1600px) {
    /* Only apply to forgot password page - Keep logo and header fixed */
    body:has(#forgotPasswordForm) .login-right-bootstrap-forgot {
        max-height: calc(100vh - 6rem);
        overflow-y: visible;
        overflow-x: visible;
        display: flex;
        flex-direction: column;
    }

    /* Make only the form scrollable */
    body:has(#forgotPasswordForm) .forgot-form-scrollable {
        max-height: calc(100vh - 20rem);
        overflow-y: auto;
        overflow-x: hidden;
        flex: 1;
        padding-right: 10px;
    }

    /* Ensure logo maintains same appearance on all screen sizes */
    body:has(#forgotPasswordForm) .login-right-bootstrap-forgot .forgot-logo {
        height: 38px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Ensure forgot password logo is visible on all screen sizes */
@media (max-width: 1600px) {
    .forgot-logo {
        height: 38px !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }
}

/* Hide scrollbar for forgot password form while keeping scroll functionality */
body:has(#forgotPasswordForm) .forgot-form-scrollable {
    /* Hide scrollbar for webkit browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body:has(#forgotPasswordForm) .forgot-form-scrollable::-webkit-scrollbar {
    display: none; /* Webkit browsers (Chrome, Safari, Edge) */
}

/* Forgot Password Page - Custom Classes */
.forgot-left-content {
    max-width: 400px;
}

.forgot-left-title {
    font-size: 2.8rem;
}

.forgot-left-subtitle {
    font-size: 1.2rem;
}

.forgot-left-feature {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.forgot-logo {
    height: 38px !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}
.bg-gray-100{
    background-color: #f3f4f6;
}
.bg-gray-100:hover {
    background-color: #e5e7eb;
}

.forgot-form-title {
    font-size: 2rem;
}

.forgot-instructions-title {
    color: black !important;
}

.forgot-email-input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 16px 12px 48px;
}

.forgot-submit-btn {
    border-radius: 8px;
    background-color: var(--primary-blue);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 16px;
}

.forgot-submit-btn i {
    font-size: 16px;
}

.forgot-submit-btn span {
    font-size: 16px;
    font-weight: 700;
}

.forgot-back-btn {
    border-radius: 8px;
    font-size: 16px;
}

.forgot-back-btn i {
    font-size: 16px;
    font-weight: 500;
}

.forgot-back-btn span {
    font-size: 16px;
    font-weight: 500;
}

/* Login Page - Custom Classes */
.login-left-content {
    max-width: 400px;
}

.login-left-title {
    font-size: 2.8rem;
}

.login-left-subtitle {
    font-size: 1.2rem;
}

.login-left-feature {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.login-logo {
    height: 38px;
}

.login-form-title {
    font-size: 2rem;
}

.login-mobile-input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 16px 12px 48px;
}

.login-password-input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 48px 12px 48px;
}

.login-password-toggle {
    cursor: pointer;
}

.login-forgot-link {
    font-size: 14px;
}

.login-submit-btn {
    border-radius: 8px;
}

.login-register-text {
    font-size: 14px;
}

.login-register-link {
    font-size: 14px;
}

/* Register Page - Custom Classes */
.register-left-content {
    max-width: 400px;
}

.register-left-title {
    font-size: 2.8rem;
}

.register-left-subtitle {
    font-size: 1.2rem;
}

.register-left-feature {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.register-logo {
    height: 38px !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}

.register-form-title {
    font-size: 2rem;
}

.register-error-text {
    font-size: 12px;
    margin-top: 2px;
}

.register-password-toggle {
    cursor: pointer;
}

.register-login-text {
    font-size: 14px;
}

.register-login-link {
    color: var(--primary-blue);
    font-size: 14px;
}

/* Reset Password Page - Responsive Management for screens below 1600px */
@media (max-width: 1600px) {
    .reset-main-container {
        padding: 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .reset-form-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 40px;
        box-sizing: border-box;
    }

    .reset-logo-section {
        margin-bottom: 20px;
    }

    .reset-logo {
        justify-content: center;
    }

    .reset-logo-text {
        font-size: 20px;
    }

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

    .reset-form-subtitle {
        font-size: 14px;
    }

    .reset-form-control {
        padding: 10px 16px 12px 48px;
        font-size: 14px;
    }

    .reset-btn-reset {
        padding: 12px;
        font-size: 14px;
    }

    .card.bg-blue-lighter {
        margin-top: 20px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .reset-main-container {
        padding: 15px;
    }

    .reset-form-card {
        padding: 25px 15px;
    }

    .reset-form-title {
        font-size: 22px;
    }

    .reset-form-subtitle {
        font-size: 13px;
    }

    .reset-form-control {
        padding: 10px 14px 10px 44px;
        font-size: 13px;
    }

    .reset-btn-reset {
        padding: 10px;
        font-size: 13px;
    }

    .card.bg-blue-lighter {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .reset-main-container {
        padding: 10px;
    }

    .reset-form-card {
        padding: 20px 10px;
    }

    .reset-form-title {
        font-size: 20px;
    }

    .reset-form-subtitle {
        font-size: 12px;
    }

    .reset-form-control {
        padding: 8px 12px 8px 40px;
        font-size: 12px;
    }

    .reset-btn-reset {
        padding: 8px;
        font-size: 12px;
    }

    .card.bg-blue-lighter {
        padding: 10px;
    }
}

/* Hide scrollbar for register form while keeping scroll functionality */
body:has(#registerForm) .register-form-scrollable {
    /* Hide scrollbar for webkit browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body:has(#registerForm) .register-form-scrollable::-webkit-scrollbar {
    display: none; /* Webkit browsers (Chrome, Safari, Edge) */
}

/* Responsive Design - Bootstrap Classes Only */
@media (max-width: 991.98px) {
    .login-left-bootstrap {
        display: none !important;
    }

    .login-right-bootstrap {
        border-radius: 16px !important;
    }

    .row {
        border-radius: 16px !important;
    }

    /* Only apply scrollable form to register page on mobile */
    body:has(#registerForm) .login-right-bootstrap {
        max-height: calc(100vh - 6rem);
        overflow-y: visible;
        overflow-x: visible;
        display: flex;
        flex-direction: column;
    }

    body:has(#registerForm) .register-form-scrollable {
        max-height: calc(100vh - 15rem);
        overflow-y: auto;
        overflow-x: hidden;
        flex: 1;
    }
}

@media (max-width: 576px) {
    .login-right-bootstrap .p-5 {
        padding: 2rem !important;
    }

    .login-right-bootstrap h2 {
        font-size: 1.75rem !important;
    }

    .login-right-bootstrap .form-control-lg {
        padding: 0.75rem 1rem 0.75rem 3rem !important;
    }

    .login-right-bootstrap .row.g-3 {
        margin-bottom: 1rem !important;
    }

    /* Extra spacing for mobile */
    .container-fluid {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}
