/* =========================================================
   modern.css
   Административная страница регистрации
   Только внешний вид, без изменения PHP и HTML
   ========================================================= */

/* Базовые настройки */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 10px 8px 24px 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    color: #1f2f46;
    text-align: center;
}

/* Единый шрифт для форм, кнопок и таблиц */
table,
th,
td,
button,
input,
select,
a,
div,
span {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

/* =========================================================
   Верхняя часть
   ========================================================= */

/* Убираем подложку под верхней кнопкой */
header {
    max-width: none;
    margin: 14px auto 10px auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.page-title {
    margin: 8px 0 12px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* Центровка блока "ПЕРЕЙТИ К ЗАЯВКАМ" */
#lem,
.mi,
.menter {
    text-align: center;
}

.menter {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Кнопка "ПЕРЕЙТИ К ЗАЯВКАМ" */
.menter a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ff8c42;
    border-radius: 18px;
    background: #ff8c42;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    box-shadow: 0 3px 10px rgba(255, 140, 66, 0.28);
}

.menter a:hover {
    background: #e8742f;
    border-color: #e8742f;
    color: #ffffff;
}

.menter a:active {
    background: #c85f23;
    border-color: #c85f23;
}

/* Верхние кнопки: Добавить / Обновить */
input.btn,
body > input.btn,
input[type="submit"].btn {
    display: inline-block;
    margin: 4px 4px 10px 4px;
    padding: 8px 14px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    opacity: 1;
    vertical-align: middle;
}

input.btn:hover,
body > input.btn:hover,
input[type="submit"].btn:hover {
    background: #0d3682;
    border-color: #0d3682;
    color: #ffffff;
    opacity: 1;
}

input.btn:active,
body > input.btn:active,
input[type="submit"].btn:active {
    background: #092b68;
    border-color: #092b68;
    color: #ffffff;
}

input.btn:focus,
body > input.btn:focus,
input[type="submit"].btn:focus {
    outline: 2px solid rgba(26, 75, 140, 0.25);
    outline-offset: 2px;
}

/* =========================================================
   Фильтр по промежутку
   ========================================================= */

/* Убираем подложку под фильтром */
.rem {
    max-width: none;
    margin: 8px auto 18px auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Таблица фильтра */
table.meter {
    margin: 0 auto;
    border-collapse: collapse;
}

table.meter td {
    padding: 0 6px;
    border: none;
    text-align: center;
    vertical-align: middle;
}

/* Select и кнопка поиска */
select,
input[type="submit"]:not(.btn) {
    height: 32px;
    padding: 5px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.2;
}

input[type="submit"]:not(.btn) {
    cursor: pointer;
    background: #f4f8fc;
}

input[type="submit"]:not(.btn):hover {
    background: #eaf2fa;
    border-color: #a9c5df;
}

/* Кнопка сброса фильтра */

.rem .filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 5px 12px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1a4b8c;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.rem .filter-reset:hover {
    background: #eaf2fa;
    border-color: #a9c5df;
    color: #0d3682;
}

/* =========================================================
   Основная таблица
   ========================================================= */

table.simple {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 22px auto;
    border-collapse: collapse;
    table-layout: fixed !important;
    background: rgba(255,255,255,0.96);
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13,54,130,0.08);
    text-align: left;
}

/* Шапка таблицы */
table.simple th {
    padding: 7px 6px;
    background: #1a4b8c;
    border: 1px solid #d8e4f1;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.15;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
}

/* Ячейки */
table.simple td {
    padding: 6px 7px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 12px;
    line-height: 1.15;
    vertical-align: middle;
    text-align: left;
    overflow-wrap: break-word;
}

/* Наведение на строку */
table.simple tr:hover td {
    background: #f8fbff;
}

/* Зеленые строки из PHP */
table.simple tr[style*="background: #ADFF2F"] td,
table.simple tr[style*="background:#ADFF2F"] td {
    background: #eef9ef !important;
}

/* =========================================================
   Ширина колонок
   Важно: шапка двухстрочная, поэтому задаем отдельно
   первую строку шапки и ячейки таблицы
   ========================================================= */

/* Первая строка шапки */
table.simple tr:first-child th:nth-child(1) {
    width: 6% !important;      /* Срок проведения */
}

table.simple tr:first-child th:nth-child(2) {
    width: 4% !important;      /* Код темы */
}

table.simple tr:first-child th:nth-child(3) {
    width: 32% !important;     /* Тема */
}

table.simple tr:first-child th:nth-child(4) {
    width: 8% !important;      /* Подтема */
}

table.simple tr:first-child th:nth-child(5) {
    width: 12% !important;     /* Количество заявок: всего / подано / в резерве */
}

table.simple tr:first-child th:nth-child(6) {
    width: 10% !important;     /* Регистрация завершена */
}

table.simple tr:first-child th:nth-child(7) {
    width: 7% !important;      /* Есть ограничения */
}

table.simple tr:first-child th:nth-child(8) {
    width: 21% !important;     /* Управление: две колонки */
}

/* Вторая строка шапки: всего / подано / в резерве */
table.simple tr:nth-child(2) th {
    width: 4% !important;
}

/* Ячейки тела таблицы */
table.simple td:nth-child(1) {
    width: 6% !important;
    text-align: center;
}

table.simple td:nth-child(2) {
    width: 4% !important;
    background: #eef4fb;
    color: #0d3682;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

table.simple td:nth-child(3) {
    width: 32% !important;
    color: #12385f;
    font-size: 12.5px;
    font-weight: bold;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

table.simple td:nth-child(4) {
    width: 8% !important;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

table.simple td:nth-child(5),
table.simple td:nth-child(6),
table.simple td:nth-child(7) {
    width: 4% !important;
    min-width: 0 !important;
    max-width: 60px !important;
    text-align: center;
    font-weight: bold;
    white-space: normal;
}

table.simple td:nth-child(8) {
    width: 10% !important;
    text-align: center;
    white-space: normal;
}

table.simple td:nth-child(9) {
    width: 7% !important;
    text-align: center;
    white-space: normal;
}

table.simple td:nth-child(10),
table.simple td:nth-child(11) {
    width: 10.5% !important;
    text-align: center;
    white-space: normal;
}

/* =========================================================
   Кнопки внутри таблицы
   ========================================================= */

button {
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #c7d8ea;
    border-radius: 8px;
    background: #f4f8fc;
    color: #0d3682;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.15;
    cursor: pointer;
    white-space: nowrap;
}

button:hover {
    background: #eaf2fa;
    border-color: #a9c5df;
}

/* Открыть / закрыть регистрацию, добавить подтему */
button[id^="theme"],
button[id^="subtheme"] {
    background: #f2f7fd;
    border-color: #c7d8ea;
    color: #1a4b8c;
}

button[id^="theme"]:hover,
button[id^="subtheme"]:hover {
    background: #e6f0fb;
    border-color: #a9c5df;
}

/* Удалить */
button[id^="del_theme"] {
    background: #fff3f4;
    border-color: #f1c4cb;
    color: #c53b51;
}

button[id^="del_theme"]:hover {
    background: #ffe9ec;
    border-color: #e8a9b4;
}

/* Просмотреть */
button[id^="view_theme"],
button[id^="view_subtheme"] {
    background: #effaf4;
    border-color: #bfe8cc;
    color: #177d4f;
}

button[id^="view_theme"]:hover,
button[id^="view_subtheme"]:hover {
    background: #e5f7ec;
    border-color: #a4dcb8;
}

/* Редактировать */
button[id^="edit_theme"],
button[id^="edit_subtheme"] {
    background: #fff7ee;
    border-color: #f2cfad;
    color: #c66b12;
}

button[id^="edit_theme"]:hover,
button[id^="edit_subtheme"]:hover {
    background: #fff1df;
    border-color: #e9bc90;
}

/* Уменьшаем лишние вертикальные промежутки от <br><br> */
br + br {
    line-height: 0.6;
}

/* =========================================================
   Мобильная адаптация
   ========================================================= */

@media (max-width: 900px) {

    body {
        padding: 8px 6px 18px 6px;
        font-size: 12px;
        overflow-x: auto;
    }

    header {
        margin: 8px auto 8px auto;
    }

    .menter a {
        padding: 8px 14px;
        border-radius: 16px;
        font-size: 12px;
    }

    body > input.btn {
        width: auto;
        max-width: 100%;
        margin: 4px 3px;
        padding: 8px 10px;
        font-size: 12px;
        white-space: normal;
    }

    .rem {
        margin: 8px auto 10px auto;
    }

    table.meter {
        width: auto;
        margin: 0 auto;
    }

    table.meter td {
        display: block;
        padding: 3px 0;
        text-align: center;
    }

    select,
    input[type="submit"]:not(.btn) {
        width: 100%;
        max-width: 260px;
        height: 32px;
        font-size: 12px;
    }

    table.simple {
        min-width: 1050px;
        margin: 8px auto 18px auto;
        font-size: 11px;
    }

    table.simple th {
        padding: 6px 4px;
        font-size: 10.5px;
        line-height: 1.15;
    }

    table.simple td {
        padding: 5px 4px;
        font-size: 10.5px;
        line-height: 1.15;
    }

    table.simple td:nth-child(3) {
        font-size: 11px;
    }

    button {
        max-width: 110px;
        padding: 5px 7px;
        font-size: 10.5px;
        line-height: 1.1;
        white-space: normal;
    }
}

@media (max-width: 480px) {

    body {
        padding-left: 4px;
        padding-right: 4px;
    }

    .menter a {
        padding: 7px 12px;
        font-size: 11.5px;
    }

    body > input.btn {
        display: block;
        width: 100%;
        max-width: 260px;
        margin: 5px auto;
    }

    select,
    input[type="submit"]:not(.btn) {
        max-width: 240px;
    }

    table.simple {
        min-width: 1000px;
    }

    table.simple th,
    table.simple td {
        padding: 5px 3px;
        font-size: 10px;
    }

    table.simple td:nth-child(3) {
        font-size: 10.5px;
    }

    button {
        max-width: 100px;
        padding: 5px 6px;
        font-size: 10px;
    }
}


/* =========================================================
   index_metodist.php
   Страница списка заявок для методистов
   ========================================================= */

/* Общая страница */
html body.page-metodist {
    padding: 10px 6px 24px 6px !important;
    background: #ffffff !important;
    text-align: center;
}

/* Заголовок */
html body.page-metodist h1 {
    margin: 8px 0 12px 0 !important;
    color: #1a4b8c !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: center !important;
}

/* Верх без подложек */
html body.page-metodist header {
    margin: 10px auto 12px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =========================================================
   Фильтры
   ========================================================= */

html body.page-metodist .rem {
    margin: 0 auto 12px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-metodist table.meter {
    margin: 0 auto !important;
    border-collapse: separate !important;
    border-spacing: 8px 0 !important;
}

html body.page-metodist table.meter td {
    padding: 0 !important;
    border: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Общий вид элементов фильтра */
html body.page-metodist table.meter select,
html body.page-metodist table.meter input[type="submit"],
html body.page-metodist table.meter .filter-reset {
    height: 34px !important;
    min-width: 0;
    padding: 7px 13px !important;
    border-radius: 8px !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

/* Выпадающие списки */
html body.page-metodist table.meter select {
    min-width: 210px;
    border: 1px solid #bfd2e6 !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-weight: normal !important;
}

/* Кнопка "Поиск" */
html body.page-metodist table.meter td:nth-child(3) input[type="submit"] {
    border: 1px solid #1a4b8c !important;
    background: #1a4b8c !important;
    color: #ffffff !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

html body.page-metodist table.meter td:nth-child(3) input[type="submit"]:hover {
    background: #0d3682 !important;
    border-color: #0d3682 !important;
}

/* Кнопка "Сбросить" */
html body.page-metodist table.meter .filter-reset {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #bfd2e6 !important;
    background: #ffffff !important;
    color: #1a4b8c !important;
    font-weight: bold !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

html body.page-metodist table.meter .filter-reset:hover {
    background: #eaf2fa !important;
    border-color: #a9c5df !important;
}

/* Кнопка "Экспортировать" */
html body.page-metodist table.meter td:last-child input[type="submit"] {
    border: 1px solid #177d4f !important;
    background: #177d4f !important;
    color: #ffffff !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

html body.page-metodist table.meter td:last-child input[type="submit"]:hover {
    background: #0f6b42 !important;
    border-color: #0f6b42 !important;
}

/* Количество заявок */
html body.page-metodist .main > div[align="center"] {
    display: block !important;
    margin: 4px auto 8px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a4b8c !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

/* =========================================================
   Таблица заявок
   Важно: первая колонка id скрытая
   ========================================================= */

html body.page-metodist table.simple {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px auto 22px auto !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid #d8e4f1 !important;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08) !important;
}

/* Скрытый id */
html body.page-metodist table.simple th:nth-child(1),
html body.page-metodist table.simple td:nth-child(1) {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Шапка таблицы */
html body.page-metodist table.simple th {
    padding: 7px 6px !important;
    background: #1a4b8c !important;
    color: #ffffff !important;
    border: 1px solid #d8e4f1 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1.15 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Ячейки */
html body.page-metodist table.simple td {
    padding: 6px 6px !important;
    border: 1px solid #e3edf7 !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-size: 11.5px !important;
    font-weight: normal !important;
    line-height: 1.18 !important;
    vertical-align: middle !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Наведение */
html body.page-metodist table.simple tr:hover td {
    background: #f8fbff !important;
}

/* Резервные заявки */
html body.page-metodist table.simple tr[style*="background: #FFA07A"] td,
html body.page-metodist table.simple tr[style*="background:#FFA07A"] td {
    background: #fff4ed !important;
}

/* =========================================================
   Ширины колонок
   Сумма видимых колонок = 100%
   nth-child учитывает скрытый id
   ========================================================= */

/* 2. Срок проведения */
html body.page-metodist table.simple th:nth-child(2),
html body.page-metodist table.simple td:nth-child(2) {
    width: 5% !important;
}

/* 3. Код мероприятия */
html body.page-metodist table.simple th:nth-child(3),
html body.page-metodist table.simple td:nth-child(3) {
    width: 6% !important;
}

/* 4. Тема */
html body.page-metodist table.simple th:nth-child(4),
html body.page-metodist table.simple td:nth-child(4) {
    width: 17% !important;
}

/* 5. Подтема */
html body.page-metodist table.simple th:nth-child(5),
html body.page-metodist table.simple td:nth-child(5) {
    width: 10% !important;
}

/* 6. Фамилия, имя, отчество */
html body.page-metodist table.simple th:nth-child(6),
html body.page-metodist table.simple td:nth-child(6) {
    width: 10% !important;
}

/* 7. Регион */
html body.page-metodist table.simple th:nth-child(7),
html body.page-metodist table.simple td:nth-child(7) {
    width: 8% !important;
}

/* 8. Район */
html body.page-metodist table.simple th:nth-child(8),
html body.page-metodist table.simple td:nth-child(8) {
    width: 8% !important;
}

/* 9. Контактная информация */
html body.page-metodist table.simple th:nth-child(9),
html body.page-metodist table.simple td:nth-child(9) {
    width: 13% !important;
}

/* 10. Домашний адрес */
html body.page-metodist table.simple th:nth-child(10),
html body.page-metodist table.simple td:nth-child(10) {
    width: 17% !important;
}

/* 11. В резерве */
html body.page-metodist table.simple th:nth-child(11),
html body.page-metodist table.simple td:nth-child(11) {
    width: 6% !important;
}

/* =========================================================
   Выравнивание и акценты по колонкам
   ========================================================= */

/* Срок проведения - по центру, не жирный */
html body.page-metodist table.simple td:nth-child(2) {
    color: #0d3682 !important;
    font-weight: normal !important;
    text-align: center !important;
}

/* Код мероприятия - по центру, с легкой подложкой */
html body.page-metodist table.simple td:nth-child(3) {
    background: #eef4fb !important;
    color: #0d3682 !important;
    font-weight: bold !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Тема и подтема */
html body.page-metodist table.simple td:nth-child(4),
html body.page-metodist table.simple td:nth-child(5) {
    color: #12385f !important;
    text-align: left !important;
}

/* ФИО */
html body.page-metodist table.simple td:nth-child(6) {
    font-weight: bold !important;
    text-align: left !important;
}

/* Регион */
html body.page-metodist table.simple td:nth-child(7) {
    font-weight: bold !important;
    text-align: left !important;
}

/* Район, контакты, адрес */
html body.page-metodist table.simple td:nth-child(8),
html body.page-metodist table.simple td:nth-child(9),
html body.page-metodist table.simple td:nth-child(10) {
    text-align: left !important;
}

/* Контакты могут быть длинными */
html body.page-metodist table.simple td:nth-child(9) {
    overflow-wrap: anywhere !important;
}

/* В резерве - по центру */
html body.page-metodist table.simple td:nth-child(11) {
    text-align: center !important;
    white-space: nowrap !important;
}

/* Заголовок "В резерве" не переносим по буквам */
html body.page-metodist table.simple th:nth-child(11) {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

/* Ссылки */
html body.page-metodist table.simple a {
    color: #0d3682 !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-underline-offset: 3px !important;
}

/* Меньше лишней высоты */
html body.page-metodist table.simple br + br {
    line-height: 0.4 !important;
}

/* =========================================================
   Адаптация
   ========================================================= */

@media (max-width: 1100px) {
    html body.page-metodist {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    html body.page-metodist table.simple th,
    html body.page-metodist table.simple td {
        padding: 5px 4px !important;
        font-size: 10.5px !important;
    }
}

@media (max-width: 800px) {
    html body.page-metodist table.simple th,
    html body.page-metodist table.simple td {
        padding: 4px 3px !important;
        font-size: 10px !important;
    }
}

/* Мобильная адаптация фильтра */
@media (max-width: 700px) {
    html body.page-metodist table.meter,
    html body.page-metodist table.meter tr,
    html body.page-metodist table.meter td {
        display: block !important;
        width: 100% !important;
    }

    html body.page-metodist table.meter {
        border-spacing: 0 !important;
    }

    html body.page-metodist table.meter td {
        margin: 0 0 7px 0 !important;
    }

    html body.page-metodist table.meter select,
    html body.page-metodist table.meter input[type="submit"],
    html body.page-metodist table.meter .filter-reset {
        width: 100% !important;
        max-width: 280px !important;
    }
}


/* =========================================================
   index_prev.php
   Переходная страница со списком мероприятий
   ========================================================= */

html body.page-prev {
    margin: 0;
    padding: 18px 8px 28px 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
}

html body.page-prev .prev-page-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

html body.page-prev h1 {
    margin: 0 0 15px 0;
    color: #1a4b8c;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

html body.page-prev .prev-page-note {
    margin: 0 auto 16px auto;
    color: #516174;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

html body.page-prev .prev-events-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

html body.page-prev .prev-events-table th {
    padding: 9px 8px;
    background: #1a4b8c;
    color: #ffffff;
    border: 1px solid #d8e4f1;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

html body.page-prev .prev-events-table td {
    padding: 8px 9px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.25;
    vertical-align: middle;
}

html body.page-prev .prev-events-table tr:hover td {
    background: #f8fbff;
}

html body.page-prev .prev-events-table th:nth-child(1),
html body.page-prev .prev-events-table td:nth-child(1) {
    width: 16%;
}

html body.page-prev .prev-events-table th:nth-child(2),
html body.page-prev .prev-events-table td:nth-child(2) {
    width: 64%;
}

html body.page-prev .prev-events-table th:nth-child(3),
html body.page-prev .prev-events-table td:nth-child(3) {
    width: 20%;
}

html body.page-prev .event-code {
    background: #eef4fb !important;
    color: #0d3682 !important;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

html body.page-prev .event-title {
    color: #12385f;
    font-weight: bold;
    text-align: left;
    overflow-wrap: break-word;
}

html body.page-prev .event-link {
    text-align: center;
}

html body.page-prev .copy-link-btn {
    min-height: 32px;
    padding: 7px 13px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

html body.page-prev .copy-link-btn:hover {
    background: #0d3682;
    border-color: #0d3682;
}

html body.page-prev .copy-link-btn.copied {
    background: #177d4f;
    border-color: #177d4f;
}

html body.page-prev .empty-list {
    padding: 18px 10px;
    color: #516174;
    text-align: center;
    font-weight: bold;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-prev {
        padding: 12px 6px 22px 6px;
    }

    html body.page-prev h1 {
        font-size: 22px;
    }

    html body.page-prev .prev-events-table {
        table-layout: auto;
    }

    html body.page-prev .prev-events-table th,
    html body.page-prev .prev-events-table td {
        padding: 7px 6px;
        font-size: 12px;
    }

    html body.page-prev .prev-events-table th:nth-child(1),
    html body.page-prev .prev-events-table td:nth-child(1) {
        width: 18%;
    }

    html body.page-prev .prev-events-table th:nth-child(2),
    html body.page-prev .prev-events-table td:nth-child(2) {
        width: 54%;
    }

    html body.page-prev .prev-events-table th:nth-child(3),
    html body.page-prev .prev-events-table td:nth-child(3) {
        width: 28%;
    }

    html body.page-prev .copy-link-btn {
        padding: 6px 9px;
        font-size: 11.5px;
        white-space: normal;
    }
}


/* =========================================================
   index_admm.php
   Административный список заявок
   ========================================================= */

/* Общая страница */
html body.page-admm {
    padding: 10px 6px 24px 6px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    text-align: center;
}

/* Заголовок */
html body.page-admm h1 {
    margin: 8px 0 12px 0 !important;
    color: #1a4b8c !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: center !important;
}

/* Верх без подложек */
html body.page-admm header,
html body.page-admm ~ header,
html header:has(+ body.page-admm) {
    margin: 10px auto 12px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Кнопка "ПЕРЕЙТИ К МЕРОПРИЯТИЯМ" */
html body.page-admm .menter a,
html header:has(+ body.page-admm) .menter a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ff8c42;
    border-radius: 18px;
    background: #ff8c42;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    box-shadow: 0 3px 10px rgba(255, 140, 66, 0.28);
}

html body.page-admm .menter a:hover,
html header:has(+ body.page-admm) .menter a:hover {
    background: #e8742f;
    border-color: #e8742f;
}

/* Кнопка "Обновить список" */
html body.page-admm input.btn {
    display: inline-block;
    margin: 4px 4px 10px 4px;
    padding: 8px 14px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-admm input.btn:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* =========================================================
   Фильтры
   ========================================================= */

html body.page-admm .rem {
    margin: 0 auto 12px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-admm table.meter {
    margin: 0 auto !important;
    border-collapse: separate !important;
    border-spacing: 8px 0 !important;
}

html body.page-admm table.meter td {
    padding: 0 !important;
    border: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Общий вид элементов фильтра */
html body.page-admm table.meter select,
html body.page-admm table.meter input[type="submit"],
html body.page-admm table.meter .filter-reset {
    height: 34px !important;
    min-width: 0;
    padding: 7px 13px !important;
    border-radius: 8px !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

/* Выпадающие списки */
html body.page-admm table.meter select {
    min-width: 210px;
    border: 1px solid #bfd2e6 !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-weight: normal !important;
}

/* Поиск */
html body.page-admm table.meter td:nth-child(3) input[type="submit"] {
    border: 1px solid #1a4b8c !important;
    background: #1a4b8c !important;
    color: #ffffff !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

html body.page-admm table.meter td:nth-child(3) input[type="submit"]:hover {
    background: #0d3682 !important;
    border-color: #0d3682 !important;
}

/* Сбросить */
html body.page-admm table.meter .filter-reset {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #bfd2e6 !important;
    background: #ffffff !important;
    color: #1a4b8c !important;
    font-weight: bold !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

html body.page-admm table.meter .filter-reset:hover {
    background: #eaf2fa !important;
    border-color: #a9c5df !important;
}

/* Экспорт */
html body.page-admm table.meter td:last-child input[type="submit"] {
    border: 1px solid #177d4f !important;
    background: #177d4f !important;
    color: #ffffff !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

html body.page-admm table.meter td:last-child input[type="submit"]:hover {
    background: #0f6b42 !important;
    border-color: #0f6b42 !important;
}

/* Количество заявок */
html body.page-admm .main > div[align="center"] {
    display: block !important;
    margin: 4px auto 8px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a4b8c !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

/* =========================================================
   Таблица заявок
   Первая колонка id скрытая
   ========================================================= */

html body.page-admm table.simple {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px auto 22px auto !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid #d8e4f1 !important;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08) !important;
}

/* Скрытый id */
html body.page-admm table.simple th:nth-child(1),
html body.page-admm table.simple td:nth-child(1) {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Шапка */
html body.page-admm table.simple th {
    padding: 7px 6px !important;
    background: #1a4b8c !important;
    color: #ffffff !important;
    border: 1px solid #d8e4f1 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1.15 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Ячейки */
html body.page-admm table.simple td {
    padding: 6px 6px !important;
    border: 1px solid #e3edf7 !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-size: 11.5px !important;
    font-weight: normal !important;
    line-height: 1.18 !important;
    vertical-align: middle !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Наведение */
html body.page-admm table.simple tr:hover td {
    background: #f8fbff !important;
}

/* Резервные заявки */
html body.page-admm table.simple tr[style*="background: #FFA07A"] td,
html body.page-admm table.simple tr[style*="background:#FFA07A"] td {
    background: #fff4ed !important;
}

/* =========================================================
   Ширины колонок
   Сумма видимых колонок = 100%
   nth-child учитывает скрытый id
   ========================================================= */

/* 2. Срок проведения */
html body.page-admm table.simple th:nth-child(2),
html body.page-admm table.simple td:nth-child(2) {
    width: 5% !important;
}

/* 3. Код мероприятия */
html body.page-admm table.simple th:nth-child(3),
html body.page-admm table.simple td:nth-child(3) {
    width: 6% !important;
}

/* 4. Тема */
html body.page-admm table.simple th:nth-child(4),
html body.page-admm table.simple td:nth-child(4) {
    width: 14% !important;
}

/* 5. Подтема */
html body.page-admm table.simple th:nth-child(5),
html body.page-admm table.simple td:nth-child(5) {
    width: 8% !important;
}

/* 6. Фамилия, имя, отчество */
html body.page-admm table.simple th:nth-child(6),
html body.page-admm table.simple td:nth-child(6) {
    width: 9% !important;
}

/* 7. Регион */
html body.page-admm table.simple th:nth-child(7),
html body.page-admm table.simple td:nth-child(7) {
    width: 10% !important;
}

/* 8. Район */
html body.page-admm table.simple th:nth-child(8),
html body.page-admm table.simple td:nth-child(8) {
    width: 7% !important;
}

/* 9. Контактная информация */
html body.page-admm table.simple th:nth-child(9),
html body.page-admm table.simple td:nth-child(9) {
    width: 12% !important;
}

/* 10. Домашний адрес */
html body.page-admm table.simple th:nth-child(10),
html body.page-admm table.simple td:nth-child(10) {
    width: 16% !important;
}

/* 11. В резерве */
html body.page-admm table.simple th:nth-child(11),
html body.page-admm table.simple td:nth-child(11) {
    width: 5% !important;
}

/* 12. Управление */
html body.page-admm table.simple th:nth-child(12),
html body.page-admm table.simple td:nth-child(12) {
    width: 8% !important;
    min-width: 112px !important;
    text-align: center !important;
}

/* Кнопки в колонке управления - фиксированная аккуратная ширина */
html body.page-admm table.simple td:nth-child(12) button {
    width: 104px !important;
    max-width: 104px !important;
}

/* =========================================================
   Выравнивания и акценты
   ========================================================= */

/* Срок проведения */
html body.page-admm table.simple td:nth-child(2) {
    color: #0d3682 !important;
    font-weight: normal !important;
    text-align: center !important;
}

/* Код мероприятия */
html body.page-admm table.simple td:nth-child(3) {
    background: #eef4fb !important;
    color: #0d3682 !important;
    font-weight: bold !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Тема и подтема */
html body.page-admm table.simple td:nth-child(4),
html body.page-admm table.simple td:nth-child(5) {
    color: #12385f !important;
    text-align: left !important;
}

/* ФИО */
html body.page-admm table.simple td:nth-child(6) {
    font-weight: bold !important;
    text-align: left !important;
}

/* Регион */
html body.page-admm table.simple td:nth-child(7) {
    font-weight: bold !important;
    text-align: left !important;
}

/* Остальные текстовые */
html body.page-admm table.simple td:nth-child(8),
html body.page-admm table.simple td:nth-child(9),
html body.page-admm table.simple td:nth-child(10) {
    text-align: left !important;
}

/* Контакты */
html body.page-admm table.simple td:nth-child(9) {
    overflow-wrap: anywhere !important;
}

/* В резерве */
html body.page-admm table.simple td:nth-child(11) {
    text-align: center !important;
    white-space: nowrap !important;
}

/* Управление */
html body.page-admm table.simple td:nth-child(12) {
    text-align: center !important;
}

/* Ссылки */
html body.page-admm table.simple a {
    color: #0d3682 !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-underline-offset: 3px !important;
}

/* =========================================================
   Кнопки управления в таблице
   ========================================================= */

html body.page-admm table.simple button {
    width: 100%;
    max-width: 105px;
    min-height: 27px;
    padding: 5px 8px;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: bold;
    line-height: 1.1;
    cursor: pointer;
    white-space: normal;
}

/* Посмотреть */
html body.page-admm table.simple button[alt="view"] {
    border: 1px solid #bfe8cc;
    background: #effaf4;
    color: #177d4f;
}

html body.page-admm table.simple button[alt="view"]:hover {
    background: #e5f7ec;
    border-color: #a4dcb8;
}

/* Изменить */
html body.page-admm table.simple button[alt="edit"] {
    border: 1px solid #f2cfad;
    background: #fff7ee;
    color: #c66b12;
}

html body.page-admm table.simple button[alt="edit"]:hover {
    background: #fff1df;
    border-color: #e9bc90;
}

/* Удалить */
html body.page-admm table.simple button[alt="del"] {
    border: 1px solid #f1c4cb;
    background: #fff3f4;
    color: #c53b51;
}

html body.page-admm table.simple button[alt="del"]:hover {
    background: #ffe9ec;
    border-color: #e8a9b4;
}

/* Меньше лишней высоты */
html body.page-admm table.simple br + br {
    line-height: 0.4 !important;
}

/* =========================================================
   Адаптация
   ========================================================= */

@media (max-width: 1200px) {
    html body.page-admm table.simple th,
    html body.page-admm table.simple td {
        padding: 5px 4px !important;
        font-size: 10.5px !important;
    }

    html body.page-admm table.simple button {
        max-width: 95px;
        font-size: 10.5px;
        padding: 5px 6px;
    }
}

@media (max-width: 900px) {
    html body.page-admm {
        overflow-x: auto;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    html body.page-admm table.simple {
        min-width: 1250px !important;
    }
}

/* Мобильная адаптация фильтра */
@media (max-width: 700px) {
    html body.page-admm table.meter,
    html body.page-admm table.meter tr,
    html body.page-admm table.meter td {
        display: block !important;
        width: 100% !important;
    }

    html body.page-admm table.meter {
        border-spacing: 0 !important;
    }

    html body.page-admm table.meter td {
        margin: 0 0 7px 0 !important;
    }

    html body.page-admm table.meter select,
    html body.page-admm table.meter input[type="submit"],
    html body.page-admm table.meter .filter-reset {
        width: 100% !important;
        max-width: 280px !important;
    }
}


/* =========================================================
   index.php
   Форма регистрации слушателя
   ========================================================= */

html body.page-registration {
    margin: 0 !important;
    padding: 22px 10px 32px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

/* Верх с логотипом */
html body.page-registration .registration-head {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 18px auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

html body.page-registration .registration-head-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

html body.page-registration .registration-logo {
    width: 92px;
    height: auto;
    display: block;
}

html body.page-registration .registration-brand {
    color: #0d5cab;
    font-size: 44px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Общие секции без подложек */
html body.page-registration section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 14px auto;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Блок мероприятия - без подложки */
html body.page-registration #theme {
    padding: 0 0 10px 0;
}

/* Код мероприятия */
html body.page-registration .event-code {
    display: block;
    margin: 4px auto 12px auto !important;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #1a4b8c !important;
    font-size: 30px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    letter-spacing: 0.4px;
    text-align: center;
}

/* Название */
html body.page-registration .event-title {
    margin: 0;
    color: #ff8c42;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Даты */
html body.page-registration .event-dates {
    display: block;
    margin: 14px auto 4px auto !important;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #1a4b8c !important;
    font-size: 30px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    text-align: center;
}

/* Описание мероприятия */
html body.page-registration .event-description {
    max-width: 820px;
    margin: 8px auto 0 auto;
    color: #1a4b8c !important;
    font-size: 15px !important;
    font-style: italic !important;
    font-weight: normal !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

/* Если внутри описания есть абзацы */
html body.page-registration .event-description p {
    margin: 0 0 8px 0 !important;
    color: #1a4b8c !important;
    font-size: 15px !important;
    font-style: italic !important;
    font-weight: normal !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

/* Сообщение о завершении регистрации */
html body.page-registration #theme h2 {
    margin: 16px 0 0 0;
    color: #c53b51;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

/* Кнопки выбора */
html body.page-registration .subtheme,
html body.page-registration #res_reg,
html body.page-registration .region,
html body.page-registration .district {
    min-height: 36px;
    margin: 6px;
    padding: 8px 16px;
    border: 1px solid #1a4b8c;
    border-radius: 9px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

html body.page-registration .subtheme:hover,
html body.page-registration #res_reg:hover,
html body.page-registration .region:hover,
html body.page-registration .district:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Выбранная кнопка */
html body.page-registration .subtheme.selected,
html body.page-registration .region.selected,
html body.page-registration .district.selected {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #1a4b8c !important;
    box-shadow: inset 0 0 0 1px #1a4b8c;
}

/* Disabled */
html body.page-registration .subtheme:disabled,
html body.page-registration .region:disabled,
html body.page-registration .district:disabled {
    background: #eef3f9 !important;
    border-color: #c7d8ea !important;
    color: #8a96a5 !important;
    cursor: not-allowed;
}

/* Резерв */
html body.page-registration #reserv {
    margin: 10px 0 0 0;
}

html body.page-registration #res_reg {
    background: #ff8c42;
    border-color: #ff8c42;
}

html body.page-registration #res_reg:hover {
    background: #e8742f;
    border-color: #e8742f;
}

/* Блоки выбора регионов/районов */
html body.page-registration #regions,
html body.page-registration #districts {
    min-height: 0;
}

/* Форма */
html body.page-registration #registration {
    max-width: 760px;
    margin: 18px auto 0 auto;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-registration #registration h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

/* Инструкция */
html body.page-registration #registration form > div {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #1f2f46;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Метки */
html body.page-registration label {
    display: block;
    margin: 10px 0 5px 0;
    color: #12385f;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

/* Поля */
html body.page-registration input.registration_form {
    width: 100% !important;
    height: 38px;
    padding: 7px 10px;
    border: 1px solid #bfd2e6 !important;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px !important;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
}

html body.page-registration input.registration_form:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18);
    outline-offset: 1px;
    border-color: #1a4b8c !important;
}

/* Ошибки */
html body.page-registration span {
    color: #c53b51;
    font-weight: bold;
}

html body.page-registration #valid_sur,
html body.page-registration #valid_nm,
html body.page-registration #valid_sec,
html body.page-registration #valid_edu,
html body.page-registration #valid_tel_gor,
html body.page-registration #valid_tel_mob,
html body.page-registration #valid_em {
    display: block;
    min-height: 16px;
    margin: 3px 0 0 0;
    color: #c53b51;
    font-size: 12.5px;
    font-weight: bold;
    text-align: left;
}

/* Кнопка отправки */
html body.page-registration #request1 {
    min-height: 38px;
    margin: 14px auto 0 auto;
    padding: 9px 18px;
    border: 1px solid #177d4f;
    border-radius: 9px;
    background: #177d4f;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-registration #request1:hover {
    background: #0f6b42;
    border-color: #0f6b42;
}

/* Скрытые поля */
html body.page-registration input[hidden] {
    display: none !important;
}

/* Адаптация */
@media (max-width: 760px) {
    html body.page-registration {
        padding: 14px 6px 24px 6px !important;
    }

    html body.page-registration .registration-head-inner {
        flex-direction: column;
        gap: 10px;
    }

    html body.page-registration .registration-logo {
        width: 78px;
    }

    html body.page-registration .registration-brand {
        font-size: 28px;
    }

    html body.page-registration .event-code {
        font-size: 24px;
    }

    html body.page-registration .event-title {
        font-size: 22px;
    }

    html body.page-registration .event-dates {
        font-size: 20px;
    }

    html body.page-registration .subtheme,
    html body.page-registration #res_reg,
    html body.page-registration .region,
    html body.page-registration .district {
        width: 100%;
        max-width: 360px;
        margin: 5px auto;
        display: block;
        white-space: normal;
    }
}

/* =========================================================
   index.php
   Согласие на обработку персональных данных
   ========================================================= */

html body.page-registration .personal-data-consent {
    width: 100%;
    margin: 14px 0 4px 0;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid #d8e4f1;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: left;
}

html body.page-registration .personal-data-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #1f2f46;
    font-size: 13.5px;
    font-weight: normal;
    line-height: 1.45;
    cursor: pointer;
    text-align: left;
}

html body.page-registration #personal_data_agree {
    width: auto !important;
    min-width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    padding: 0;
    cursor: pointer;
}

html body.page-registration .personal-data-text {
    color: #1f2f46;
    font-weight: normal;
}

html body.page-registration .personal-data-note {
    margin: 6px 0 0 25px;
    color: #c53b51;
    font-size: 12.5px;
    font-style: italic;
    line-height: 1.35;
    text-align: left;
}

@media (max-width: 480px) {
    html body.page-registration .personal-data-consent {
        padding: 10px 11px;
    }

    html body.page-registration .personal-data-label {
        font-size: 13px;
    }

    html body.page-registration .personal-data-note {
        margin-left: 25px;
        font-size: 12px;
    }
}


/* =========================================================
   view_theme.php
   Просмотр мероприятия
   ========================================================= */

html body.page-view-theme {
    margin: 0 !important;
    padding: 18px 10px 28px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* Обертка */
html body.page-view-theme .view-theme-wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 16px auto;
}

/* Заголовок */
html body.page-view-theme h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Таблица просмотра */
html body.page-view-theme .view-theme-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

/* Ячейки */
html body.page-view-theme .view-theme-table td {
    padding: 8px 10px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;
    text-align: left;
}

/* Левая колонка с названием поля */
html body.page-view-theme .view-theme-table td:first-child {
    width: 28%;
    background: #f8fbff;
    color: #12385f;
    font-weight: bold;
    text-align: left;
}

/* Правая колонка со значением */
html body.page-view-theme .view-theme-table td:nth-child(2) {
    width: 72%;
}

/* Код мероприятия */
html body.page-view-theme .theme-code-cell {
    background: #eef4fb !important;
    color: #0d3682 !important;
    font-weight: bold;
    text-align: left !important;
    letter-spacing: 0.3px;
}

/* Строки-разделители, где colspan */
html body.page-view-theme .view-theme-table td[colspan="2"] {
    background: #1a4b8c !important;
    color: #ffffff !important;
    font-weight: bold;
    text-align: center !important;
}

/* Textarea */
html body.page-view-theme textarea {
    width: 100%;
    min-height: 96px;
    padding: 8px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
}

/* Наведение */
html body.page-view-theme .view-theme-table tr:hover td {
    background: #f8fbff;
}

html body.page-view-theme .view-theme-table tr:hover td[colspan="2"] {
    background: #1a4b8c !important;
}

/* Кнопка закрытия */
html body.page-view-theme .view-theme-close {
    min-height: 34px;
    margin: 8px auto 0 auto;
    padding: 8px 16px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-view-theme .view-theme-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-view-theme {
        padding: 12px 6px 22px 6px !important;
    }

    html body.page-view-theme h1 {
        font-size: 21px;
    }

    html body.page-view-theme .view-theme-table {
        table-layout: auto;
    }

    html body.page-view-theme .view-theme-table td {
        display: block;
        width: 100% !important;
        padding: 7px 8px;
        font-size: 12.5px;
    }

    html body.page-view-theme .view-theme-table td:first-child {
        border-bottom: none;
    }

    html body.page-view-theme .view-theme-table td:nth-child(2) {
        border-top: none;
    }

    html body.page-view-theme .view-theme-table td[colspan="2"] {
        display: table-cell;
        width: 100% !important;
    }

    html body.page-view-theme textarea {
        min-height: 90px;
        font-size: 12.5px;
    }
}


/* =========================================================
   edit_theme.php
   Редактирование мероприятия
   ========================================================= */

html body.page-edit-theme {
    margin: 0 !important;
    padding: 18px 10px 28px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* Обертка */
html body.page-edit-theme .edit-theme-wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 16px auto;
}

/* Заголовок */
html body.page-edit-theme h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Инструкция */
html body.page-edit-theme .edit-theme-note {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 14px auto;
    color: #3b4b63;
    font-size: 13.5px;
    font-style: bold;
    line-height: 1.45;
    text-align: center;
}

/* Таблица редактирования */
html body.page-edit-theme .edit-theme-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

/* Ячейки */
html body.page-edit-theme .edit-theme-table td {
    padding: 8px 10px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;
    text-align: left;
}

/* Левая колонка */
html body.page-edit-theme .edit-theme-table td:first-child {
    width: 28%;
    background: #f8fbff;
    color: #12385f;
    font-weight: bold;
    text-align: left;
}

/* Правая колонка */
html body.page-edit-theme .edit-theme-table td:nth-child(2) {
    width: 72%;
}

/* Код мероприятия */
html body.page-edit-theme .theme-code-cell {
    background: #eef4fb !important;
    color: #0d3682 !important;
    font-weight: bold;
    letter-spacing: 0.3px;
}

/* Строки-разделители */
html body.page-edit-theme .edit-theme-table td[colspan="2"] {
    background: #1a4b8c !important;
    color: #ffffff !important;
    font-weight: bold;
    text-align: center !important;
}

/* Поля ввода */
html body.page-edit-theme input,
html body.page-edit-theme textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    box-sizing: border-box;
}

html body.page-edit-theme input:focus,
html body.page-edit-theme textarea:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18);
    outline-offset: 1px;
    border-color: #1a4b8c;
}

/* Textarea */
html body.page-edit-theme textarea {
    min-height: 96px;
    resize: vertical;
}

/* Даты */
html body.page-edit-theme input[type="date"] {
    width: auto;
    min-width: 150px;
    margin: 0 8px 0 4px;
}

/* Подписи "с" и "по" */
html body.page-edit-theme .edit-theme-table span {
    color: #12385f;
    font-weight: bold;
}

/* Наведение */
html body.page-edit-theme .edit-theme-table tr:hover td {
    background: #f8fbff;
}

html body.page-edit-theme .edit-theme-table tr:hover td[colspan="2"] {
    background: #1a4b8c !important;
}

/* Кнопки внизу */
html body.page-edit-theme .edit-theme-actions {
    width: 100%;
    max-width: 980px;
    margin: 10px auto 0 auto;
    text-align: center;
}

/* Общий вид кнопок */
html body.page-edit-theme .edit-theme-actions button {
    min-height: 34px;
    margin: 4px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

/* Сохранить */
html body.page-edit-theme .edit-theme-save {
    border: 1px solid #177d4f;
    background: #177d4f;
    color: #ffffff;
}

html body.page-edit-theme .edit-theme-save:hover {
    background: #0f6b42;
    border-color: #0f6b42;
}

/* Закрыть */
html body.page-edit-theme .edit-theme-close {
    border: 1px solid #1a4b8c;
    background: #1a4b8c;
    color: #ffffff;
}

html body.page-edit-theme .edit-theme-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Скрытые элементы */
html body.page-edit-theme input[hidden],
html body.page-edit-theme tr[hidden] {
    display: none !important;
}

/* Уменьшаем лишние разрывы */
html body.page-edit-theme br + br {
    line-height: 0.4;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-edit-theme {
        padding: 12px 6px 22px 6px !important;
    }

    html body.page-edit-theme h1 {
        font-size: 21px;
    }

    html body.page-edit-theme .edit-theme-table {
        table-layout: auto;
    }

    html body.page-edit-theme .edit-theme-table td {
        display: block;
        width: 100% !important;
        padding: 7px 8px;
        font-size: 12.5px;
    }

    html body.page-edit-theme .edit-theme-table td:first-child {
        border-bottom: none;
    }

    html body.page-edit-theme .edit-theme-table td:nth-child(2) {
        border-top: none;
    }

    html body.page-edit-theme .edit-theme-table td[colspan="2"] {
        display: block;
        width: 100% !important;
    }

    html body.page-edit-theme input[type="date"] {
        width: 100%;
        margin: 4px 0 8px 0;
    }

    html body.page-edit-theme textarea {
        min-height: 90px;
        font-size: 12.5px;
    }

    html body.page-edit-theme .edit-theme-actions button {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
        display: block;
    }
}


/* =========================================================
   view_adm_request.php
   Просмотр заявки
   ========================================================= */

html body.page-view-request {
    margin: 0 !important;
    padding: 18px 10px 28px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* Обертка */
html body.page-view-request .view-request-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px auto;
}

/* Заголовок */
html body.page-view-request h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Таблица просмотра заявки */
html body.page-view-request .view-request-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

/* Ячейки */
html body.page-view-request .view-request-table td {
    padding: 8px 10px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;
    text-align: left;
}

/* Левая колонка */
html body.page-view-request .view-request-table td:first-child {
    width: 32%;
    background: #f8fbff;
    color: #12385f;
    font-weight: bold;
}

/* Правая колонка */
html body.page-view-request .view-request-table td:nth-child(2) {
    width: 68%;
    color: #1f2f46;
}

/* Тема и подтема */
html body.page-view-request .view-request-table tr:nth-child(1) td:nth-child(2),
html body.page-view-request .view-request-table tr:nth-child(2) td:nth-child(2) {
    color: #12385f;
    font-weight: bold;
}

/* ФИО */
html body.page-view-request .view-request-table tr:nth-child(3) td:nth-child(2),
html body.page-view-request .view-request-table tr:nth-child(4) td:nth-child(2),
html body.page-view-request .view-request-table tr:nth-child(5) td:nth-child(2) {
    font-weight: bold;
}

/* E-mail */
html body.page-view-request .view-request-table tr td:nth-child(2) {
    overflow-wrap: anywhere;
}

/* Наведение */
html body.page-view-request .view-request-table tr:hover td {
    background: #f8fbff;
}

/* Кнопка закрытия */
html body.page-view-request .view-request-close {
    min-height: 34px;
    margin: 8px auto 0 auto;
    padding: 8px 16px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-view-request .view-request-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-view-request {
        padding: 12px 6px 22px 6px !important;
    }

    html body.page-view-request h1 {
        font-size: 21px;
    }

    html body.page-view-request .view-request-table {
        table-layout: auto;
    }

    html body.page-view-request .view-request-table td {
        display: block;
        width: 100% !important;
        padding: 7px 8px;
        font-size: 12.5px;
    }

    html body.page-view-request .view-request-table td:first-child {
        border-bottom: none;
    }

    html body.page-view-request .view-request-table td:nth-child(2) {
        border-top: none;
    }
}


/* =========================================================
   edit_adm_request.php
   Редактирование заявки
   ========================================================= */

html body.page-edit-request {
    margin: 0 !important;
    padding: 18px 10px 28px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* Обертка */
html body.page-edit-request .edit-request-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px auto;
}

/* Заголовок */
html body.page-edit-request h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Таблица */
html body.page-edit-request .edit-request-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

/* Ячейки */
html body.page-edit-request .edit-request-table td {
    padding: 8px 10px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;
    text-align: left;
}

/* Левая колонка */
html body.page-edit-request .edit-request-table td:first-child {
    width: 32%;
    background: #f8fbff;
    color: #12385f;
    font-weight: bold;
}

/* Правая колонка */
html body.page-edit-request .edit-request-table td:nth-child(2) {
    width: 68%;
    color: #1f2f46;
}

/* Тема и подтема */
html body.page-edit-request .edit-request-table tr:nth-child(1) td:nth-child(2),
html body.page-edit-request .edit-request-table tr:nth-child(2) td:nth-child(2) {
    color: #12385f;
    font-weight: bold;
}

/* Поля ввода */
html body.page-edit-request input {
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    box-sizing: border-box;
}

html body.page-edit-request input:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18);
    outline-offset: 1px;
    border-color: #1a4b8c;
}

/* Скрытый id */
html body.page-edit-request input[hidden] {
    display: none !important;
}

/* Наведение */
html body.page-edit-request .edit-request-table tr:hover td {
    background: #f8fbff;
}

/* Кнопки */
html body.page-edit-request .edit-request-actions {
    width: 100%;
    max-width: 900px;
    margin: 10px auto 0 auto;
    text-align: center;
}

html body.page-edit-request .edit-request-actions button {
    min-height: 34px;
    margin: 4px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

/* Сохранить */
html body.page-edit-request .edit-request-save {
    border: 1px solid #177d4f;
    background: #177d4f;
    color: #ffffff;
}

html body.page-edit-request .edit-request-save:hover {
    background: #0f6b42;
    border-color: #0f6b42;
}

/* Закрыть */
html body.page-edit-request .edit-request-close {
    border: 1px solid #1a4b8c;
    background: #1a4b8c;
    color: #ffffff;
}

html body.page-edit-request .edit-request-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* В резерве */
html body.page-edit-request select {
    width: 160px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-edit-request {
        padding: 12px 6px 22px 6px !important;
    }

    html body.page-edit-request h1 {
        font-size: 21px;
    }

    html body.page-edit-request .edit-request-table {
        table-layout: auto;
    }

    html body.page-edit-request .edit-request-table td {
        display: block;
        width: 100% !important;
        padding: 7px 8px;
        font-size: 12.5px;
    }

    html body.page-edit-request .edit-request-table td:first-child {
        border-bottom: none;
    }

    html body.page-edit-request .edit-request-table td:nth-child(2) {
        border-top: none;
    }

    html body.page-edit-request .edit-request-actions button {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
        display: block;
    }
}


/* =========================================================
   directions_new_add_theme.php
   Создание нового мероприятия / темы
   Компактная гармоничная версия
   ========================================================= */

html body.page-new-theme {
    margin: 0 !important;
    padding: 12px 10px 24px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
}

/* Обертка */
html body.page-new-theme .new-theme-wrap {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* Заголовок */
html body.page-new-theme h1 {
    margin: 0 0 8px 0 !important;
    color: #1a4b8c !important;
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Пояснение */
html body.page-new-theme > p,
html body.page-new-theme .new-theme-note {
    max-width: 780px;
    margin: 0 auto 14px auto !important;
    color: #4b5d75 !important;
    font-size: 13px !important;
    font-style: italic !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Форма */
html body.page-new-theme form,
html body.page-new-theme .new-theme-form {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Подписи */
html body.page-new-theme label {
    display: inline-block;
    margin: 4px 0 5px 0;
    color: #12385f;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.25;
}

/* Поля */
html body.page-new-theme input[type="text"],
html body.page-new-theme input[type="date"],
html body.page-new-theme input:not([type]),
html body.page-new-theme textarea {
    border: 1px solid #bfd2e6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
}

html body.page-new-theme input[type="text"],
html body.page-new-theme input[type="date"],
html body.page-new-theme input:not([type]) {
    height: 32px;
    padding: 5px 9px;
}

html body.page-new-theme textarea {
    padding: 7px 9px;
    resize: vertical;
}

html body.page-new-theme input:focus,
html body.page-new-theme textarea:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18);
    outline-offset: 1px;
    border-color: #1a4b8c !important;
}

/* Код темы */
html body.page-new-theme #theme_kod {
    width: 120px !important;
    text-align: center;
    font-weight: bold;
    color: #0d3682 !important;
}

/* Даты */
html body.page-new-theme #theme_kalend_s,
html body.page-new-theme #theme_kalend_po {
    width: 155px !important;
    margin: 0 5px 6px 5px;
}

/* Слова "с:" и "по:" */
html body.page-new-theme span {
    color: #12385f;
    font-size: 13px;
}

/* Название темы */
html body.page-new-theme #theme_name {
    width: 100% !important;
    max-width: 620px !important;
}

/* Описание */
html body.page-new-theme #description {
    width: 100% !important;
    max-width: 620px !important;
    min-height: 115px;
}

/* Кнопка "Настроить ограничения" */
html body.page-new-theme #settings {
    min-height: 34px;
    margin: 8px auto 12px auto;
    padding: 8px 16px;
    border: 1px solid #ff8c42;
    border-radius: 8px;
    background: #ff8c42;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-new-theme #settings:hover {
    background: #e8742f;
    border-color: #e8742f;
}

/* =========================================================
   Блок настроек
   ========================================================= */

html body.page-new-theme #settings_section {
    width: 100%;
    max-width: 760px;
    margin: 2px auto 14px auto;
    padding: 12px 16px;
    background: #f8fbff;
    border: 1px solid #d8e4f1;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
}

/* Главные подписи внутри блока настроек */
html body.page-new-theme #settings_section > label {
    display: inline-block;
    margin: 0 6px 8px 0;
    color: #12385f;
    font-size: 13px;
    font-weight: bold;
}

/* Радиокнопки */
html body.page-new-theme input[type="radio"] {
    width: auto !important;
    height: auto !important;
    margin: 0 4px 0 10px;
    vertical-align: middle;
}

html body.page-new-theme #settings_section label[for^="rad"],
html body.page-new-theme #settings_section label[for^="osrad"] {
    display: inline-block;
    margin: 0 10px 8px 0;
    color: #1f2f46;
    font-size: 13px !important;
    font-weight: normal;
    line-height: 1.25;
    vertical-align: middle;
}

/* Выбранные подписи после JS */
html body.page-new-theme #settings_section label[style*="font-weight: bold"],
html body.page-new-theme #settings_section label[style*="color: rgb(26, 75, 140)"] {
    color: #1a4b8c !important;
}

/* Внутренние блоки */
html body.page-new-theme #rad1_set,
html body.page-new-theme #rad2_set,
html body.page-new-theme #email {
    margin-top: 8px;
}

/* =========================================================
   Ограничения по теме
   ========================================================= */

html body.page-new-theme #rad2_set {
    text-align: center;
}

html body.page-new-theme #rad2_set label {
    display: inline-block;
    margin: 0 8px 0 0;
    color: #12385f;
    font-weight: bold;
}

html body.page-new-theme #rad2_kolvo {
    width: 105px !important;
    text-align: center;
}

/* =========================================================
   Ограничения по регионам
   ========================================================= */

html body.page-new-theme #rad1_set table {
    width: 100%;
    max-width: 600px;
    margin: 4px auto 0 auto;
    border-collapse: collapse;
    background: transparent;
    border: none;
    box-shadow: none;
}

html body.page-new-theme #rad1_set td {
    padding: 6px 8px;
    border: none;
    border-bottom: 1px solid #dfeaf5;
    background: transparent;
    font-size: 13px;
    vertical-align: middle;
}

html body.page-new-theme #rad1_set tr:last-child td {
    border-bottom: none;
}

html body.page-new-theme #rad1_set td:first-child {
    width: 72%;
    color: #12385f;
    font-weight: bold;
    text-align: left;
}

html body.page-new-theme #rad1_set td:last-child {
    width: 28%;
    text-align: center;
}

html body.page-new-theme #rad1_set input {
    width: 88px !important;
    height: 30px;
    margin: 0;
    text-align: center;
}

/* =========================================================
   Обратная связь
   ========================================================= */

html body.page-new-theme #email table {
    width: 100%;
    max-width: 680px;
    margin: 6px auto 0 auto;
    border-collapse: collapse;
    background: transparent;
    border: none;
    box-shadow: none;
}

html body.page-new-theme #email td {
    padding: 8px 8px;
    border: none;
    border-bottom: 1px solid #dfeaf5;
    background: transparent;
    vertical-align: top;
    font-size: 13px;
}

html body.page-new-theme #email tr:last-child td {
    border-bottom: none;
}

html body.page-new-theme #email td:first-child {
    width: 42%;
    text-align: left;
    color: #12385f;
    font-weight: bold;
}

html body.page-new-theme #email td:last-child {
    width: 58%;
}

html body.page-new-theme #email textarea {
    width: 100% !important;
    min-height: 78px;
    margin: 0;
}

/* =========================================================
   Нижние кнопки
   ========================================================= */

html body.page-new-theme #save,
html body.page-new-theme #close {
    min-height: 34px;
    margin: 4px 5px;
    padding: 8px 15px;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

/* Записать тему */
html body.page-new-theme #save {
    border: 1px solid #177d4f;
    background: #177d4f;
    color: #ffffff;
}

html body.page-new-theme #save:hover {
    background: #0f6b42;
    border-color: #0f6b42;
}

html body.page-new-theme #save:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #ffffff;
    cursor: not-allowed;
}

/* Закрыть окно */
html body.page-new-theme #close {
    border: 1px solid #1a4b8c;
    background: #1a4b8c;
    color: #ffffff;
}

html body.page-new-theme #close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Скрытые элементы */
html body.page-new-theme [hidden],
html body.page-new-theme input[hidden],
html body.page-new-theme section[hidden],
html body.page-new-theme article[hidden] {
    display: none !important;
}

/* Уменьшаем влияние старых br */
html body.page-new-theme br + br {
    line-height: 0.15;
}

/* =========================================================
   Адаптация
   ========================================================= */

@media (max-width: 760px) {
    html body.page-new-theme {
        padding: 10px 6px 22px 6px !important;
    }

    html body.page-new-theme h1 {
        font-size: 21px !important;
        margin-bottom: 8px !important;
    }

    html body.page-new-theme > p,
    html body.page-new-theme .new-theme-note {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
    }

    html body.page-new-theme form,
    html body.page-new-theme .new-theme-form,
    html body.page-new-theme #settings_section {
        max-width: 100%;
    }

    html body.page-new-theme #theme_kod,
    html body.page-new-theme #theme_name,
    html body.page-new-theme #description,
    html body.page-new-theme #theme_kalend_s,
    html body.page-new-theme #theme_kalend_po {
        width: 100% !important;
        max-width: 100% !important;
        margin: 3px 0 8px 0;
    }

    html body.page-new-theme #description {
        min-height: 105px;
    }

    html body.page-new-theme #settings_section {
        padding: 10px 8px;
    }

    html body.page-new-theme #settings_section > label {
        display: block;
        margin-bottom: 6px;
    }

    html body.page-new-theme #settings_section label[for^="rad"],
    html body.page-new-theme #settings_section label[for^="osrad"] {
        margin-right: 8px;
        font-size: 13px !important;
    }

    html body.page-new-theme #rad1_set table,
    html body.page-new-theme #email table {
        max-width: 100%;
    }

    html body.page-new-theme #rad1_set td,
    html body.page-new-theme #email td {
        display: block;
        width: 100% !important;
        text-align: left !important;
        padding: 7px 4px;
    }

    html body.page-new-theme #rad1_set input,
    html body.page-new-theme #rad2_kolvo,
    html body.page-new-theme #email textarea {
        width: 100% !important;
        max-width: 100%;
    }

    html body.page-new-theme #save,
    html body.page-new-theme #close,
    html body.page-new-theme #settings {
        width: 100%;
        max-width: 260px;
    }
}


/* =========================================================
   directions_new_add_subtheme.php
   Создание новой подтемы
   ========================================================= */

html body.page-new-subtheme {
    margin: 0 !important;
    padding: 12px 10px 24px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
}

/* Заголовок */
html body.page-new-subtheme h1 {
    margin: 0 0 8px 0 !important;
    color: #1a4b8c !important;
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Пояснение */
html body.page-new-subtheme > p {
    max-width: 760px;
    margin: 0 auto 14px auto !important;
    color: #4b5d75 !important;
    font-size: 13px !important;
    font-style: italic !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Форма */
html body.page-new-subtheme form,
html body.page-new-subtheme .new-theme-form {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Подписи */
html body.page-new-subtheme label {
    display: inline-block;
    margin: 4px 0 5px 0;
    color: #12385f;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.25;
}

/* Поля */
html body.page-new-subtheme input[type="text"],
html body.page-new-subtheme input[type="number"],
html body.page-new-subtheme input:not([type]),
html body.page-new-subtheme textarea {
    border: 1px solid #bfd2e6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
}

html body.page-new-subtheme input[type="text"],
html body.page-new-subtheme input[type="number"],
html body.page-new-subtheme input:not([type]) {
    height: 32px;
    padding: 5px 9px;
}

html body.page-new-subtheme textarea {
    padding: 7px 9px;
    resize: vertical;
}

html body.page-new-subtheme input:focus,
html body.page-new-subtheme textarea:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18);
    outline-offset: 1px;
    border-color: #1a4b8c !important;
}

/* Название подтемы */
html body.page-new-subtheme #theme_name {
    width: 100% !important;
    max-width: 620px !important;
}

/* Описание подтемы */
html body.page-new-subtheme #description {
    width: 100% !important;
    max-width: 620px !important;
    min-height: 115px;
}

/* Кнопка "Настроить ограничения" */
html body.page-new-subtheme #settings {
    min-height: 34px;
    margin: 8px auto 12px auto;
    padding: 8px 16px;
    border: 1px solid #ff8c42;
    border-radius: 8px;
    background: #ff8c42;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-new-subtheme #settings:hover {
    background: #e8742f;
    border-color: #e8742f;
}

/* =========================================================
   Блок настроек
   ========================================================= */

html body.page-new-subtheme #settings_section {
    width: 100%;
    max-width: 760px;
    margin: 2px auto 14px auto;
    padding: 12px 16px;
    background: #f8fbff;
    border: 1px solid #d8e4f1;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
}

/* Главные подписи внутри блока настроек */
html body.page-new-subtheme #settings_section > label {
    display: inline-block;
    margin: 0 6px 8px 0;
    color: #12385f;
    font-size: 13px;
    font-weight: bold;
}

/* Радиокнопки */
html body.page-new-subtheme input[type="radio"] {
    width: auto !important;
    height: auto !important;
    margin: 0 4px 0 10px;
    vertical-align: middle;
}

html body.page-new-subtheme #settings_section label[for^="rad"],
html body.page-new-subtheme #settings_section label[for^="osrad"] {
    display: inline-block;
    margin: 0 10px 8px 0;
    color: #1f2f46;
    font-size: 13px !important;
    font-weight: normal;
    line-height: 1.25;
    vertical-align: middle;
}

/* Выбранные подписи после JS */
html body.page-new-subtheme #settings_section label[style*="font-weight: bold"],
html body.page-new-subtheme #settings_section label[style*="color: rgb(26, 75, 140)"] {
    color: #1a4b8c !important;
}

/* Внутренние блоки */
html body.page-new-subtheme #rad1_set,
html body.page-new-subtheme #rad2_set,
html body.page-new-subtheme #email {
    margin-top: 8px;
}

/* =========================================================
   Ограничения по подтеме
   ========================================================= */

html body.page-new-subtheme #rad2_set {
    text-align: center;
}

html body.page-new-subtheme #rad2_set label {
    display: inline-block;
    margin: 0 8px 0 0;
    color: #12385f;
    font-weight: bold;
}

html body.page-new-subtheme #rad2_kolvo {
    width: 105px !important;
    height: 30px !important;
    text-align: center;
}

/* =========================================================
   Ограничения по регионам
   Как в directions_new_add_theme.php
   ========================================================= */

html body.page-new-subtheme #rad1_set table {
    width: 100% !important;
    max-width: 600px !important;
    margin: 4px auto 0 auto !important;
    border-collapse: collapse !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-new-subtheme #rad1_set td {
    padding: 6px 8px !important;
    border: none !important;
    border-bottom: 1px solid #dfeaf5 !important;
    background: transparent !important;
    font-size: 13px !important;
    vertical-align: middle !important;
}

html body.page-new-subtheme #rad1_set tr:last-child td {
    border-bottom: none !important;
}

html body.page-new-subtheme #rad1_set td:first-child {
    width: 72% !important;
    color: #12385f !important;
    font-weight: bold !important;
    text-align: left !important;
}

html body.page-new-subtheme #rad1_set td:last-child {
    width: 28% !important;
    text-align: center !important;
}

html body.page-new-subtheme #rad1_set input,
html body.page-new-subtheme #rad1_set input[type="number"] {
    width: 88px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border: 1px solid #bfd2e6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #1f2f46 !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

html body.page-new-subtheme #rad1_set input:focus,
html body.page-new-subtheme #rad1_set input[type="number"]:focus {
    outline: 2px solid rgba(26, 75, 140, 0.18) !important;
    outline-offset: 1px !important;
    border-color: #1a4b8c !important;
}

/* =========================================================
   Обратная связь
   ========================================================= */

html body.page-new-subtheme #email table {
    width: 100%;
    max-width: 680px;
    margin: 6px auto 0 auto;
    border-collapse: collapse;
    background: transparent;
    border: none;
    box-shadow: none;
}

html body.page-new-subtheme #email td {
    padding: 8px 8px;
    border: none;
    border-bottom: 1px solid #dfeaf5;
    background: transparent;
    vertical-align: top;
    font-size: 13px;
}

html body.page-new-subtheme #email tr:last-child td {
    border-bottom: none;
}

html body.page-new-subtheme #email td:first-child {
    width: 42%;
    text-align: left;
    color: #12385f;
    font-weight: bold;
}

html body.page-new-subtheme #email td:last-child {
    width: 58%;
}

html body.page-new-subtheme #email textarea {
    width: 100% !important;
    min-height: 78px;
    margin: 0;
}

/* =========================================================
   Нижние кнопки
   ========================================================= */

html body.page-new-subtheme #save,
html body.page-new-subtheme #close {
    min-height: 34px;
    margin: 4px 5px;
    padding: 8px 15px;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

/* Записать подтему */
html body.page-new-subtheme #save {
    border: 1px solid #177d4f;
    background: #177d4f;
    color: #ffffff;
}

html body.page-new-subtheme #save:hover {
    background: #0f6b42;
    border-color: #0f6b42;
}

html body.page-new-subtheme #save:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #ffffff;
    cursor: not-allowed;
}

/* Закрыть окно */
html body.page-new-subtheme #close {
    border: 1px solid #1a4b8c;
    background: #1a4b8c;
    color: #ffffff;
}

html body.page-new-subtheme #close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Скрытые элементы */
html body.page-new-subtheme [hidden],
html body.page-new-subtheme input[hidden],
html body.page-new-subtheme section[hidden],
html body.page-new-subtheme article[hidden] {
    display: none !important;
}

/* Уменьшаем влияние старых br */
html body.page-new-subtheme br + br {
    line-height: 0.15;
}

/* =========================================================
   Адаптация
   ========================================================= */

@media (max-width: 760px) {
    html body.page-new-subtheme {
        padding: 10px 6px 22px 6px !important;
    }

    html body.page-new-subtheme h1 {
        font-size: 21px !important;
        margin-bottom: 8px !important;
    }

    html body.page-new-subtheme > p {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
    }

    html body.page-new-subtheme form,
    html body.page-new-subtheme .new-theme-form,
    html body.page-new-subtheme #settings_section {
        max-width: 100%;
    }

    html body.page-new-subtheme #theme_name,
    html body.page-new-subtheme #description {
        width: 100% !important;
        max-width: 100% !important;
        margin: 3px 0 8px 0;
    }

    html body.page-new-subtheme #description {
        min-height: 105px;
    }

    html body.page-new-subtheme #settings_section {
        padding: 10px 8px;
    }

    html body.page-new-subtheme #settings_section > label {
        display: block;
        margin-bottom: 6px;
    }

    html body.page-new-subtheme #settings_section label[for^="rad"],
    html body.page-new-subtheme #settings_section label[for^="osrad"] {
        margin-right: 8px;
        font-size: 13px !important;
    }

    html body.page-new-subtheme #rad1_set table,
    html body.page-new-subtheme #email table {
        max-width: 100% !important;
    }

    html body.page-new-subtheme #rad1_set td,
    html body.page-new-subtheme #email td {
        display: block;
        width: 100% !important;
        text-align: left !important;
        padding: 7px 4px !important;
    }

    html body.page-new-subtheme #rad1_set input,
    html body.page-new-subtheme #rad1_set input[type="number"],
    html body.page-new-subtheme #rad2_kolvo,
    html body.page-new-subtheme #email textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.page-new-subtheme #save,
    html body.page-new-subtheme #close,
    html body.page-new-subtheme #settings {
        width: 100%;
        max-width: 260px;
    }
}


/* =========================================================
   view_request.php
   Подтверждение регистрации пользователя
   ========================================================= */

html body.page-user-view-request {
    margin: 0 !important;
    padding: 24px 10px 32px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

/* Обертка */
html body.page-user-view-request .user-request-wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* Верх с логотипом */
html body.page-user-view-request .user-request-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 28px auto;
    flex-wrap: wrap;
}

html body.page-user-view-request .user-request-logo {
    width: 86px;
    height: auto;
    display: block;
}

html body.page-user-view-request .user-request-brand {
    color: #0d5cab;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

/* Основной блок */
html body.page-user-view-request .user-request-success {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Заголовок */
html body.page-user-view-request h1 {
    margin: 0 0 18px 0;
    color: #177d4f;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Предупреждение в красных тонах */
html body.page-user-view-request .user-request-attention {
    max-width: 760px;
    margin: 0 auto 22px auto;
    padding: 14px 18px;
    background: #fff3f4;
    border: 1px solid #f1c4cb;
    border-radius: 12px;
    color: #8f1d2c;
    font-size: 16px;
    line-height: 1.45;
    text-align: center;
}

html body.page-user-view-request .user-request-attention strong {
    color: #c53b51;
    font-size: 17px;
}

/* Кнопка */
html body.page-user-view-request .user-request-close {
    min-height: 36px;
    padding: 9px 18px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-user-view-request .user-request-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-user-view-request {
        padding: 16px 8px 26px 8px !important;
    }

    html body.page-user-view-request .user-request-head {
        gap: 10px;
        margin-bottom: 22px;
    }

    html body.page-user-view-request .user-request-logo {
        width: 72px;
    }

    html body.page-user-view-request .user-request-brand {
        font-size: 28px;
        text-align: center;
    }

    html body.page-user-view-request h1 {
        font-size: 23px;
    }

    html body.page-user-view-request .user-request-attention {
        padding: 12px 13px;
        font-size: 14px;
    }

    html body.page-user-view-request .user-request-close {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 420px) {
    html body.page-user-view-request .user-request-brand {
        font-size: 23px;
    }

    html body.page-user-view-request h1 {
        font-size: 21px;
    }
}


/* =========================================================
   view_subtheme.php
   Просмотр подтемы
   ========================================================= */

html body.page-view-subtheme {
    margin: 0 !important;
    padding: 18px 10px 28px 10px !important;
    background: #ffffff !important;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

/* Обертка */
html body.page-view-subtheme .view-subtheme-wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 16px auto;
}

/* Заголовок */
html body.page-view-subtheme h1 {
    margin: 0 0 14px 0;
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Таблица просмотра */
html body.page-view-subtheme .view-subtheme-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d8e4f1;
    box-shadow: 0 2px 14px rgba(13, 54, 130, 0.08);
}

/* Ячейки */
html body.page-view-subtheme .view-subtheme-table td {
    padding: 8px 10px;
    border: 1px solid #e3edf7;
    background: #ffffff;
    color: #1f2f46;
    font-size: 13px;
    line-height: 1.35;
    vertical-align: middle;
    text-align: left;
}

/* Левая колонка */
html body.page-view-subtheme .view-subtheme-table td:first-child {
    width: 28%;
    background: #f8fbff;
    color: #12385f;
    font-weight: bold;
    text-align: left;
}

/* Правая колонка */
html body.page-view-subtheme .view-subtheme-table td:nth-child(2) {
    width: 72%;
}

/* Подтема */
html body.page-view-subtheme .view-subtheme-table tr:nth-child(3) td:nth-child(2) {
    color: #12385f;
    font-weight: bold;
}

/* Строки-разделители */
html body.page-view-subtheme .view-subtheme-table td[colspan="2"] {
    background: #1a4b8c !important;
    color: #ffffff !important;
    font-weight: bold;
    text-align: center !important;
}

/* Количество заявок по регионам */
html body.page-view-subtheme .view-subtheme-table td[style*="text-align: right"] {
    color: #12385f;
    font-weight: bold;
    text-align: left !important;
}

/* Textarea */
html body.page-view-subtheme textarea {
    width: 100%;
    min-height: 96px;
    padding: 8px 10px;
    border: 1px solid #bfd2e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2f46;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
}

/* Наведение */
html body.page-view-subtheme .view-subtheme-table tr:hover td {
    background: #f8fbff;
}

html body.page-view-subtheme .view-subtheme-table tr:hover td[colspan="2"] {
    background: #1a4b8c !important;
}

/* Кнопка закрытия */
html body.page-view-subtheme .view-subtheme-close {
    min-height: 34px;
    margin: 8px auto 0 auto;
    padding: 8px 16px;
    border: 1px solid #1a4b8c;
    border-radius: 8px;
    background: #1a4b8c;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
}

html body.page-view-subtheme .view-subtheme-close:hover {
    background: #0d3682;
    border-color: #0d3682;
}

/* Адаптация */
@media (max-width: 700px) {
    html body.page-view-subtheme {
        padding: 12px 6px 22px 6px !important;
    }

    html body.page-view-subtheme h1 {
        font-size: 21px;
    }

    html body.page-view-subtheme .view-subtheme-table {
        table-layout: auto;
    }

    html body.page-view-subtheme .view-subtheme-table td {
        display: block;
        width: 100% !important;
        padding: 7px 8px;
        font-size: 12.5px;
    }

    html body.page-view-subtheme .view-subtheme-table td:first-child {
        border-bottom: none;
    }

    html body.page-view-subtheme .view-subtheme-table td:nth-child(2) {
        border-top: none;
    }

    html body.page-view-subtheme .view-subtheme-table td[colspan="2"] {
        display: block;
        width: 100% !important;
    }

    html body.page-view-subtheme textarea {
        min-height: 90px;
        font-size: 12.5px;
    }
}


