/* https://colorscheme.ru/#2T31Yw0w8w0w0 */
/* Основной Цвет:
#00C12B	#24913C	#007D1C	#38E05D	#65E080
Вторичный Цвет A:
#FF8700	#BF7C30	#A65800	#FFA540	#FFBD73
Вторичный Цвет B:
#CB0077	#982669	#FFA540	#E5399E	#E567B1 */

/* Обнуление всего на свете */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    border: transparent solid 0.5px;
    padding: 2px;
    text-decoration: none;
    color: #007D1C;
}

a:hover {
    opacity: 0.8;
    border: #007D1C solid 0.5px;
    border-radius: 5px;
    border-collapse: collapse;
}

p {
    text-indent: 40px;
}

li,
ol,
ul {
    list-style: none;
}

img {
    vertical-align: top;
}

h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

body {
    height: 100%;
    line-height: 1;
    font-size: 24px;
    font-family: "Sofia Sans Condensed", sans-serif;
    min-height: 100vh;
    /* overflow-y: hidden; */
    -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
    width: 0px;
    /* Chrome, Safari, Edge */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.content::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Edge */
}

/* Исключение горизонтальной прокрутки */
.wrapper {
    min-height: 100%;
    /* overflow: hidden; */
    margin: 6px;
}

/* Ограничивающий контейнер */
._container {
    max-width: 1046px;
    margin: 0px auto;
    /*!!!*/
    /* position: relative; */
    /* background: black; */
}

/* Класс, отвечающий за положение по центру по отношению к родительскому классу */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-vertical {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

/* Прячем */
.hidden {
    visibility: hidden;
}

/* Прячем + убираем так, чтобы не занимал место */
.absent {
    display: none;
}

.top-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Adjust as needed */
    background-color: #f8f9fa;
    /* Adjust as needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: Adds a shadow below the top div */
    z-index: 1000;
    /* Ensure it stays above other content */
}

/* ВКЛАДКИ */
[data-tab-content] {
    display: none;
}

.active[data-tab-content] {
    display: block;
}

.tabs {
    display: flex;
    justify-content: left;
    outline: none;
}

.tab,
.tab__active {
    padding: 8px;
    border-right: #FFA540 solid 3px;
    border-top-right-radius: 30px;
    border-top: #FFA540 solid 3px;
    border-left: #FFA540 solid 3px;
    border-bottom: #FFA540 solid 1px;
    border-top-left-radius: 30px;
    color: #007D1C;
    /* #A65800 */
    cursor: pointer;
    flex: 1;
    text-align: center;
    outline: none;
    /* border: #84004D 1px solid; */
    /* height: 60px; */
}

.line {
    width: 100%;
    height: 3px;
    background-color: #FFA540;
    box-sizing: inherit;
}

.tab__active {
    color: #007D1C;
    background: linear-gradient(to bottom, #FFA540, white);
}

.tab__content {
    border-left: #FFA540 solid 3px;
    border-right: #FFA540 solid 3px;
    border-bottom: #FFA540 solid 3px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 10px;
    height: calc(100vh - 60px);
    /* margin-top: 50px; */
    overflow-y: auto;
    scrollbar-width: none;
}

.table-restriction-height {
    overflow-y: auto;
    scrollbar-width: none;
    height: calc(100vh - 140px);
}

.tab__content h1 {
    font-weight: 900;
}

/* ИНФО */
img {
    margin: 3px;
    margin-bottom: 0;
    /* width: 100px;
    height: 100px; */
    /* max-height: 90px; */
    border-radius: 10%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    object-fit: cover;
    cursor: pointer;
}

/* РЕГИСТРАЦИЯ */
.input-row {
    display: flex;
    align-items: center;
}

.input-row__label {
    margin: 8px 8px 8px 0px;
    /* width: 150px; */
    color: black;
    font-size: 24px;
    white-space: nowrap;
    flex-basis: 100px;
}

.input-row__field,
.input-row__textarea {
    width: 200px;
    margin: 8px 0 8px 8px;
    height: 50px;
    background: linear-gradient(90deg, #FFBD73, #FFA540);
    border-color: #007D1C;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;

    font-size: 24px;
    font-family: inherit;

    /* flex-basis: 100px; */
    flex-grow: 1;
    box-sizing: border-box;
    outline: none;
    padding: 2px;
}

.input-row__textarea {
    width: 300px;
    height: 50px;
}

.btn-row-auth-ref {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Кнопки */
.btn {
    display: flex;
    /* было inline-flex */
    height: 66px;
    border: 3px solid #007D1C;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(64deg, #BF7C30, #FFBD73);
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px;
    /* вместо margin у текста */
}

.btn:hover {
    opacity: 0.8;
}

.btn__text,
.btn__text_rare {
    font-family: Inter;
    font-size: 20px;
    font-weight: bold;
    color: #007D1C;
    text-align: center;
    margin: 0;
    /* убираем, чтобы не сдвигало */
}

.btn__text_rare {
    color: #65E080;
}

.btn__small,
.btn__small_rare {
    margin: 3px;
    font-family: Inter;
    font-size: 14px;
    font-weight: bold;
    color: #007D1C;
}

.btn__small_rare {
    color: #65E080;
}

/* УЧАСТНИКИ */
.wombats-table {
    display: grid;
    border-radius: 10px;
    border: #007D1C solid 3px;
    margin-top: 4px;
    /*                       № Имя  Очки Результат Время Место */
    grid-template-columns: 50px 1fr 40px 50px 80px 40px;
    cursor: pointer;
}

.wombats-table.sticky-top>div {
    cursor: pointer;
}

/* ====== РЕЖИМ 2 (только отличия) ====== */
.wombats-table.progressor-mode {
    grid-template-columns: 50px minmax(60px, 40%) 1fr;
}

/* скрыть колонки 4–6 */
.wombats-table.progressor-mode> :nth-child(6n+4),
.wombats-table.progressor-mode> :nth-child(6n+5),
.wombats-table.progressor-mode> :nth-child(6n+6),
.wombats-table.progressor-mode> :nth-child(6n+3)>span {
    display: none;
}

.wombats-table.progressor-mode.sticky-top> :nth-child(6n+3)>span {
    display: block;
}

.wombats-table.progressor-mode> :nth-child(6n+3)>div {
    display: flex;
}

.wombats-table> :nth-child(6n+3)>div {
    display: none;
}

.sticky-top {
    position: sticky;
    top: 5px;
    height: 50px;
    font-weight: 900;
    font-size: 50px;
}

.wombats-table.sticky-top>div {
    font-size: 32px;
}

.wombats-table>div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    flex-basis: 50px;
    flex-shrink: 0;
    flex-grow: 0;
    height: 100%;
    border-right: #007D1C solid 1px;
    font-size: 24px;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    /* разрешаем перенос */
}

.wombats-table>div:nth-child(6n),
.wombats-table.progressor-mode>div:nth-child(3n) {
    border-right: none;
    /* убрать правый бордер у последнего в ряду */
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
}

.wombats-table_row_waiting {
    color: gray;
}

.wombats-table.cell>div {
    border-bottom: #007D1C solid 1px;
    justify-content: start;
}

.wombats-table.cell>div:nth-last-child(-n+6),
.wombats-table.cell.progressor-mode>div:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Светло-синий для мужчин */
.wombats-table > div.top-male {
    background-color: rgba(0, 125, 28, 0.15) !important; /* Можно использовать ваш зеленый #007D1C с прозрачностью */
    /* border-bottom: 2px solid #007D1C; */
}

/* Нежно-розовый или фиолетовый для женщин */
.wombats-table > div.top-female {
    background-color: rgba(203, 0, 119, 0.15) !important; /* Ваш вторичный цвет B #CB0077 с прозрачностью [5] */
    /* border-bottom: 2px solid #CB0077; */
}

.noted-person {
    animation: change-background 2s 5
}

@keyframes change-background {
    0% {
        background: linear-gradient(60deg, #FFBD73, #A65800);
    }

    50% {
        background: linear-gradient(60deg, #65E080, #007D1C);
    }

    100% {
        background: linear-gradient(60deg, #FFBD73, #A65800);
    }

}

/* КП */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 3 columns */
    grid-template-rows: repeat(5, auto);
    /* 5 rows */
    gap: 10px;
    /* Optional: adds space between grid items */
}

.grid-item,
.grid-item-well-done {
    /* padding: 20px;
    background-color: lightblue; */
    /* border: 1px solid #333; */
    text-align: center;
    position: relative;
    display: flex;
    align-items: end;
}

.grid-item-main-photo-well-done {
    outline: #007D1C solid 6px;
}

.grid-item-main-photo-well-done-local {
    outline: #FFF200 solid 6px;
}

@keyframes outlineBlink {

    0%,
    100% {
        outline-color: yellow;
    }

    50% {
        outline-color: rgba(0, 125, 28, 0.5);
    }
}

.blinking-outline {
    outline: 6px solid #007D1C;
    animation: outlineBlink 3s infinite;
}

.grid-item-main-photo {
    max-height: none;
    width: 40vw;
    height: auto;
    border-radius: 10px;
    /* border: #A65800 solid 6px; */
}

.grid-item-main-photo-pointed {
    outline: #A65800 solid 6px;
    /* animation: pulse 1s infinite ease-in-out; */
}

.grid-item-kp-noted {
    outline: #007D1C solid 6px;
    /* animation: pulse 1s infinite ease-in-out; */
}

.grid-item-qr-icon,
.grid-item-well-done-icon {
    width: 15vw;
    height: auto;
    max-height: none;
    border-radius: 5px;
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 5;
    transition: transform 0.2s ease-in-out;
    box-shadow: none;
}

.grid-item-qr-icon:hover {
    animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(0.97);
    }

    75% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.grid-item-kp-number,
.grid-item-kp-weight {
    -webkit-text-stroke: 1px black;
    text-shadow: 0 0 3px black;
    color: whitesmoke;
    font-size: 64px;
    font-weight: 900;
    position: absolute;
    bottom: -7px;
    left: 10px;
    z-index: 5;
}

.grid-item-kp-weight {
    font-size: 32px;
    left: 70px;
    color: yellow;
    bottom: -2px;
}

.carousel {
    /* display: block; */
    color: black;
    /* border: #FFBD73 solid 4px; */
    /* border-radius: 10px; */
    /* padding: 5px; */
    font-size: 20px;
    font-weight: bold;

    /* width: 80%; */

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -51%);
    /* background: linear-gradient(-26deg, #1240AB, #6C8CD5); */
    /* padding: 20px; */
    z-index: 1000;
    text-align: unset;

}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button {
    flex: 1;
    padding: 2px;
    background: linear-gradient(90deg, #FFBD73, #FFA540);
    border-color: #007D1C;
    border-style: solid;
    border-width: 4px;
    border-radius: 10px;
    text-align: center;
    font-weight: 900;
    font-size: 40px;
    cursor: pointer;
}

.desk {
    /* display: block; */
    color: black;
    border: #FFBD73 solid 3px;
    border-radius: 10px;
    padding: 5px;
    font-size: 20px;
    /* font-weight: bold; */

    width: 80%;
    height: 90%;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -51%);
    background: linear-gradient(-26deg, #FFA540, #FFBD73);
    /* padding: 20px; */
    z-index: 1000;
    text-align: unset;
    overflow-y: auto;
    scrollbar-width: none;

}

.reg-auth-form {
    /* background: linear-gradient(93deg, #6899D3, #0E53A7);
    border-color: linear-gradient(93deg, #FFD540, #998026);
    border-style: solid;
    border-width: 5px;
    border-radius: 10px; */
    width: 328px;
    padding: 10px;
    margin: 2px;
    /* color: #f0cb44; */
}

.reg-row,
.info-field {
    margin: 3px;
    padding: 3px;
    /* height: 40px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border: #1e0fe9 3px solid; */
    /* line-height: 40px; */
}

.reg-row img {
    height: 30px;
    margin: 5px;
}

.reg-row span {
    font-size: x-large;
}

.reg-row input,
.info-field input,
.info-field select {
    background: linear-gradient(93deg, #FFD540, #998026);
    border: 1px solid #998026;
    border-radius: 10px;
    height: 48px;
    width: 200px;
    margin: 3px;
    padding: 0 10px;
    font-size: 36px;
    font-family: inherit;
    color: #000;
    line-height: 48px;
    /* центрирует текст по вертикали */
    box-sizing: border-box;
}

/* Состояние при автозаполнении Chrome */
.reg-row input:-webkit-autofill,
.info-field input:-webkit-autofill {
    font-size: 36px !important;
    line-height: 48px !important;
    font-family: inherit !important;
    -webkit-text-fill-color: #000 !important;
    box-shadow: 0 0 0px 1000px #FFD540 inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* Иногда Chrome добавляет паддинги при autofill — обнуляем */
.reg-row input:-webkit-autofill::first-line,
.info-field input:-webkit-autofill::first-line {
    font-size: 36px !important;
    line-height: 48px !important;
}

.info-field input,
.info-field select {
    border-width: 1px;
    height: 30px;
    padding-left: 10px;
    font-size: 24px;
}

.btn-reg {
    display: flex;
    /* padding-right: 50px; */
    /* vertical-align: middle; */
    border: #65E080 3px solid;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(64deg, #BF7C30, #A65800);
    margin-right: 10px;
    line-height: 30px;
    cursor: pointer;
    height: 60px;
}

.btn-reg:hover {
    opacity: 0.8;
}

.btn-reg span {
    color: #65E080;
    margin: 10px;
    margin-top: 15px;
    vertical-align: text-bottom;
    font-size: 48px;
}

.help-area {
    /* display: block; */
    color: black;
    border: #65E080 solid 3px;
    border-radius: 10px;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;

    width: 80vw;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(-26deg, #FFA540, #FF8700);
    padding: 20px;
    z-index: 1000;
    text-align: unset;
    word-wrap: break-word;
    /* старый, но надёжный способ */
    overflow-wrap: break-word;
    /* современный аналог */
}

.scanner-area {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    color: black;
    border: #65E080 solid 3px;
    border-radius: 10px;
    padding: 5px;
    width: calc(100% - 40px);
    max-width: calc(100vh - 40px);
    aspect-ratio: 1/1;
    background: linear-gradient(-26deg, #FFA540, #FF8700);
    /* padding: 20px; */
    z-index: 1000;
}

.scanner-area video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* чтобы видео заполняло квадрат, без смещения */
}

.scanner-area-btn {
    padding: 3px;
    font-size: 24px;
    height: auto;
    border-radius: 5px;
    border-width: 1px;
    margin-bottom: 3px;
    z-index: 400;
}

.waiting {
    position: fixed;
    top: 50%;
    left: 50%;
}

.full-vombat-info-area {
    display: flex;
    flex-direction: column;
    /* color:white; */
    border: #FFBD73 solid 3px;
    border-radius: 10px;
    padding: 5px;
    font-size: 20px;
    width: 80%;
    height: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -51%);
    background: linear-gradient(-26deg, #FFA540, #FFBD73);
    z-index: 1000;
    overflow-y: auto;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .fit-font {
        font-size: 12px;
    }

    .conditions-font {
        font-size: 5vw;
    }

    .code-font {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .code-font {
        font-size: 10px;
    }
}

@media (min-width: 769px) {
    .fit-font {
        font-size: 20px;
    }

    .conditions-font {
        font-size: 2vw;
    }

    .code-font {
        font-size: 18px;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Class that applies the animated gradient color change */
.gradient-text {
    /* font-size: 40px;
    font-weight: bold; */
    background: linear-gradient(90deg, #A65800, #BF7C30, #84004D, #982669, #84004D, #A65800);
    background-size: 400%;
    /* Stretch the background gradient */
    background-clip: text;
    -webkit-background-clip: text;
    /* For Safari */
    color: transparent;
    /* Hide the actual text color */
    animation: gradientShift 5s linear infinite;
}

select option {
    color: black;
}

select option:disabled {
    color: gray;
}

.hamburger {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom, #FFA540, #FFD699);
    border: 2px solid #A65800;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    z-index: 999;
}

.hamburger:hover {
    transform: scale(1.1);
    background: linear-gradient(to bottom, #FFB85C, white);
}

.hamburger div {
    width: 40px;
    height: 3px;
    background-color: #007D1C;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.menu {
    display: inline-flex;
    flex-direction: column;
    padding: 8px;
    border: #FFA540 solid 3px;
    border-radius: 30px;
    color: #A65800;
    cursor: pointer;
    text-align: center;
    outline: none;
    position: absolute;
    top: 40px;
    right: 12px;
    z-index: -1;
    background-color: white;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.menu.show {
    opacity: 1;
    transform: translateY(0);
    z-index: 1000;
}

.menu div {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: #A65800 solid 0.5px;
    height: 50px;
}

.menu .current {
    color: #007D1C;
    background: linear-gradient(to bottom, #FFA540, white);
}

.menu .first,
.last {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu .last {
    border-bottom: none;
}

.prohibited {
    background: linear-gradient(to bottom, gray, white);
    cursor: auto;
}

.menu div:hover {
    opacity: 0.8;
}

/* Стиль для кнопки в гамбургер-меню */
.menu-registration-btn {
    background: linear-gradient(to bottom, #FF8700, #FFA540) !important; /* Оранжевый из вашей палитры */
    color: white !important;
    font-weight: 900;
    border-bottom: #A65800 solid 2px !important;
    padding: 15px !important;
    text-transform: uppercase;
}

/* Яркая кнопка на главной странице */
.registration-main-page-btn {
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 125, 28, 0.4);
}

.qr-good {
    position: absolute;
    border: 5px solid #A65800;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
    padding: 20px;
    background-color: white;
    width: calc(100% - 140px);
    height: calc(100% - 140px);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-good.qr-window-show {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    z-index: 5000;
    opacity: 1;
}

/* ПРОГРЕССОР */
/*  */
.progressor-container {
    display: flex;
    border: #A65800 solid 2px;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    margin: 2px;
    direction: ltr;
}

.progressor-part-passed,
.progressor-part-rest {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progressor-part-passed {
    background-color: green;
    border-bottom-left-radius: 9999px;
    border-top-left-radius: 9999px;
}

.progressor-part-rest {
    background-color: lightgreen;
    border-bottom-right-radius: 9999px;
    border-top-right-radius: 9999px;
}

.progressor-part-passed span,
.progressor-part-rest span,
.fictive-min {
    -webkit-text-stroke: 1px black;
    color: whitesmoke;
    font-size: 36px;
    font-weight: 900;
    margin-top: 3px;
}

/*  */
/* ПРОГРЕССОР */

.toggle-progressor-view {
    width: 40px;
    box-shadow: none;
    position: absolute;
    right: 70px;
    bottom: 0px;
}

.toggle-progressor-view:hover {
    transform: scale(1.1);
}

.fictive-min {
    visibility: hidden;
    position: absolute;
    top: 10px;
    left: 20px;
}

.kp-noted-img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow: none;
}

.noted-kp-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    background: linear-gradient(to bottom, #FFA540, #FFD699);
    border: 2px solid #A65800;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 36px;
    font-weight: 900;
    padding: 20px 30px 10px 10px;
    display: flex;
    z-index: -1;
    background-color: white;
    opacity: 0;
    transform: translate(-50%, -20px);
    transition: all 0.3s ease;
}

.noted-kp-info.show {
    opacity: 1;
    transform: translate(-50%, 0);
    z-index: 10;
}

.right-info-plate,
.right-info-plate-help,
.right-info-plate-stat,
.right-info-plate-participants-on-map {
    position: absolute;
    right: 9px;
    bottom: 100px;
    height: 100px;
    width: 50px;
    border: 5px solid #A65800;
    border-right: none;
    border-radius: 50px 0 0 50px;
    z-index: 100;
    background-color: beige;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    opacity: 0.5;
    transform-origin: right center;
}

.right-info-plate-help {
    bottom: 30px;
    height: 60px;
    width: 30px;
    border-radius: 30px 0 0 30px;
    font-size: 36px;
    font-weight: 900;
    color: #007D1C;
}

.right-info-plate-stat {
    bottom: 210px;
    height: 60px;
    width: 30px;
    border-radius: 30px 0 0 30px;
}

.right-info-plate-participants-on-map {
    bottom: 290px;
}

.right-info-plate:hover,
.right-info-plate-help:hover,
.right-info-plate-stat:hover,
.right-info-plate-participants-on-map:hover {
    opacity: 1;
    transform: scale(1.1);
}

.right-info-plate.bounce {
    animation: hover-bounce 0.5s ease;
}

@keyframes hover-bounce {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.noted-kp-info-filter-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    margin-right: 30px;
}

.noted-kp-info-filter-icons img {
    display: flex;
    opacity: 0.4;
    /* тусклые по умолчанию */
    cursor: pointer;
    transition: all 0.25s ease;
    filter: grayscale(60%);
}

.noted-kp-info-filter-icons img:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.noted-kp-info-filter-icons img.activated {
    opacity: 1;
    /* полная яркость */
    filter: none;
    /* цветное */
    transform: scale(1.1);
    box-shadow: 0 0 10px #00ff55aa;
    border-radius: 10px;
}

.rotating {
    animation: spin 10s linear infinite;
    transform-origin: center center;
    /* центр вращения */
    display: block;
    /* чтобы не было смещения по baseline */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal-window-close-img {
    /* position: absolute;  */
    /* left: 10px; 
    top: 10px;  */
    box-shadow: none;
    border: solid #A65800 2px;
    float: left;
    /* обтекание справа */
    margin: 10px;
    /* отступ справа и снизу от картинки */
}

.scanned-once,
.entered-once {
    width: 15px;
    box-shadow: none;
    position: absolute;
    right: 2px;
    /* top: 2px */
}

/* ПОДРОБНОСТИ ГОНКИ УЧАСТНИКА: КП ПО ЧАСАМ И КАРТА */
.user-race-container {
    z-index: 5555;
    position: absolute;
    transform: translate(1%, 1%);
    left: 0px;
    top: 0px;
    background-color: white;
    width: 98%;
    height: 98%;
    border: #A65800 solid 3px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    padding: 5px;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.user-race-kp-table {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 2fr 2fr 2fr;
    border-left: #007D1C solid 1px;
    border-top: #007D1C solid 1px;
}

.user-race-kp-table div {
    display: flex;
    align-items: center;
    border-right: #007D1C solid 1px;
    border-bottom: #007D1C solid 1px;
    border-collapse: collapse;
    padding: 2px;
}

.user-race-kp-table img {
    box-shadow: none;
    width: 24px;
}

.user-race-kp-table>.header {
    display: flex;
    font-weight: bold;
    /* жирный текст */
    align-items: center;
    /* центрирование */
    background-color: #f0f0f0;
    /* фон шапки */
    justify-content: center;
}

.user-race-kp-table>.futter {
    font-weight: 600;
    /* жирный текст */
    background-color: #f0f0f0;
    /* фон шапки */
    border-top: #007D1C solid 2px;
}

.user-race-load-btns {
    display: flex;
    gap: 20px;
    width: 100%;
}

.user-race-load-btns img {
    width: 50px;
    box-shadow: none;
    border: #A65800 4px solid;
    border-radius: 5px;
    background-color: #FFD540;
}

.user-race-load-btns img.prohibited {
    cursor: auto;
}

#user-race-map {
    height: 100vh;
}

#user-race-map img {
    box-shadow: none;
    border-radius: 0;
}

.kp-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007d1c;
    border: 2px solid white;
    box-shadow: 0 0 2px #000;
}

.kp-icon.passive {
    background: grey;
}

.leaflet-tooltip.my-tooltip {
    background-color: rgba(255, 215, 0, 0.2);
    /* полупрозрачный фон */
    color: black;
    font-weight: bold;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 2px 2px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

/* активный КП — мигает */
.kp-icon.active {
    animation: blink 1s infinite;
}

.kp-icon.next {
    background: #ff3333;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(2);
    }
}

.kp-icon.passed {
    background: #65E080;
}

.user-race-map-btn {
    box-shadow: none;
    width: 42px;
    position: absolute;
    left: 5px;
    bottom: 5px;
    z-index: 5555;
    border: #A65800 2px solid;
    background-color: azure;
    opacity: 0.8;
    display: none;
    cursor: pointer;
}

.user-race-map-btn:hover,
.user-race-map-btn.active {
    opacity: 0.8;
    animation: pulse 1s infinite ease-in-out;
}

#user-race-map-stat {
    display: none;
    border: #A65800 solid 2px;
    border-radius: 5px;
    padding: 5px;
    font-family: Consolas;
    position: absolute;
    font-size: 16px;
    right: 5px;
    top: 5px;
    background-color: azure;
    opacity: 0.8;
    z-index: 5000;
}

#user-race-map-stat.bounce {
    animation: hover-bounce 0.5s ease;
}

.pie {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(#007d1c 0deg, #007d1c var(--deg), #eee var(--deg));
    display: inline-block;
    position: relative;
    border: 4px solid green;
    opacity: 0.8;
}

.empty-pie,
.live-marker.gps,
.live-marker.kp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid red;
    background: #eee;
    opacity: 0.5;
}

.live-marker.gps,
.live-marker.kp {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: 900;
    width: 2rem;
    height: 2rem;
    border: 4px solid green;
}

.live-marker.kp {
    border: 4px solid blue;
}

/* ПОДРОБНОСТИ ГОНКИ УЧАСТНИКА: КП ПО ЧАСАМ И КАРТА */

.admin-settings-container input {
    width: 100px;
}
.emphasize {
    font-weight: 900;
    font-size: 36px;
    background-color: #65E080;
    animation: bgPulse 2s infinite alternate;
}
@keyframes bgPulse {
    0% {background-color: #65E080;}
    0% {background-color: chartreuse; scale: 0.95;}
    100% {background-color: #65E080;}
}

.wombats-table span {
    font-size:0.8em; 
    font-weight: 500
}