/* Стили для страницы восстановления пароля */
.reset-password-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

/* Сообщения */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #e6ffe6;
    border-color: #009846;
    color: #009846;
}

.alert-error {
    background: #ffe6e6;
    border-color: #E31E24;
    color: #E31E24;
}

/* Форма */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #009846;
}

.btn {
    width: 100%;
    padding: 14px;
    background: #009846;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Убираем подчеркивание */
    display: inline-block; /* Для ссылок */
    text-align: center;
}

.btn:hover {
    background: #007c38;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 152, 70, 0.3);
    text-decoration: none; /* Убираем подчеркивание при наведении */
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.password-rules {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-link {
    color: #009846;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.form-link:hover {
    color: #007c38;
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* Кнопки-ссылки */
.btn-link {
    display: inline-block;
    text-decoration: none !important;
}

.btn-link:hover {
    text-decoration: none !important;
}

/* Специфичные стили для страницы восстановления пароля */
.reset-password-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    min-height: calc(100vh - 140px);
}

@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.6rem;
    }
    
    .reset-password-main {
        padding: 20px 0;
    }
}