/**
 * Landing Page Styles
 * Fast-track external traffic landing page
 */

/* Landing page container */
.loan-finder-landing {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 16px;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

/* Logo styling */
.loan-finder-landing img {
    max-height: 40px;
    width: auto;
}

/* Form sections */
.loan-amount-section,
.loan-term-section,
.mobile-phone-section,
.consent-section {
    margin-bottom: 24px;
}

/* Amount and term buttons - reuse existing styles */
.loan-finder-amount-button,
.loan-finder-term-button {
    width: auto;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 999px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.loan-finder-amount-button:hover,
.loan-finder-term-button:hover {
    background-color: #FFF8E1;
    border-color: #F5C84C;
    color: #1B3A5F;    
    transform: translateY(-1px) scale(1.01);
}

.loan-finder-amount-button.active,
.loan-finder-term-button.active {
    background-color: #FFF8E1;
    border-color: #F5C84C;
    color: #1B3A5F;
    box-shadow: 0 0 0 3px rgba(245, 200, 76, 0.25);
}

/* Input styling - match existing form */
.loan-finder-landing input[type="text"],
.loan-finder-landing input[type="tel"] {
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 16px;
    height: 57px;
    transition: all 0.2s ease;
}

.loan-finder-landing input[type="text"]:focus,
.loan-finder-landing input[type="tel"]:focus {
    border-color: #01455240;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

/* Submit button styling */
.loan-finder-submit-button-lp {
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #111827;
    border: 1px solid #EDEDED;
    padding: 16px 28px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    font-size: 16px;
}

.loan-finder-submit-button-lp:hover {
    background: linear-gradient(270deg, #FFD700, #FFA500);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.loan-finder-submit-button-lp:active {
    transform: scale(0.97);
    box-shadow: 0 3px 6px rgba(255, 200, 0, 0.2);
}

.loan-finder-submit-button-lp:disabled {
    background: #F3F4F6;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Consent checkbox styling */
.consent-section label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-section input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.consent-section a {
    color: #3b82f6;
    text-decoration: underline;
}

.consent-section a:hover {
    color: #1d4ed8;
}

/* Error and success messages */
.loan-finder-error,
.loan-finder-success {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
}

.loan-finder-error {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
}

.loan-finder-success {
    background-color: #d1fae5;
    border: 1px solid #34d399;
    color: #065f46;
}

/* Results section */
.results-section {
    margin-top: 32px;
}

/* Loan offer cards - reuse existing styles */
.loan-finder-offer {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.loan-finder-offer:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.loan-finder-offer.best-match {
    border-left: 0.25rem solid #1B3A5F;
    background-color: #1B3A5F;
    color: #fff;
}

.loan-finder-offer.best-match *,
.loan-finder-offer.best-match .detail-label,
.loan-finder-offer.best-match .detail-value,
.loan-finder-offer.best-match h2 {
    color: #fff !important;
}

.loan-finder-offer .best-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #FFD700;
    color: #1B3A5F;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
}

.loan-finder-offer h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B3A5F;
    margin-bottom: 1.5rem;
}

.loan-finder-offer .offer-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 4px;
    column-gap: 16px;
    margin-bottom: 1.5rem;
}

.loan-finder-offer .offer-details .detail-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.loan-finder-offer .offer-details .detail-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.loan-finder-offer .offer-features {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
}

.loan-finder-offer .offer-features .feature {
    display: flex;
    align-items: center;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.loan-finder-offer .offer-features .feature i {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    color: #10b981;
}

.loan-finder-offer .offer-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.15s;
    text-decoration: none;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #ffffff;
}

.loan-finder-offer .offer-cta:hover {
    background: linear-gradient(90deg, #FF7E1B, #FFAE00);
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .loan-finder-landing {
        padding: 16px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Mobile padding for result cards */
    .loan-finder-offer {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .loan-finder-offer .offer-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .loan-finder-offer .offer-details > div:last-child {
        grid-column: span 2;
    }
    
    .loan-finder-amount-button,
    .loan-finder-term-button {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .loan-finder-submit-button {
        font-size: 16px;
        height: 50px;
    }
}

/* New Two-Step Card Styles */
.lp-step-card {
    max-width: 560px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    padding: 32px;
}

.lp-form { margin: 0; }

.lp-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 8px 0;
}

@media (max-width: 640px) {
    .lp-title {
        font-size: 22px;
        line-height: 1.2;
        margin: 0 0 12px 0;
    }
    
    .lp-success-icon {
        font-size: 20px;
        margin-right: 6px;
    }
}

.lp-golden-text {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.lp-success-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 28px;
    animation: lp-bounce 2s ease-in-out infinite;
}

@keyframes lp-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.lp-subtext {
    color: #6B7280;
    font-size: 14px;
    text-align: center;
    margin: 0 0 6px 0;
}

.lp-progress {
    color: #9CA3AF;
    font-size: 12px;
    text-align: center;
    margin: 0 0 20px 0;
}

.lp-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.lp-input-with-prefix {
    display: flex;
    align-items: stretch;
}

.lp-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #6B7280;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-right: 0;
    border-radius: 12px 0 0 12px;
}

.lp-input {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 0 12px 12px 0;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-input:focus {
    border-color: #F5C84C;
    box-shadow: 0 0 0 3px rgba(245,200,76,0.25);
}

.lp-hint { text-align: center; margin: 12px 0; color: #6B7280; font-size: 14px; }

.lp-chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }

.lp-chip { border-radius: 7px; align-items: center; border: 1px solid #E0E0E0; padding: 10px 14px; font-weight: 600; color: #4B5563; background: #fff; transition: transform .2s, background-color .2s, border-color .2s; cursor: pointer; text-align: center; }
.lp-chip:hover { background: #FFF8E1; border-color: #F5C84C; transform: translateY(-1px) scale(1.01); }
.lp-chip.active { background: #FFF8E1; border-color: #F5C84C; box-shadow: 0 0 0 3px rgba(245,200,76,0.25); }

.lp-btn { width: 100%; border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 16px; border: 1px solid #EDEDED; }
.lp-btn-primary { background: linear-gradient(90deg, #FFD700, #FFA500); color: #111827; transition: transform .2s, box-shadow .2s, background .2s; }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.lp-btn[disabled] { background: #F3F4F6; color: #9CA3AF; cursor: not-allowed; box-shadow: none; transform: none; }

.lp-back { 
    background: transparent; 
    border: none; 
    color: #6B7280; 
    font-weight: 500; 
    font-size: 14px;
    margin: 12px 0 8px 0; 
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.lp-back:hover { 
    color: #374151; 
    background-color: #F9FAFB;
    text-decoration: none;
}
.lp-back-icon {
    font-size: 16px;
    font-weight: 600;
}

.lp-consent { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 0px solid #E5E7EB; border-radius: 12px; }
.lp-consent input { width: 18px; height: 18px; accent-color: #F5C84C; margin-top: 3px; }
.lp-consent-text { color: #6B7280; font-size: 12px; }
.lp-consent-text a { color: #374151; text-decoration: underline; }
.lp-consent-text a:hover { color: #111827; }

.lp-consent-message { 
    text-align: center; 
    color: #9CA3AF; 
    font-size: 11px; 
    margin: 8px 0 12px 0; 
    line-height: 1.4;
}
.lp-consent-message a { 
    color: #374151; 
    text-decoration: underline; 
}
.lp-consent-message a:hover { 
    color: #111827; 
}

.lp-fine-print { text-align: center; color: #9CA3AF; font-size: 12px; margin-top: 8px; }

.lp-step { display: none; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.lp-step.lp-active { display: block; opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
    .lp-chip-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-step-card { padding: 32px; }
}

@media (max-width: 640px) {
    .lp-step-card { padding: 20px; border-radius: 16px; }
}

/* Safe area padding for bottom CTA on mobile */
@supports (padding: max(0px)) {
    .lp-step-card { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}

/* Verification Modal Styles */
.verification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.verification-modal {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 440px;
    width: 95%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.verification-header {
    text-align: center;
    margin-bottom: 2rem;
}

.verification-header .dashboard-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-header .dashboard-icon i {
    font-size: 2rem;
    color: #3b82f6;
}

/* Golden icons for OTP login */
.otp-login-form .verification-header .dashboard-icon i {
    color: #FFD700;
}

.otp-login-form .dashboard-icon {
    background: #fff8e1;
}

.otp-login-form .otp-timer i {
    color: #FFD700;
}

.otp-login-form .resend-button {
    color: #FFD700;
}

.otp-login-form .resend-button:hover {
    color: #FFA500;
}

.otp-login-form .back-to-login {
    color: #FFD700;
}

.otp-login-form .back-to-login:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Ensure all icons in OTP login form are golden */
.otp-login-form .fas,
.otp-login-form .fa,
.otp-login-form i {
    color: #FFD700 !important;
}

.otp-login-form .fas:hover,
.otp-login-form .fa:hover,
.otp-login-form i:hover {
    color: #FFA500 !important;
}

.verification-header h2 {
    color: #111827;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.verification-header p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* Enhanced styling for Account Already Exists popup */
.verification-modal:not(.signin-modal) .verification-header h2 {
    color: #1B3A5F;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.verification-modal:not(.signin-modal) .verification-header p {
    color: #4b5563;
    font-size: 1.125rem;
    font-weight: 500;
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.dashboard-form-group label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.dashboard-form-group .dashboard-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #111827;
    background-color: white;
    transition: all 0.2s;
}

.dashboard-form-group .dashboard-input::placeholder {
    color: #9ca3af;
}

.dashboard-form-group .dashboard-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.dashboard-password-field {
    position: relative;
}

.dashboard-password-field .dashboard-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.dashboard-password-field .dashboard-password-toggle:hover {
    color: #374151;
}

.verification-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.verification-button:hover {
    background: #2563eb;
}

.verification-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.verification-option {
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.verification-option:hover {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #ffffff;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.verification-option:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.verification-actions {
    text-align: center;
    margin-bottom: 1rem;
}

.verification-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.verification-message {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Signin Modal Styles */
.signin-modal {
    max-width: 500px;
    width: 95%;
}

.signin-modal .dashboard-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.signin-modal .dashboard-icon i {
    font-size: 3rem;
    color: #FFA500;
}

.signin-modal .dashboard-form-group {
    margin-bottom: 1.5rem;
}

.signin-modal .dashboard-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.signin-modal .dashboard-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.signin-modal .dashboard-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signin-modal .dashboard-password-field {
    position: relative;
}

.signin-modal .dashboard-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

.signin-modal .dashboard-password-toggle:hover {
    color: #374151;
}

.signin-modal .dashboard-form-actions {
    margin-top: 1.5rem;
}

.signin-modal .dashboard-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.signin-modal .dashboard-button-primary {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.signin-modal .dashboard-button-primary:hover {
    background: linear-gradient(90deg, #FF7E1B, #FFAE00);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 126, 27, 0.4);
}

.signin-modal .dashboard-form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.signin-modal .dashboard-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.signin-modal .dashboard-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* OTP Input Styling */
.signin-modal .otp-input-container {
    position: relative;
}

.otp-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input-group input {
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: white;
    transition: all 0.2s;
    appearance: textfield;
    -moz-appearance: textfield;
    padding: 0;
    color: #111827;
}

.otp-input-group input::-webkit-outer-spin-button,
.otp-input-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.otp-input-group input::placeholder {
    color: #d1d5db;
}

/* OTP Input Section */
.otp-input-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.otp-input-section .dashboard-form-group label {
    text-align: center;
    display: block;
    width: 100%;
}

.dashboard-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.separator {
    color: #ccc;
}

.back-to-login {
    color: #666;
    text-decoration: none;
}

.back-to-login:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Sticky Dashboard Button for Mobile - Same as main loan-finder */
.sticky-dashboard-button {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-dashboard-button a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-dashboard-button i {
    font-size: 16px;
}

/* Show sticky button only on mobile when results are visible */
@media (max-width: 640px) {
    .sticky-dashboard-button {
        display: block;
    }
    
    .sticky-dashboard-button.show {
        transform: translateY(0);
    }
}

/* Hide sticky button on desktop */
@media (min-width: 640px) {
    .sticky-dashboard-button {
        display: none !important;
    }
}

/* Mobile Dashboard Button Container - Same as main loan-finder */
@media (max-width: 640px) {
    .mobile-dashboard-button-container {
        display: block;
        padding: 20px;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        margin: 0 -1rem;
    }
    
    .mobile-dashboard-button-container .dashboard-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Hide mobile dashboard button container on desktop */
@media (min-width: 640px) {
    .mobile-dashboard-button-container {
        display: none !important;
    }
}

.otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.otp-timer i {
    font-size: 1rem;
    color: #9ca3af;
}

.resend-button {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.resend-button:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.resend-button:not(:disabled):hover {
    color: #2563eb;
    text-decoration: underline;
}

.otp-help-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin: 1rem 0;
    line-height: 1.5;
}

.otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.otp-timer i {
    font-size: 1rem;
    color: #9ca3af;
}

.resend-button {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.resend-button:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.resend-button:not(:disabled):hover {
    color: #2563eb;
    text-decoration: underline;
}

.signin-modal .separator {
    margin: 0 0.5rem;
    color: #6b7280;
}

/* Loading Spinner */
.verification-loading {
    text-align: center;
    padding: 2rem;
}

.verification-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.verification-loading p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Password success screen */
.password-success-screen {
    text-align: center;
    padding: 40px 20px;
}

.password-success-screen .success-icon {
    margin-bottom: 20px;
}

.password-success-screen .success-icon i {
    font-size: 60px;
    color: #28a745;
    animation: successPulse 0.6s ease-in-out;
}

.password-success-screen h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.password-success-screen p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* OTP Success Screen */
.otp-success-screen {
    text-align: center;
    padding: 40px 20px;
}

.otp-success-screen .success-icon {
    margin-bottom: 20px;
}

.otp-success-screen .success-icon i {
    font-size: 60px;
    color: #28a745;
    animation: successPulse 0.6s ease-in-out;
}

.otp-success-screen h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.otp-success-screen p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Read-only email field styling */
.dashboard-input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #e9ecef;
}

.dashboard-input[readonly]:focus {
    border-color: #e9ecef;
    box-shadow: none;
}

/* OTP verification message */
.otp-verification-message {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin: 1rem 0;
    text-align: center;
}

/* Reduced spacing for OTP form */
.otp-login-form .dashboard-form-group {
    margin-bottom: 0.75rem;
}

.otp-login-form .dashboard-form-actions {
    margin-top: 0.5rem;
}
