/* static/css/password_reset.css */

/* Основной контейнер */
.password-reset-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Карточка сброса пароля */
.reset-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

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

/* Заголовок карточки */
.reset-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.reset-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.8rem;
}

.reset-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Тело карточки */
.reset-body {
    padding: 40px 30px;
}

/* Поле ввода email */
.reset-body .form-group {
    margin-bottom: 25px;
    position: relative;
}

.reset-body .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.2rem;
    z-index: 1;
}

.reset-body .form-control {
    height: 55px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding-left: 45px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.reset-body .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* Кнопка отправки */
.reset-body .btn-reset {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 55px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.reset-body .btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.reset-body .btn-reset:active {
    transform: translateY(0);
}

.reset-body .btn-reset:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Ссылка возврата к входу */
.back-to-login {
    text-align: center;
    margin-top: 20px;
}

.back-to-login a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-login a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Информационный текст */
.info-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .reset-header {
        padding: 25px 20px;
    }

    .reset-header h3 {
        font-size: 1.5rem;
    }

    .reset-body {
        padding: 25px 20px;
    }

    .reset-body .form-control {
        height: 50px;
        font-size: 16px;
    }

    .reset-body .btn-reset {
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .password-reset-container {
        padding: 10px;
    }

    .reset-header {
        padding: 20px 15px;
    }

    .reset-header h3 {
        font-size: 1.3rem;
    }

    .reset-body {
        padding: 20px 15px;
    }

    .reset-body .form-group {
        margin-bottom: 20px;
    }

    .reset-body .form-group i {
        font-size: 1rem;
        left: 12px;
    }

    .reset-body .form-control {
        height: 48px;
        padding-left: 40px;
        font-size: 15px;
    }

    .reset-body .btn-reset {
        height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 320px) {
    .reset-header h3 {
        font-size: 1.2rem;
    }

    .reset-body {
        padding: 15px 12px;
    }

    .info-text {
        font-size: 0.8rem;
    }
}