/* =====================================================
   LOST ACCOUNT PAGE - MODERN DESIGN
   Design System: Dark theme with cyan/orange accents
   ===================================================== */

/* Container Principal */
.lostaccount-modern {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #e6f8ff;
    animation: fadeInScale 0.4s ease-out;
}

/* Header */
.lostaccount-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1a2332 0%, #0f141a 100%);
    border-radius: 12px;
    border: 1px solid #2a3440;
}

.lostaccount-logo {
    font-size: 48px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.3));
}

.lostaccount-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #ffa500;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.lostaccount-subtitle {
    font-size: 16px;
    color: #a8b3c2;
    margin: 0;
}

/* Info Box */
.lostaccount-info {
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.lostaccount-info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.lostaccount-info-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #a8b3c2;
}

/* Success Message */
.lostaccount-success {
    background: linear-gradient(135deg, #1a2d1a 0%, #0f1a0f 100%);
    border: 2px solid #00ffaa;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 255, 170, 0.15);
    text-align: center;
}

.lostaccount-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.5));
}

.lostaccount-success-title {
    font-size: 24px;
    font-weight: bold;
    color: #00ffaa;
    margin-bottom: 16px;
}

.lostaccount-success-content {
    font-size: 15px;
    line-height: 1.8;
    color: #e6f8ff;
}

.lostaccount-success-content b {
    color: #00ffaa;
}

.lostaccount-success-content small {
    display: block;
    margin-top: 12px;
    color: #7a8591;
    font-size: 13px;
}

/* Error Message */
.lostaccount-error {
    background: linear-gradient(135deg, #2d1a1a 0%, #1a0f0f 100%);
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.15);
    animation: shake 0.5s ease-in-out;
}

.lostaccount-error-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.lostaccount-error-content {
    flex: 1;
}

.lostaccount-error-title {
    font-size: 18px;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 8px;
}

.lostaccount-error-text {
    color: #ffb3b3;
    font-size: 14px;
    line-height: 1.6;
}

/* Warning Message */
.lostaccount-warning {
    background: linear-gradient(135deg, #2d2a1a 0%, #1a180f 100%);
    border: 2px solid #ffaa00;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(255, 170, 0, 0.15);
}

.lostaccount-warning-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.lostaccount-warning-content {
    flex: 1;
}

.lostaccount-warning-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffaa00;
    margin-bottom: 8px;
}

.lostaccount-warning-text {
    color: #ffd699;
    font-size: 14px;
    line-height: 1.6;
}

/* Form Card */
.lostaccount-card {
    background: linear-gradient(135deg, #1a2332 0%, #0f141a 100%);
    border: 1px solid #2a3440;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.lostaccount-card-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffa500;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2a3440;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lostaccount-card-icon {
    font-size: 24px;
}

/* Form Groups */
.form-group-lost {
    margin-bottom: 20px;
}

.form-label-lost {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffa500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-icon-lost {
    font-size: 16px;
}

.form-input-lost,
.form-textarea-lost {
    width: 100%;
    padding: 12px 16px;
    background: #0f141a;
    border: 2px solid #2a3440;
    border-radius: 8px;
    color: #e6f8ff;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input-lost:focus,
.form-textarea-lost:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.form-input-lost::placeholder {
    color: #5a6673;
}

.form-input-lost.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.form-input-lost:read-only {
    background: #1a2332;
    color: #7a8591;
    cursor: not-allowed;
}

.form-hint-lost {
    display: block;
    font-size: 12px;
    color: #7a8591;
    margin-top: 6px;
    font-style: italic;
}

/* Radio Options */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid #2a3440;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.08);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffa500;
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-option-content {
    flex: 1;
}

.radio-option-title {
    font-size: 14px;
    font-weight: 600;
    color: #e6f8ff;
    margin-bottom: 4px;
}

.radio-option-description {
    font-size: 13px;
    color: #a8b3c2;
    line-height: 1.5;
}

/* Credentials Display */
.credentials-display {
    background: rgba(0, 255, 170, 0.05);
    border: 2px solid #00ffaa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.credential-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a3440;
}

.credential-row:last-child {
    border-bottom: none;
}

.credential-label {
    font-size: 14px;
    color: #a8b3c2;
}

.credential-value {
    font-size: 15px;
    font-weight: bold;
    color: #00ffaa;
    font-family: 'Courier New', monospace;
}

/* Actions */
.lostaccount-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-lost-primary,
.btn-lost-secondary,
.btn-lost-success {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
}

.btn-lost-primary {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #0a0e13;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.btn-lost-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.btn-lost-secondary {
    background: #2a3440;
    color: #e6f8ff;
}

.btn-lost-secondary:hover {
    background: #3a4450;
    transform: translateY(-2px);
}

.btn-lost-success {
    background: linear-gradient(135deg, #00ffaa 0%, #00d9a3 100%);
    color: #0a0e13;
    box-shadow: 0 4px 12px rgba(0, 255, 170, 0.3);
}

.btn-lost-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 170, 0.4);
}

.btn-icon-lost {
    font-size: 18px;
}

/* Email Sent Indicator */
.email-sent-box {
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.email-sent-icon {
    font-size: 32px;
}

.email-sent-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #a8b3c2;
}

.email-sent-text strong {
    color: #00aaff;
}

/* Code Link Display */
.code-link-box {
    background: #0f141a;
    border: 2px solid #2a3440;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.code-link-label {
    font-size: 13px;
    color: #a8b3c2;
    margin-bottom: 8px;
}

.code-link-value {
    font-size: 13px;
    color: #00ffaa;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    padding: 8px;
    background: rgba(0, 255, 170, 0.05);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Loading State */
.btn-lost-primary.loading,
.btn-lost-success.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-lost-primary.loading::after,
.btn-lost-success.loading::after {
    content: "⏳";
    position: absolute;
    right: 12px;
    animation: pulse 1s ease-in-out infinite;
}

/* Timer Display */
.timer-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffa500;
    font-weight: bold;
}

.timer-icon {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lostaccount-modern {
        padding: 12px;
    }

    .lostaccount-header {
        padding: 20px 16px;
    }

    .lostaccount-title {
        font-size: 26px;
    }

    .lostaccount-logo {
        font-size: 40px;
    }

    .lostaccount-card {
        padding: 24px 20px;
    }

    .lostaccount-actions {
        flex-direction: column;
    }

    .btn-lost-primary,
    .btn-lost-secondary,
    .btn-lost-success {
        width: 100%;
    }

    .credential-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .radio-option {
        padding: 12px;
    }
}

/* No Email Config Warning */
.no-email-warning {
    background: linear-gradient(135deg, #2d1a1a 0%, #1a0f0f 100%);
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.no-email-warning-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.no-email-warning-title {
    font-size: 24px;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 12px;
}

.no-email-warning-text {
    font-size: 15px;
    color: #ffb3b3;
    line-height: 1.6;
}
