/* ====================================================
   AUTH.CSS - Shared Authentication Page Styles
   Used by: Login, SignUp, ForgotPassword, ResetPassword,
            2FAAuthenticate, VerifyEmail, AccountLocked, etc.
   Created: 2026-01-11 (consolidated from inline styles)
   ==================================================== */

/* ====================================================
   CSS VARIABLES - Page-specific overrides
   ==================================================== */
:root {
    --auth-container-max-width: 900px;
    --auth-container-min-height: 600px;
    --auth-logo-height: 280px;
    --auth-header-font-size: 32px;
    --auth-left-gradient: linear-gradient(135deg, #92C83E 0%, #447638 100%);
}

/* ====================================================
   RESET & BASE
   ==================================================== */
* {
    box-sizing: border-box;
}

body.login-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ====================================================
   MAIN PAGE LAYOUT
   ==================================================== */
.login-page {
    background: linear-gradient(135deg, #002B76 0%, #00AEEF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: var(--auth-container-max-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: var(--auth-container-min-height);
}

/* Single column variant for simpler pages */
.login-container.single-column {
    grid-template-columns: 1fr;
    max-width: 500px;
}

/* ====================================================
   AUTH CONTAINER - Single Column Layout
   For 2FA, VerifyEmail, AccountLocked, etc.
   ==================================================== */
.auth-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    padding: 40px;
}

.auth-container.text-center {
    text-align: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #002B76;
    margin-bottom: 10px;
}

.auth-header p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

.auth-content {
    margin-bottom: 40px;
}

.auth-content p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Auth Icon Variants */
.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7c23 0%, #447638 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(146, 200, 62, 0.3);
}

.auth-icon i {
    font-size: 36px;
    color: white;
}

.email-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.email-icon i {
    font-size: 48px;
    color: white;
}

/* Code Input Group (2FA) */
.code-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.code-input:focus {
    outline: none;
    border-color: #4a7c23;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(146, 200, 62, 0.1);
}

/* Trust Device Checkbox */
.trust-device {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
}

.trust-device input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.trust-device label {
    cursor: pointer;
    color: #075985;
    font-size: 14px;
}

/* Resend Section */
.resend-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.resend-section p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.resend-link {
    color: #4a7c23;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.resend-link:hover {
    color: #3d6a1c;
    text-decoration: underline;
}

.timer {
    color: #002B76;
    font-weight: 600;
}

/* Email Details Box */
.email-details {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.email-details p {
    color: #0369a1;
    font-size: 14px;
    margin-bottom: 10px;
}

.email-address {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px;
    font-family: monospace;
    font-weight: 600;
    color: #002B76;
}

/* Steps List (VerifyEmail) */
.steps-list {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.steps-list h3 {
    color: #f59e0b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-list ol {
    margin: 0;
    padding-left: 20px;
}

.steps-list li {
    color: #92400e;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #92C83E;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(146, 200, 62, 0.3);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: white;
    color: #6b7280;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #002B76;
    color: #002B76;
    text-decoration: none;
}

/* Support Info */
.support-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.support-info p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.support-info a {
    color: #4a7c23;
    text-decoration: none;
    font-weight: 600;
}

.support-info a:hover {
    text-decoration: underline;
}

/* ====================================================
   TIME REMAINING / COUNTDOWN (AccountLocked)
   ==================================================== */
.time-remaining {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.time-remaining h3 {
    color: #dc2626;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.time-remaining .timer {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 10px;
}

.timer-label {
    font-size: 14px;
    color: #6b7280;
}

/* ====================================================
   HELP SECTION (AccountLocked)
   ==================================================== */
.help-section {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.help-section h3 {
    color: #0369a1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-section li {
    color: #0369a1;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.help-section li i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ====================================================
   CONTACT INFO
   ==================================================== */
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.contact-info p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.contact-info a {
    color: #4a7c23;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ====================================================
   SUCCESS ICON (PasswordResetSuccess)
   ==================================================== */
.success-icon-animated {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.3);
    animation: successPulse 2s infinite;
}

.success-icon-animated i {
    font-size: 48px;
    color: white;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(22, 163, 74, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(22, 163, 74, 0.4);
    }
}

/* ====================================================
   SUCCESS DETAILS (PasswordResetSuccess)
   ==================================================== */
.success-details {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.success-details h3 {
    color: #16a34a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.success-details li {
    color: #15803d;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.success-details li i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ====================================================
   SECURITY TIPS (PasswordResetSuccess)
   ==================================================== */
.security-tips {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.security-tips h3 {
    color: #f59e0b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-tips li {
    color: #92400e;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.security-tips li i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ====================================================
   AUTO REDIRECT
   ==================================================== */
.auto-redirect {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.auto-redirect p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.countdown {
    font-size: 18px;
    font-weight: 600;
    color: #002B76;
}

/* ====================================================
   ERROR / DANGER ICON VARIANT
   ==================================================== */
.auth-icon.danger {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    width: 100px;
    height: 100px;
}

.auth-icon.danger i {
    font-size: 48px;
}

/* ====================================================
   LEFT PANEL - Logo & Branding
   ==================================================== */
.login-left {
    background: var(--auth-left-gradient);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.login-logo {
    height: var(--auth-logo-height);
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
}

.login-brand {
    z-index: 1;
    position: relative;
}

.login-brand h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.login-brand p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

/* ====================================================
   RIGHT PANEL - Form Area
   ==================================================== */
.login-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: var(--auth-header-font-size);
    font-weight: 700;
    color: #002B76;
    margin-bottom: 10px;
}

.login-header p {
    color: #6b7280;
    font-size: 16px;
}

.login-form-section {
    margin-bottom: 30px;
}

/* ====================================================
   FORM CONTROLS
   ==================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

/* Required field asterisk - Red asterisk for required fields */
.form-group label .text-danger,
.form-group label span.text-danger,
label .text-danger,
label span.text-danger {
    color: #FF5252 !important;
    font-weight: 700;
    font-size: inherit;
    margin-left: 2px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-group.checkbox-group label {
    display: inline;
    margin-bottom: 0;
    cursor: pointer;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: #0078d4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

/* Password input with toggle */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
}

.password-toggle:hover {
    color: #374151;
}

/* ====================================================
   BUTTONS
   ==================================================== */
.btn-lime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #92C83E;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-lime:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(146, 200, 62, 0.3);
    background-color: #7bb82e;
}

.btn-lime:active {
    transform: translateY(0);
}

.btn-lime:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-blue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 15px;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
    text-decoration: none;
    color: white;
}

.btn-outline {
    color: #92C83E;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #92C83E;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #92C83E;
    color: white;
    text-decoration: none;
}

/* ====================================================
   LINKS
   ==================================================== */
.link {
    color: #5F5F5F !important;
    text-align: right;
    font-size: 16px;
    display: block;
    cursor: pointer;
    margin-top: 0.5rem;
}

.link a {
    color: #5F5F5F !important;
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: center;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #0078d4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* ====================================================
   DIVIDERS
   ==================================================== */
.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    color: #6b7280;
    font-size: 16px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #d1d5db;
    z-index: 1;
}

.divider span {
    background-color: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ====================================================
   GUEST ACCESS
   ==================================================== */
.guest-access {
    text-align: center;
}

.guest-button {
    color: #92C83E;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #92C83E;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.guest-button:hover {
    background-color: #92C83E;
    color: white;
    text-decoration: none;
}

/* ====================================================
   ALERTS & NOTICES
   ==================================================== */
.alert-error {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

.alert-error i {
    flex-shrink: 0;
}

.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #16a34a;
}

.alert-success i {
    flex-shrink: 0;
}

.alert-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #d97706;
}

.alert-warning i {
    flex-shrink: 0;
}

.alert-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0284c7;
}

.alert-info i {
    flex-shrink: 0;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    text-align: left;
}

.security-notice i {
    color: #075985;
    font-size: 20px;
    flex-shrink: 0;
}

.security-notice strong {
    display: block;
    color: #075985;
    font-size: 16px;
    margin-bottom: 2px;
}

.security-notice p {
    font-size: 14px;
    color: #0369a1;
    margin: 0;
    line-height: 1.3;
}

/* ====================================================
   VERIFICATION CODE INPUT
   ==================================================== */
.verification-code-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.verification-code-input:focus {
    outline: none;
    border-color: #0078d4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

/* ====================================================
   PASSWORD REQUIREMENTS
   ==================================================== */
.password-requirements {
    margin-top: 10px;
    padding: 15px;
    background-color: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
}

.password-requirements h4 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: #6b7280;
}

.password-requirements li i {
    width: 16px;
}

.password-requirements li.valid {
    color: #16a34a;
}

.password-requirements li.valid i {
    color: #16a34a;
}

/* ====================================================
   COUNTDOWN / TIMER
   ==================================================== */
.countdown-timer {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #6b7280;
}

.countdown-timer .time {
    font-size: 24px;
    font-weight: 600;
    color: #002B76;
}

/* ====================================================
   BACK LINK
   ==================================================== */
.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-link:hover {
    color: #374151;
}

.back-link i {
    font-size: 14px;
}

/* ====================================================
   SUCCESS PAGE STYLES
   ==================================================== */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #92C83E 0%, #447638 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-message h2 {
    font-size: 28px;
    font-weight: 700;
    color: #002B76;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* ====================================================
   LOCKED ACCOUNT STYLES
   ==================================================== */
.locked-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.locked-icon i {
    font-size: 40px;
    color: white;
}

/* ====================================================
   QR CODE STYLES (2FA Setup)
   ==================================================== */
.qr-code-container {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.qr-code-container img {
    max-width: 200px;
    height: auto;
    border: 4px solid white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.manual-code {
    margin-top: 15px;
    padding: 10px;
    background-color: #e5e7eb;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    word-break: break-all;
}

/* ====================================================
   FORM ROW (Two-column layout)
   ==================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* ====================================================
   PASSWORD STRENGTH INDICATOR
   ==================================================== */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background: #dc2626; width: 25%; }
.strength-fair { background: #f59e0b; width: 50%; }
.strength-good { background: #10b981; width: 75%; }
.strength-strong { background: #16a34a; width: 100%; }

.strength-label {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.password-match {
    font-size: 12px;
    margin-top: 4px;
}

/* ====================================================
   SIGNUP CHECKBOX GROUP
   ==================================================== */
.signup-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
}

.signup-checkbox-group input[type="checkbox"] {
    margin-top: 2px;
}

.signup-checkbox-group label {
    color: #0369a1;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 0;
}

.signup-checkbox-group a {
    color: #4a7c23;
    text-decoration: none;
    font-weight: 600;
}

.signup-checkbox-group a:hover {
    text-decoration: underline;
}

/* ====================================================
   LOGIN FOOTER (Sign in link)
   ==================================================== */
.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.login-footer p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.login-footer a {
    color: #4a7c23;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ====================================================
   RESPONSIVE - TABLET
   ==================================================== */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 20px;
    }

    .login-left {
        padding: 30px 20px;
        min-height: 200px;
    }

    .login-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .login-brand h1 {
        font-size: 24px;
    }

    .login-right {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 28px;
    }

    .verification-code-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-container {
        padding: 30px 20px;
    }

    .auth-header h2 {
        font-size: 24px;
    }

    .code-input-group {
        gap: 6px;
    }

    .code-input {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }

    .email-icon {
        width: 80px;
        height: 80px;
    }

    .email-icon i {
        font-size: 36px;
    }
}

/* ====================================================
   RESPONSIVE - MOBILE
   ==================================================== */
@media (max-width: 480px) {
    .login-page {
        padding: 10px;
    }

    .login-container {
        margin: 10px;
    }

    .login-left {
        padding: 20px 15px;
    }

    .login-right {
        padding: 20px 15px;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .verification-code-group {
        gap: 6px;
    }

    .verification-code-input {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }

    .btn-lime,
    .btn-blue {
        padding: 12px 20px;
        font-size: 15px;
    }
}
