.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.separator {
    font-size: 2em;
    line-height: 1;
    align-self: center;
    padding: 0 10px;
}

.number {
    font-size: 20px;
    font-weight: bolder;
    line-height: 1.25;
}

.label {
    font-size: 14px;
}

.vehicle-frame {
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
}

.vehicle-license {
    background: #fff;
    border: 2px solid #526884;
    border-radius: 8px;
    cursor: pointer;
    filter: grayscale(50%);
    font-size: 18px;
    font-weight: 600;
    padding: 3px 15px;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: fit-content;
    line-height: 1.2;
    text-transform: uppercase;
}

.vehicle-number {
    position: relative;
    display: flex;
    align-items: center;
}

.vehicle-number::before,
.vehicle-number::after {
    background: #526884;
    border-radius: 5px;
    content: "";
    height: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    z-index: 1;
}

.vehicle-number::before {
    left: -8px;
}

.vehicle-number::after {
    right: -8px;
}

.vehicle-number .region-code {
    position: relative;
    padding-right: 0.25rem;
}

.vehicle-number .region-code p {
    width: 25px;
    text-align: center;
}

.vehicle-number .region-code::after {
    background: #526884;
    content: "";
    height: calc(100% - -10px);
    position: absolute;
    right: 0;
    top: -5px;
    width: 2px;
}

.vehicle-number .region-code input {
    min-width: 40px;
    max-width: 55px;
}

.vehicle-number .plate-character {
    position: relative;
    padding-left: 0.15rem;
}

.vehicle-number .plate-character p {
    width: 20px;
    text-align: center;
}

.vehicle-number .plate-character input {
    min-width: 30px;
    max-width: 45px;
}

.vehicle-number .plate-digit {
    position: relative;
}

.vehicle-number .plate-digit.legal {
    padding-left: 0.5rem;
}

.vehicle-number .plate-digit p {
    width: 35px;
    text-align: center;
}

.vehicle-number .plate-digit input {
    min-width: 50px;
    max-width: 70px;
}

.vehicle-number .plate-serial {
    position: relative;
    padding-right: 0.25rem;
}

.vehicle-number .plate-serial p {
    width: 30px;
    text-align: center;
}

.vehicle-number .plate-serial input {
    min-width: 45px;
    max-width: 60px;
}

.vehicle-number .plate-serial.legal input {
    min-width: 60px !important;
    max-width: 80px !important;
}

.vehicle-number .plate-flag {
    width: 11px;
    height: 20px;
}

.region-code input::placeholder,
.plate-character input::placeholder,
.plate-digit input::placeholder,
.plate-serial input::placeholder {
    color: #b0b0b0;
    opacity: 1;
}

.region-code input:focus::placeholder,
.plate-character input:focus::placeholder,
.plate-digit input:focus::placeholder,
.plate-serial input:focus::placeholder {
    color: #d9d9d9;
}

.nk-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.nk-block.nk-section-content {
    height: calc(100vh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-safe-area-inset-bottom, 0px) - var(--tg-content-safe-area-inset-bottom, 0px) - 80px) !important;
}

.w-235px {
    width: 235px !important;
}

.garage-slider {
    margin-bottom: 20px;
}

.car-card {
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    overflow: hidden;
}

.car-card .swiper {
    flex: 0 0 auto;
    width: 100%;
}

.car-info {
    width: 200px;
    max-width: 200px;
    text-align: left;
}

.car-name {
    font-size: 18px;
    padding-top: 0.5rem;
}

.car-image {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.no-cars {
    text-align: center;
}

.fs-24px {
    font-size: 24px;
}

.user-info {
    line-height: 1.4;
}

.lead-text {
    margin-bottom: 2px;
}

.btn.btn-round {
    border-radius: 20px;
}

.btn.btn-xl.btn-round {
    border-radius: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
}

.is-mobile .nk-block.nk-section-content {
    height: calc(100vh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-safe-area-inset-bottom, 0px) - var(--tg-content-safe-area-inset-bottom, 0px) - 280px);
    overflow: hidden auto;
}

.nk-section-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/***/

.vehicle-frame .vehicle-number p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    height: 28px;
    color: #526884;
    text-transform: uppercase;
    border: none;
    text-align: center;
    background-color: transparent;
    outline: none;
}

.vehicle-frame .vehicle-number .region-code p {
    width: 32px;
}

.vehicle-frame .vehicle-number .plate-character p {
    width: 24px;
}

.vehicle-frame .vehicle-number .plate-digit p {
    width: 40px;
}

.vehicle-frame .vehicle-number .plate-serial p {
    width: 36px;
}

.vehicle-frame .vehicle-number .plate-flag {
    width: 14px;
    height: 26px;
}


.vehicle-frame.frame-lg .vehicle-number p {
    font-size: 26px;
    height: 35px;
}

.vehicle-frame.frame-lg .vehicle-number .region-code p {
    width: 40px;
}

.vehicle-frame.frame-lg .vehicle-number .plate-character p {
    width: 30px;
}

.vehicle-frame.frame-lg .vehicle-number .plate-digit p {
    width: 50px;
}

.vehicle-frame.frame-lg .vehicle-number .plate-serial p {
    width: 45px;
}

.vehicle-frame.frame-lg .vehicle-number .plate-flag {
    width: 17px;
    height: 32px;
}

.vehicle-frame.frame-md .vehicle-number p {
    font-size: 24px;
    height: 32px;
}

.vehicle-frame.frame-md .vehicle-number .region-code p {
    width: 36px;
}

.vehicle-frame.frame-md .vehicle-number .plate-character p {
    width: 28px;
}

.vehicle-frame.frame-md .vehicle-number .plate-digit p {
    width: 45px;
}

.vehicle-frame.frame-md .vehicle-number .plate-serial p {
    width: 40px;
}

.vehicle-frame.frame-md .vehicle-number .plate-flag {
    width: 15px;
    height: 30px;
}

.vehicle-license input {
    font-size: 24px !important;
    font-weight: 600 !important;
    height: 35px;
    color: #526884;
    text-transform: uppercase;
    border: none;
    text-align: center;
    background-color: transparent;
    outline: none;
}




.brand-option {
    display: flex;
    align-items: center; /* Выравнивание иконки и текста по вертикали */
    gap: 10px; /* Добавляем отступ между иконкой и текстом */
}

.brand-icon {
    display: inline-flex; /* Для выравнивания содержимого */
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    width: 32px; /* Размер контейнера */
    height: 32px;
    margin-right: 8px;
    border-radius: 8px; /* Округленные углы */
    background-color: #f0f0f0; /* Серый фон */
    position: relative; /* Для корректной работы позиционирования */
    box-sizing: border-box; /* Включаем padding в общую ширину/высоту */
    overflow: hidden; /* Скрываем излишки изображения */
    padding: 7px; /* Отступы внутри */
    object-fit: contain;
    object-position: center;
}