/* Forgot Password - Modern Single Column Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot-container {
    width: 100%;
    max-width: 480px;
}

.forgot-content {
    background: white;
    border-radius: 16px;
    padding: 48px;
    position: relative;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #ff6154;
}

.back-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.forgot-logo {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-logo img {
    height: 48px;
    width: auto;
}

.forgot-header {
    text-align: center;
    margin-bottom: 32px;
}


.forgot-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.forgot-header p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Form Styles */
.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
    background: white;
}

.form-group input:focus {
    border-color: #ff6154;
    box-shadow: 0 0 0 3px rgba(255, 97, 84, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6154 0%, #ff4a3d 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 97, 84, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #ff6154;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.auth-footer a:hover {
    opacity: 0.8;
}

.alert-message,
.success-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.alert-message {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

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

.alert-message.show,
.success-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .forgot-content {
        padding: 32px 24px;
    }

    .back-link {
        margin-bottom: 20px;
    }

    .forgot-logo {
        margin-bottom: 24px;
    }

    .forgot-logo img {
        height: 40px;
    }

    .forgot-header h1 {
        font-size: 24px;
    }

    .forgot-header p {
        font-size: 14px;
    }

    .forgot-form {
        gap: 20px;
    }

    .form-group input {
        padding: 12px 14px;
    }

    .submit-btn {
        padding: 12px 14px;
    }
}
