/* dotascore/static/css/forms.css - СТИЛИ ФОРМ АВТОРИЗАЦИИ/РЕГИСТРАЦИИ */

/* ========================================================= */
/* --- ОБЩИЕ СТИЛИ ПОЛЕЙ ВВОДА --- */
/* ========================================================= */

.form-field-group input[type="text"],
.form-field-group input[type="email"],
.form-field-group input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    background-color: #2a2a2a; 
    color: #ffffff;
    border: 1px solid #4a5460;
    border-radius: 5px;
    box-sizing: border-box; 
    transition: border-color 0.3s ease;
    font-size: 1em;
}

.form-field-group input[type="text"]:focus,
.form-field-group input[type="email"]:focus,
.form-field-group input[type="password"]:focus {
    border-color: #00FFFF; 
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.form-field-group ul {
    list-style: none;
}

/* ========================================================= */
/* --- СТИЛИ ДЛЯ КНОПКИ "ПОКАЗАТЬ ПАРОЛЬ" (ГЛАЗИК) --- */
/* ========================================================= */

/* Контейнер для поля ввода и иконки */
.password-container {
    position: relative; 
    width: 100%;
}

/* Стилизация иконки */
.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px; /* Отступ справа */
    transform: translateY(-50%);
    cursor: pointer; 
    user-select: none; 
    font-size: 1.2em;
    color: #b3b3b3;
    transition: color 0.2s ease;
}

.password-toggle-icon:hover {
    color: #00FFFF; /* Цвет при наведении */
}

/* Увеличиваем padding справа для поля пароля, чтобы иконка не перекрывала текст */
.password-container input[type="password"],
.password-container input[type="text"] {
    /* Используйте !important, чтобы переопределить стили из Style.css, 
       если они не были удалены или слишком специфичны. */
    padding-right: 40px !important; 
}


/* ========================================================= */
/* --- АДАПТИВНОСТЬ ФОРМ (Mobile) --- */
/* ========================================================= */
@media (max-width: 600px) {
    .form-field-group input[type="text"],
    .form-field-group input[type="email"],
    .form-field-group input[type="password"] {
        padding: 10px 10px; 
        border-radius: 3px; 
        font-size: 0.95em; 
        border: 1px solid #7d8b9d; 
        background-color: #1e1e1e;
    }
}