/* forgot-password.css — стили для страницы восстановления пароля (tDrops) */
:root {
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    --bg-card: rgba(51, 65, 85, 0.4);
    --bg-glass: rgba(30, 41, 59, 0.7);
    --bg-hover: rgba(71, 85, 105, 0.5);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(148, 163, 184, 0.2);
    --border-glow: rgba(139, 92, 246, 0.3);
    
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-box {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 10px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-icon span {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.auth-logo h1 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-primary);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.required {
    color: var(--error);
}

.form-group input {
    padding: 14px 18px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}

.btn-full {
    width: 100%;
}

/* Messages */
.form-error {
    color: var(--error);
    font-size: 14px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--error);
    display: none;
}

.form-error:not(:empty) {
    display: block;
}

.form-error.success {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
    text-align: center;
}

.form-error.error {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--error);
    text-align: center;
}

.form-success {
    color: var(--success);
    font-size: 14px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--success);
    display: none;
}

.form-success:not(:empty) {
    display: block;
}

.link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-back {
    margin-top: 16px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .auth-box {
        padding: 28px 24px;
    }
    
    .auth-logo h1 {
        font-size: 28px;
    }
    
    .logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .logo-icon span {
        font-size: 24px;
    }
    
    .auth-title {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}