@charset "UTF-8";
/* 1. ФОН (без изменений) */
.background {
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    z-index: -10 !important;
    filter: brightness(0.6);
}

/* 2. ОСНОВА (максимальное сжатие) */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow-x: hidden !important;
    height: 100vh; /* Фиксируем высоту */
}


.regframe {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important; /* Центрируем всё по вертикали */
    min-height: 100vh;
    padding: 10px 0;
}

/* 3. ФОРМА (Ужимаем по высоте, расширяем по бокам) */
form {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 1px solid #FFD700 !important; /* ОДНА рамка */
    border-radius: 12px !important;
    padding: 15px 40px !important; /* Меньше сверху/снизу, больше по бокам */
    width: 95% !important;
    max-width: 550px !important;  /* РАСТЯНУЛИ по ширине */
    margin: 5px auto !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}
/* 4. ЗАГОЛОВКИ ПОЛЕЙ (Имя, Фамилия и т.д.) */
form h2 {
    color: #FFD700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0 8px 5px !important;
    text-align: left !important;
    text-shadow: 1px 1px 2px #000;
}

/* 5. ПОЛЯ ВВОДА (colortext) — Исправляем "полоски" */
.colortext {
    width: 100% !important;
    height: 45px !important; /* ЗАДАЕМ ВЫСОТУ */
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid #555 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0 15px !important; /* Внутренние отступы для текста */
    font-size: 16px !important;
    margin-bottom: 5px !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Подсветка поля при нажатии */
.colortext:focus {
    border-color: #FFD700 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* 6. КНОПКА ОТПРАВИТЬ */
input[type="submit"] {
    width: 100% !important;
    height: 55px !important;
    background: linear-gradient(180deg, #FFD700 0%, #b8860b 100%) !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-transform: uppercase;
    border: none !important;
    border-radius: 10px !important;
    margin-top: 30px !important;
    cursor: pointer;
    transition: 0.3s;
}

input[type="submit"]:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* 7. СООБЩЕНИЯ ОБ ОШИБКАХ */
.reg-message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4d4d;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* ============================================================
   КОМПАКТНАЯ ФОРМА (Меньше скролла)
   ============================================================ */
form {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    padding: 15px 25px !important; /* Ужали внутренние отступы */
    width: 95% !important;
    max-width: 420px !important;  /* Сделали чуть уже */
    margin: 10px auto !important; /* Минимум отступа сверху */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

/* Ужимаем подписи и инпуты */
form h2, form b {
    color: #FFD700 !important;
    font-size: 13px !important;
    margin: 5px 0 2px 0 !important; /* Почти нет отступа */
}

.colortext {
    height: 32px !important; /* Максимально тонкие поля */
    font-size: 14px !important;
    margin-bottom: 4px !important;
    border: 1px solid #444 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Кнопка */
input[type="submit"] {
    height: 40px !important;
    margin-top: 10px !important;
    background: linear-gradient(180deg, #808000 0%, #556b2f 100%) !important; /* Оливковая кнопка */
    color: #fff !important;
    border-radius: 8px !important;
}



/* 4. ФУТЕР (Убираем двойную рамку, добавляем тень) */
/* 1. ЛЕВАЯ ЧАСТЬ (Текст: Карта, Город) */
.footer-left, .footer-1, .support-text, .copyright {
    flex: 1.5;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Оливковый акцент на важную инфу */
.support-text strong, .support-text b {
    color: #808000 !important; /* ОЛИВКОВЫЙ */
    font-weight: bold;
}


.site-footer, #footer-inside {
    width: 95% !important;
    max-width: 650px !important; /* Делаем чуть шире формы для баланса */
    margin: 20px auto 40px !important; 
    padding: 15px 25px !important;
    
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(5px);
    
    /* ОДНА золотая рамка */
    border: 1px solid #FFD700 !important;
    border-radius: 12px !important;
    
    /* Глубокая тень для объема */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 
                inset 0 0 10px rgba(128, 128, 0, 0.2) !important;
    
    /* Располагаем элементы в ряд */
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px;
}

.site-footer p, 
.copyright, 
.support-text {
    font-size: 16px !important; /* Сделали покрупнее */
    line-height: 1.5 !important;
}


/* СТИЛЬ ССЫЛОК (убираем фиолетовый) */
.site-footer a {
    color: #FFD700 !important; /* ЗОЛОТОЙ */
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    transition: 0.3s ease;
    white-space: nowrap; /* Чтобы не переносились */
}

.site-footer a:hover {
    color: #808000 !important; /* При наведении оливковый */
    text-shadow: 0 0 8px rgba(128, 128, 0, 0.6);
}

/* Убираем лишние h1/h3, если они раздувают страницу */
.regframe > h1 {
    font-size: 20px !important;
    margin: 5px 0 !important;
}

/* Заголовок: ЦЕНТР + ОЛИВКОВЫЙ ЦВЕТ */
form h1, .regframe > h1 {
    color: #808000 !important; /* ОЛИВКОВЫЙ ЦВЕТ */
    text-align: center !important;
    width: 100% !important;
    font-size: 22px !important;
    margin: 0 0 15px 0 !important;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
}

.support-text, .site-footer a {
    font-size: 12px !important;
    margin: 0 !important;
}


/* 2. ПРАВАЯ ЧАСТЬ (Ссылки: Авторизация, Регистрация) */
.footer-right, .footer-2, .footer-nav {
    flex: 1;
    display: flex !important;
    flex-direction: row !important; /* Ссылки в ряд */
    justify-content: flex-end !important;
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Убираем синие точки и отступы у li */
.footer-link-item, .footer-email {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Почта администрации (тоже оливковая) */
.footer-email {
    color: #808000 !important;   /* Чисто белый цвет */
    font-size: 18px !important;  /* Увеличили размер (был 11px) */
    opacity: 1 !important;       /* Убираем прозрачность */
    font-weight: bold !important;
    list-style: none !important; /* Убираем точку списка */
    margin-top: 10px !important;
    display: block !important;
}

#footer-inside, .footer-right, .footer-left {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Оставляем рамку ТОЛЬКО на основном контейнере */
footer, .site-footer {
    border: 2px solid #FFD700 !important;
    border-radius: 20px !important;
    padding: 20px !important;
}