

/* Start:/local/components/ticket/templates/.default/style.css?176457221211120*/
/* style.css */
.bkt-body {
   /* background-color: #f5f5f5;
    padding: 5rem 2rem;*/
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;

}

.bkt-block {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    max-width: 400px;
    flex: 1 1 300px;
}

.bkt-block h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.bkt-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.bkt-day {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.bkt-day:hover {
    background-color: #eef7fa;
}

.bkt-day.selected {
    background-color: #04C0A8;
    color: white;
    border-color: #04C0A8;
}

.bkt-day.disabled {
    color: #ccc;
    pointer-events: none;
}

.bkt-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 15px;
}
/*
.bkt-nav button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    border-radius: 50%;
    border: 1px solid #ddd;
}*/

.bkt-duration-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.bkt-duration-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
}

.bkt-duration-btn.selected {
    border-color: #04c0a8;
    background-color: #04c0a8;
    color: #ffffff;
}

.bkt-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.bkt-time-slot {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.bkt-time-slot:hover {
    background-color: #eef7fa;
    border-color: #04c0a8;
}

.bkt-time-slot.selected {
    background-color: #04c0a8;
    color: white;
    border-color: #04c0a8;
}

.bkt-time-slot.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.bkt-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.bkt-guest-label {
    font-weight: 500;
    min-width: 120px;
}

.bkt-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bkt-counter-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-weight: bold;
}

.bkt-counter-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
}

.bkt-note {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bkt-note::before {
    content: "●";
    color: #ff6b6b;
    font-size: 8px;
}

.bkt-p {
    font-size: 12px;
    margin: 10px 0;
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bkt-body {
        flex-direction: column;
    }

    .bkt-block {
        width: 100%;
    }
}

/* Заблокированный блок гостей */
.bkt-block-disabled {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

/* Опционально: затемнение или надпись "выберите время" */
.bkt-block-disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.01);
    cursor: not-allowed;
}

.bkt-cart-items {
    margin: 15px 0;
    min-height: 40px;
    font-size: 14px;
    color: #555;
}

.bkt-cart-items p {
    margin: 0;
    font-style: italic;
    color: #999;
}

.bkt-cart-total {
    margin: 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.bkt-pay-btn {
    width: 100%;
    padding: 12px;
    background-color: #12476b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bkt-pay-btn:hover:not(:disabled) {
    background-color: #04b098;
}

.bkt-pay-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* --- Корзина внутри блока гостей --- */
.bkt-cart-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.bkt-cart-section h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #333;
}

.bkt-cart-items {
    margin-bottom: 12px;
    min-height: 40px;
    font-size: 14px;
    color: #555;
}

.bkt-cart-items p {
    margin: 0;
    font-style: italic;
    color: #999;
}

.bkt-cart-total {
    margin: 12px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.bkt-pay-btn {
    width: 100%;
    padding: 12px;
    background-color: #04b098;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bkt-pay-btn:hover:not(:disabled) {
    background-color: #04b098;
}

.bkt-pay-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

.bkt-time-slot.loading__status_low {
    background-color: #ddf6f5 !important;
}

.bkt-time-slot.loading__status_middle {
    background-color: #e3ff94 !important;
}

.bkt-time-slot.loading__status_high {
    background-color: #fcf4c7 !important;
}

.bkt-time-slot.loading__status_none {
    background-color: #ebebeb !important;
}

.bkt-time-slot.selected {
    background-color: #04c0a8 !important;
    color: white !important;
}

.bkt-time-slot.disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    background-color: #aaa !important;
}

/* --- Легенда загруженности --- */
.bkt-loading-legend {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
}

.bkt-legend-label {
    font-weight: 500;
    min-width: 80px;
    display: block;
    width: 100%;
}

.bkt-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bkt-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.bkt-legend-low {
    background-color: #ddf6f5;
}

.bkt-legend-middle {
    background-color: #e3ff94;
}

.bkt-legend-high {
    background-color: #fcf4c7;
}

.bkt-legend-none {
    background-color: #ebebeb;
    border: 1px solid #ddd;
}

.bkt-legend-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/*
.bkt-nav button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.bkt-nav button:hover {
    background-color: #f0f0f0;
}
*/
/* Font Awesome иконки */
.bkt-nav .fas {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* --- Круглые кнопки с обводкой (Font Awesome) --- */
.bkt-nav-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #ccc;        /* серая обводка */
    border-radius: 50%;            /* круг */
    background: transparent;       /* прозрачный фон */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0 4px;
    transition: all 0.2s ease;
}

.bkt-nav-btn:hover {
    border-color: #999;            /* темнее при наведении */
}

.bkt-nav-btn:active {
    transform: scale(0.95);
}

.bkt-nav-btn .fas {
    font-size: 14px;
    color: #999;                   /* серый цвет иконки */
    line-height: 1;
}

.bkt-current-month {
    font-weight: bold;
    color: #333333;
}

/* --- Разделитель в корзине --- */
.bkt-cart-separator {
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}

/* Выравнивание числа по центру в счётчиках */
.bkt-counter-input {
    text-align: center;
    width: 50px;
    height: 40px;
    border: none;
}

/* Убираем стрелки у числовых полей */
.bkt-counter-input {
    text-align: center;
    -moz-appearance: textfield; /* Firefox */
}

/* Скрываем стрелки в WebKit (Chrome, Safari, Edge) */
.bkt-counter-input::-webkit-outer-spin-button,
.bkt-counter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* --- Модальное окно аутентификации --- */
.bkt-auth-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

@media (max-width: 768px) {
    .bkt-auth-modal {
        align-items: flex-start;
        padding-top: 60px;
    }
}

.bkt-auth-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
}

.bkt-auth-modal h3 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.bkt-auth-modal input,
.bkt-auth-modal select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.bkt-auth-btn {
    width: 100%;
    padding: 12px;
    background: #04c0a8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.bkt-auth-btn:hover {
    background: #e55a5a;
}

.bkt-link {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    margin-top: 15px;
    padding: 0;
    font-size: 14px;
}

.bkt-error {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Затемнение основного контента */
.bkt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.bkt-ticket-form-wrapper {
    position: relative;
    background-color: #f5f5f5;
    padding: 5rem 2rem;
    border-radius: 1rem;
    overflow: hidden;
}
/* End */
/* /local/components/ticket/templates/.default/style.css?176457221211120 */
