/* ====== СТИЛИ ДЛЯ СТРАНИЦЫ ВОССТАНОВЛЕНИЯ ПАРОЛЯ ====== */

.reset-password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.reset-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.reset-logo {
    margin-bottom: 8px;
}

.reset-logo img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.reset-title {
    color: #121324;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reset-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.reset-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-description {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.reset-button,
.reset-submit {
    width: 100%;
    background: #007cba;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
}

.reset-button:hover,
.reset-submit:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
}

.reset-button:disabled,
.reset-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.back-to-login,
.reset-links {
    text-align: center;
    margin-top: 20px;
}

.back-to-login a,
.reset-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.back-to-login a:hover,
.reset-links a:hover {
    color: #005a87;
    text-decoration: underline;
}

.reset-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.reset-actions .reset-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #667eea;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.reset-actions .reset-link:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

.reset-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.reset-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.reset-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.reset-info ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.reset-info li {
    margin-bottom: 4px;
}

.back-to-home {
    margin-top: 30px;
    text-align: center;
}

.back-to-home a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-home a:hover {
    color: #121324;
}

.password-strength {
    margin-top: 8px;
    font-size: 12px;
}

.password-strength.weak {
    color: #dc2626;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.password-requirements ul {
    margin: 0;
    padding-left: 16px;
}

.password-requirements li {
    margin-bottom: 4px;
}

.password-requirements li.valid {
    color: #10b981;
}

.password-requirements li.invalid {
    color: #dc2626;
}

/* Адаптивность */
@media (max-width: 480px) {
    .reset-password-page {
        padding: 10px;
    }
    
    .reset-container {
        padding: 30px 20px;
    }
    
    .reset-title {
        font-size: 24px;
    }
    
    .reset-subtitle {
        font-size: 14px;
    }
}
