
    html body {
        background-image: url('/images/1677588331_bogatyr-club-p-pokrishka-avtomobilnaya-foni-oboi-58.jpg');
        background-color: rgba(0, 0, 0, 1.0);
        background-attachment: fixed;
        background-size: cover;
        font-size: 16px; /* Базовый размер */
        min-height: 100dvh; /*(динамическая высота вьюпорта), чтобы футер не «прыгал» на мобильных устройствах.*/
        line-height: 1.6;  /* Хороший межстрочный интервал */
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        /*font-style: Italic;
        font-family: Serif;
        font-weight: bold;*/
    }
    
    *, *::before, *::after {
        box-sizing: border-box;
    }
      /*  margin: 0;
        padding: 0;
     Теперь отступы не увеличивают ширину для всего сайта */
    
    input, button, textarea, select {
        font: inherit;
    } /*По умолчанию кнопки и инпуты не наследуют шрифт от body*/
    
    :focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 4px;
    }
    
    hr {
        border: none;         /* Убираем стандартную рамку */
        height: 2px;          /* Толщина линии */
        background-color: rgba(64, 64, 64, .6); /* Цвет линии */
        width: 70%;
        text-align: center;
    }
    a {
        font-family: Serif;
        text-decoration: none;
        text-shadow: none; 
        box-shadow: none; 
        transition: all 0.3s ease;
    }
    
    a:hover {
        color: #c80000;
        text-decoration: none;
    }

    h1, h2, h3, h4 {
        color: #ff6f00;
        text-align: center;
    }
    
    li {
        list-style-type: none;
    }
    
    p {
        font-size: 14pt;
        color: #999;
    }
    
    p.adm {
        font-size: 14pt;
        color: black;
    }

    option:disabled {/* на фильтре выбора по авто */
        color: #666; /* Серый цвет для неактивных опций */
        background-color: #ccc;
        cursor: not-allowed; /* Курсор "запрещено" */
    }
    
    /*бегущая строка*/
    .ticker-wrapper {
        width: 100%;
        overflow: hidden;
        background: #222;
        color: #fff;
        padding: 10px 0;
    }
    .ticker-content {
        display: inline-block;
        white-space: nowrap;
        animation: ticker 15s linear infinite;
    }
    .ticker-content span {
        padding: 0 40px;
        font-family: Serif;
        font-weight: bold;
    }
    @keyframes ticker {
        0% { transform: translateX(25%); }
        100% { transform: translateX(-100%); }
    }
    /*---------------*/
    
    /*звездочки*/
    .icon {
        display: inline-block;
        animation: twinkle 1.5s infinite ease-in-out;
    }
    @keyframes twinkle {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.3); opacity: 0.7; }
    }
    /*------------------*/
    
    .forms {
        max-width: 400px;
        box-sizing: border-box; /* Чтобы padding не увеличивал ширину */
        padding: 8px;
        margin-top: 5px;
        border: none;
        color: #000000;
        font-size: 16px;
        background-color: #666;
    }
    
    /*шрифты*/
    .txt_max {
        font-size: 35px;
        color: #999;
    }

    .txt_norm {
        font-size: 20px;
        color: #999;
    }

    .txt_min {   /*рекомендациям Google*/
        font-size: 16px; 
        color: #999;
    }

    .a_toplaer {
        color: #ffbd00;
        text-decoration: none; 
        text-shadow: none; 
        box-shadow: none; 
        margin: 0 auto;
        transition: all 0.3s ease;
    }

    .a_toplaer:hover {
        color: #ff6f00;
    }
    /*-------------------*/
    
    /*полоса между телефонами в топлейере*/
    .top_line {
        background-color: #ff6f00; 
        height: 40px; 
        width: 2px; 
    }
    .nowrap {
        white-space: nowrap;
    }
    
    .price {
        background: url('/images/price.jpeg') center no-repeat;
        border: 0;
        background-size: 100% 100%;
    }
    
    .content {
        position:relative;
        margin-left: 0px;
        margin-right: 0px;
        padding-top: 20px;
        background: rgba(0, 0, 0, 0.8);
        font-family: serif;
        font-style: normal;
        font-size: 14px;
        color: white;
        text-align: justify;
    }
    
    .footer {
        height: auto;
        margin: 0 20px 0 20px;
        padding: 10px;
        border: 2px solid #555;
        box-shadow: 10px 10px 10px rgba(0, 0, 0, 1.0);
        background: rgba(0, 0, 0, 0.9);
        border-radius: 5px;
    }
    
    
    .container_site {
        position:relative;
        height: auto;
        margin: 0 20px 0 20px;
        padding: 10px;
        border: 2px solid #555;
        box-shadow: 10px 10px 10px rgba(0, 0, 0, 1.0);
        background: rgba(0, 0, 0, 0.9);
        border-radius: 5px;
    }
    
    /*картинки в папке info*/
    .info_r {
        display: block; /* Делаем блочным */
        float: right;    /* Прижимаем влево для обтекания */
        margin-left: 20px;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
        width: 35%;
        height: auto;   /* Чтобы не искажать пропорции */
    }
    .info_l {
        display: block; /* Делаем блочным */
        float: left;    /* Прижимаем влево для обтекания */
        margin-right: 20px;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
        width: 35%;
        height: auto;   /* Чтобы не искажать пропорции */
    }
    .info_c {
        display: block;    /* Превращаем в блок */
        margin: 0 auto;    /* Автоматические отступы слева и справа центрируют блок */
        width: 70%;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
    }
    
    .map_r {
        display: block; /* Делаем блочным */
        float: right;    /* Прижимаем влево для обтекания */
        margin-left: 20px;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
        width: 280px;
        height: auto;   /* Чтобы не искажать пропорции */
    }
    .map_l {
        display: block; /* Делаем блочным */
        float: left;    /* Прижимаем влево для обтекания */
        margin-right: 20px;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
        width: 40%;
        height: auto;   /* Чтобы не искажать пропорции */
    }
    .map_c {
        display: block;    /* Превращаем в блок */
        margin: 0 auto;    /* Автоматические отступы слева и справа центрируют блок */
        width: 70%;
        margin-bottom: 10px; /* Рекомендую добавить отступ снизу */
    }

    /*--------------*/
    
    /*table_montazh*/
    .table_montazh {
        overflow-x: scroll; /* Включает прокрутку, если контент не влезает */
        max-width: 100%;  /* Ограничивает ширину контейнера */
        -webkit-overflow-scrolling: touch; /* Делает скролл "масляным" на iOS */
    }
    
    .table_montazh table, 
    .table_montazh th, 
    .table_montazh td {
        border: 1px solid rgba(153, 153, 153, .6);
    }
    /* Создаем эффект тени через псевдоэлементы */
    .table_montazh td {
        color: #999;
    }
    .table_montazh::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        /* Плавная тень от прозрачного к полупрозрачному черному */
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(0,0,0,0.1));
        pointer-events: none; /* Чтобы тень не мешала нажимать на ячейки */
    }
    
    .table_montazh tr th:first-child, 
    .table_montazh tr td:first-child {
        position: sticky;
        left: 0;           /* Прижимает к левому краю */
        z-index: 10;       /* Чтобы колонка была поверх других при скролле */
        background: #000000;  /* Обязательно задайте фон, иначе текст наложится друг на друга */
    }
    /*--------------*/
    /*table_davlenie*/
    .tire-table table, 
    .tire-table th, 
    .tire-table td {
        border: 1px solid rgba(153, 153, 153, .6);
    }
    
    .table_davlenie {
        width: 100%;
        max-height: 600px; /* Высота видимой области, после которой появится скролл */
        overflow-y: auto;
        overflow-x: auto;
        border: 1px solid  rgba(153, 153, 153, .6);
    }

    .tire-table {
        width: 100%;
        border-collapse: collapse;
        font-family: serif;
        font-size: 14px;
        min-width: 800px; /* Чтобы таблица не сжималась в кашу */
        border: 1px solid rgba(153, 153, 153, .6);
    }

    /* Стили для закрепления шапки */
    .tire-table thead tr th {
        position: sticky;
        top: 0;
        background-color: black;
        z-index: 10;
        box-shadow: inset 0 -1px 0 #999, inset 0 1px 0 #999; /* Имитация границ при скролле */
    }

    /* Корректировка для многоуровневой шапки */
    .tire-table thead tr:nth-child(2) th { top: 37px; } /* Примерная высота первой строки */
    .tire-table thead tr:nth-child(3) th { top: 74px; } /* Примерная высота второй строки */

    .tire-table th, .tire-table td {
        border: 1px solid  rgba(153, 153, 153, .6);
        padding: 8px;
        text-align: center;
    }

    .brand-header {
        background-color: #e9ecef;
        font-weight: bold;
        text-align: left !important;
    }
    
    h3[id] {
        scroll-margin-top: 150px; /* Укажите нужный отступ в пикселях */
    }
    
    .model-col { background-color: #fafafa; font-weight: bold; }
    /*-----------------*/
    
    
    
    .t_block1 {
        vertical-align: top;
    }
    td.created_row{
        background-color:#e0fccf;
    }
    td.edited_row{
        background-color: #fcfbcf;
    }
    td.removed_row{
        background-color: #ffbfbf;
    }

    .filtr_label{
        color: white;
        font-size: 12pt;
    }

    .filtr_label{
        color: white;
        font-size: 12pt;
    }

    a.region_a:link {
        color: #fff; 
        border-bottom: 1px dashed; 
    }
    a.region_a:visited {
        color: #fff;
    }
    a.region_a:hover {
        color: #ff6f00; 
        border-bottom: .07em solid;
    }
    a.region_a:active {
        color: #fff; 
        border-bottom: 1px dashed;
    }

    img.region_img{
        vertical-align: middle;
    }

    /*чекбокс*/

    #ToChangeAvto {
        display: none; /* По умолчанию скрыт */
    }

    #myCheckbox {
        display: none; /* Скрываем стандартный чекбокс */
    }

    .checkbox-ios {
        display: inline-block;    
        height: 28px;    
        line-height: 28px;  
        margin-right: 10px;      
        position: relative;
        vertical-align: middle;
        font-size: 14px;
        user-select: none;	
    }

    .checkbox-ios .checkbox-ios-switch {
        position: relative;	
        z-index: 0;
        display: inline-block;
        box-sizing: border-box;			
        width: 56px;	
        height: 28px;
        border: 1px solid rgba(0, 0, 0, .1);
        border-radius: 25%/50%;	
        vertical-align: top;
        background: #eee;
        transition: .2s;
    }

    .checkbox-ios .checkbox-ios-switch:before {
        content: '';
        position: absolute;
        top: 1px;
        left: 1px;	
        display: inline-block;
        width: 24px;	
        height: 24px;
        border-radius: 50%;
        background: white;
        box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
        transition: .15s;
    }

    .checkbox-ios input[type=checkbox] {
        display: block;	
        width: 0;
        height: 0;	
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

    .checkbox-ios input[type=checkbox]:not(:disabled):active + .checkbox-ios-switch:before {
        box-shadow: inset 0 0 2px rgba(0, 0, 0, .3);
    }

    .checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch {
        background: limegreen;
    }
    .checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch:before {
        transform:translateX(28px);
    }

    /* Hover */
    .checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch {
        cursor: pointer;
        border-color: rgba(0, 0, 0, .3);
        background: limegreen;
    }

    /* Disabled */
    .checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch {
        filter: grayscale(70%);
        border-color: rgba(0, 0, 0, .1);
    }

    .checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch:before {
        background: #eee;
    }

    /* Focus */
    .checkbox-ios.focused .checkbox-ios-switch:before {
        box-shadow: inset 0px 0px 4px #ff5623;
}

/* Кнопка для телефона и навигатора */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    max-width: 450px;
    width: 100%;           /* Занимает всю ширину на маленьких экранах */
    padding: 12px 20px;
    margin: 5px 0px;
    border: 1px solid black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:active {
    transform: scale(0.98);
}
.cta-button img, .cta-button span.icon {
    margin-right: 10px;
    width: 24px;
}

.btn-phone {
    background-color: #ff6f00; /* Зеленый для звонка */
    color: white !important;
}

.btn-whatsapp {
    background-color: #28a745; /* Зеленый для звонка */
    color: white !important;
}

.btn-navi {
    background-color: #ffcc00; /* Желтый в стиле Яндекса */
    color: #333 !important;
}

.btn-telegram {
    background-color: #5f84e8; /* Желтый в стиле Яндекса */
    color: #333 !important;
}

.btn-contacts {
    background-color: rgba(153, 153, 153, .1);
    color: white !important;
}

.cta-button-contacts {
    /*display: inline-flex;*/
    align-items: left;
    justify-content: left;
    min-width: 280px;
    max-width: 500px;
    width: 100%;           /* Занимает всю ширину на маленьких экранах */
    border: 1px solid black;
    padding: 12px 20px;
    margin: 5px 0px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.cta-button-contacts:active {
    transform: scale(0.98);
}
.cta-button-contacts img, .cta-button-contacts span.icon {
    margin-right: 10px;
    width: 24px;
}



.cta-button-cont {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    min-width: 280px;
    width: 100%;           /* Занимает всю ширину на маленьких экранах */
    border: 1px solid black;
    padding: 12px 20px;
    margin: 10px 0px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-grow: 1;          /* Заставляет занять всё свободное место */
    height: auto;
}

.cta-button-cont:active {
    transform: scale(0.98);
}

.cta-button-cont img, .cta-button-cont span.icon {
    margin-right: 10px;
    width: 150px;
}
/* ================ */


/* галлерея в /filter/tools.py */
.gallery-box {
    height: 60px;
    width: 60px;
    margin: 2px;
    border: 1px solid #666;
    border-radius: 5px;
    vertical-align: middle;
}
.gallery-box-admin {
    height: 25px;
    width: 25px;
    margin: 2px;
    border: 1px solid #666;
    border-radius: 3px;
    vertical-align: middle;
}
.thumbs-list {
    margin-top: 10px; 
    display: flex; 
    flex-wrap: nowrap; 
    justify-content: space-between; 
    gap: 5px;
}

.gallery-tovar-first {
    width: 100%; 
    max-width: 400px; 
    border-radius: 8px;
}

.view-first-tovar {
    flex: 1 1 auto; 
    min-width: 0;
}
.gallery-tovar {
    width: 100%; 
    height: auto; 
    max-height: 90px; 
    margin: 2px; 
    border: 1px solid #666; 
    border-radius: 5px; 
    object-fit: cover;
}
/* ================ */

/* admin */
.adm-filter-button {
    position: absolute;
    top: 8px;
    left: 10px;
    margin: 0;
    z-index: 9;
}

.adm-filtr-popup {
    display: none; 
    position: fixed; /* Фиксирует на весь экран монитора, а не документа */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение всего экрана */
    z-index: 100; /* Должен быть выше всех элементов на странице */
    overflow-y: auto; /* Позволит скроллить само окно, если форма длинная */
}

.adm-filtr-popup-content {
    position: relative; /* Чтобы не зависеть от координат экрана напрямую */
    background-color: #e6e6e6;
    margin: 60px 10px; /* Ваши отступы */
    padding: 20px;
    width: 360px;
    border: 1px solid rgba(153, 153, 153, .6);
    border-radius: 5px;
    z-index: 101;
}

.adm-content {
    position: relative; /* Чтобы не зависеть от координат экрана напрямую */
    background-color: #e6e6e6;
    margin: 60px 10px; /* Ваши отступы */
    padding: 20px;
    width: 360px;
    border: 1px solid rgba(153, 153, 153, .6);
    border-radius: 5px;
}

.adm-select-div2 {
    display: flex; /* Включает гибкую разметку */
    justify-content: space-between; /* Распределяет элементы по краям */
    align-items: center; /* Центрирует их по вертикали */
    margin-bottom: 10px; /* Отступ между строками (опционально) */
}

.adm-filtr-label{
    color: #030386;
    font-size: 12pt;
}

.adm-select-menu{
    width: 60%; /* Можно задать фиксированную или процентную ширину для select */
}

.filtr_label{
    color: white;
    font-size: 12pt;
}

.text {
    height: 20px;
    text-align: center;
    opacity: 1;
}

.otlojeno {
    z-index: 2;
    color: #800000;
    height: 20px;
    text-align: center;
    opacity: 0.5;
}
   
.obrabotka {
    z-index: 2;
    color: #0B610B;
    height: 20px;
    text-align: center;
    opacity: 0.5;
}

.avito {
    z-index: 2;
    color: #0101DB;
    height: 20px;
    text-align: center;
    opacity: 0.5;
}
.sold {
    z-index: 2;
    color: red;
    height: 20px;
    text-align: center;
    opacity: 0.5;
}
.notfound {
    z-index: 2;
    color: #5A009D;
    height: 20px;
    text-align: center;
    opacity: 0.5;
}
.adv {
    position:relative;
    margin: 0;
    padding: 10px;
    min-height: 100vh; /* 100% высоты видимой части экрана */
    background: white;
    font-family: serif;
    font-style: normal;
    font-size: 12px;
    color: black;
    text-align: justify;
}

/*images.py*/
.admin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    max-width: 500px;
    margin: 0 auto; /* Центрирует блок по горизонтали */
    font-family: sans-serif;
}

/* Таблица и её контейнер */
.adm_image {
    width: 100%;
    overflow-x: auto; /* Добавляет прокрутку таблице, если она не влезает на телефон */
    margin-top: 20px;
}

.adm_image table {
    width: 100%;
    border-collapse: collapse;
    min-width: 300px;
}

/* Картинки внутри таблицы */
.adm_image img {
    max-width: 200px; /* Ограничиваем превью */
    height: auto;
}

/* Заголовок h1, который в коде идет в конце, переносим наверх */
.admin-wrapper h1 {
    order: -1; 
    text-align: center;
    width: 100%;
}

/* Форма загрузки */
.form_images form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
/*====================*/

.b_color{
    color: black;
    width: 100%;             /* Растягиваем на всю ширину родителя */
    word-wrap: break-word;   /* Переносит длинные слова */
    font-size: 12px;
}
    
    
 tr ~ tr.admin_tr:nth-child(even) {
    background: #F2F2F2;
}
   
tr.text:hover {
    background: #D8D8D8;
    opacity: 1;
   }
   
tr ~ tr.admin_tr {
    background: rgb(0, 0, 0, 0);
    opacity: 1;
   }
   
td.text:hover {
    background: #D8D8D8;
    opacity: 1;
   }
   
tr.otlojeno:hover {
    background: #D8D8D8;
    opacity: 1;
   }
   
tr.obrabotka:hover {
    background: #D8D8D8;
    opacity: 1;
   }
   
tr.avito:hover {
    background: #D8D8D8;
    opacity: 1;
}
tr.sold:hover {
    background: #D8D8D8;
    opacity: 1;
}
tr.notfound:hover {
    background: #D8D8D8;
    opacity: 1;
}
     
/*таблица price_shin*/
.table_price {
    overflow-x: scroll; /* Включает прокрутку, если контент не влезает */
    max-width: 100%;  /* Ограничивает ширину контейнера */
    -webkit-overflow-scrolling: touch; /* Делает скролл "масляным" на iOS */
}
    
.table_price table, 
.table_price th, 
.table_price td {
    border: 1px solid rgba(153, 153, 153, .6);
    overflow-wrap: break-word;
}
    
    
/* Первая колонка */
.table_price tr th:first-child, 
.table_price tr td:first-child {
    position: sticky;
    left: 1px;
    z-index: 11; /* чуть выше второй */
    background: rgba(240, 240, 240, 1.0);
}

/* Вторая колонка */
.table_price tr th:nth-child(2), 
.table_price tr td:nth-child(2) {
    position: sticky;
    left: 30px; /* Нужно указать ширину первой колонки, чтобы вторая встала рядом */
    z-index: 10;
    background: rgba(240, 240, 240, 1.0);
}
    /*--------------*/
    
/*def get_tovar(table, id)*/
.text-field {
    margin-bottom: 1rem;
}

.text-field__label {
    display: block;
    margin-bottom: 0.25rem;
}

.text-field__input {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px) auto;
    padding: 0.375rem 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #bdbdbd;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.text-field__input::placeholder {
    color: #212529;
    opacity: 0.4;
}

.text-field__input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #bdbdbd;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.25);
}

.text-field__input:disabled,
.text-field__input[readonly] {
    background-color: #f5f5f5;
    opacity: 1;
}

.text-field__input_invalid,
.text-field__input_valid {
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5625rem center;
    background-size: 1.125rem 1.125rem;
}

.text-field__input_valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.text-field__input_invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.text-field__input_valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgb(25 135 84 / 25%);
}

.text-field__message {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875rem;
    color: #dc3545;
}

.text-field__input_valid~.text-field__message {
    color: #198754;
}

.text-field__input_invalid~.text-field__message,
.text-field__input_valid~.text-field__message {
    display: block;
}

    input[name="id"] + .text-field__message {
    display: none !important;
}

.btn-outline {
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: bold;
    color: #000;
    background: rgba(120, 120, 120, 1.0);
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 15px; 
    display: inline-block;    /* Позволяет кнопке подстраиваться под контент */
    min-height: fit-content; 
    height: auto;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
}

/*--------------*/


/* =================
#ffbd00                 - наш желтый
#ff6f00                 - наш оранжевый
#000000                 - наш черный
Verdana Bold Italic     - наш шрифт
color: #999;            - наш серый
rgba(153, 153, 153, .6) - наш серый
<span class="nowrap">   - без переноса
🛠 🔧 ⛽ 
&nbsp
width: calc(100% - 40px); /* 40px — это сумма левого и правого margin, если не действует => * { box-sizing: border-box; }


==================*/
