
/* ============================================================
   СТИЛИ ТОЛЬКО ДЛЯ ФОРМЫ ВХОДА (МАКСИМАЛЬНО ОЧИЩЕННЫЕ)
   ============================================================ */

/* Обёртка формы */
.enter-form-wrapper {
    background: var(--bg-secondary, #fff);
    border-radius: var(--radius-modal, 8px);
    box-shadow: var(--shadow, 0 4px 6px rgba(0,0,0,0.1));
    overflow: hidden;
    max-width: 420px;
    margin: 20px auto;
    color: var(--text-primary, #333);
}

/* Заголовок формы */
.enter-header {
    background: var(--header-bg, #f8f9fa);
    color: var(--header-text, #333);
    padding: 25px;
    text-align: center;
}
.enter-header h1 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 5px 0;
}
.enter-header p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Контейнер содержимого формы */
.enter-form-container {
    padding: 30px;
}

/* Группы полей */
.enter-form-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}
.enter-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary, #333);
    font-weight: 500;
    font-size: 14px;
}
.enter-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--form-control-border, #ccc);
    border-radius: var(--radius-input, 4px);
    font-size: 16px;
    background: var(--form-control-bg, #fff);
    color: var(--form-control-tx, #333);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}
.enter-form-group input:focus {
    border-color: #42543E;
    box-shadow: 0 0 0 3px rgba(66, 84, 62, 0.15);
}

/* Переключатель видимости пароля */
.enter-toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    color: var(--text-secondary, #666);
    font-size: 18px;
    user-select: none;
}

/* Кнопка входа (основной цвет #42543E) */
.enter-btn {
    background: #42543E;
    color: #fff;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: var(--radius-button, 4px);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}
.enter-btn:hover {
    background: #566852;
}

/* Информация о безопасности */
.enter-security-info {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #eee);
    font-size: 12px;
    color: var(--text-secondary, #666);
}

/* Исправление автозаполнения для темной/светлой темы */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--form-control-bg, #fff) inset !important;
    -webkit-text-fill-color: var(--form-control-tx, #333) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Адаптивность формы */
@media (max-width: 480px) {
    .enter-form-wrapper {
        margin: 10px;
        border-radius: var(--radius-sm, 4px);
    }
    .enter-form-container {
        padding: 20px;
    }
    .enter-header {
        padding: 20px;
    }
    .enter-form-group input {
        padding: 12px 40px 12px 15px;
    }
}
/* ============================================================
   КОНЕЦ СТИЛЕЙ ФОРМЫ ВХОДА
   ============================================================ */