

/* Start:/local/components/quest/schedule/templates/.default/style.css?17506990725687*/
.schedule-wrapper {
    color: black;
    width: 100%;
}

/* Заголовок слева сверху */
.header-corner {
    background: #f0f0f0;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.quest-name {
    padding: 5px;
    height: 63px;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    background: rgba(0, 0, 0, 1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    margin-bottom: 30px;
    display: flex;
    padding-top: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

/* Ряд с датами */
.dates-row {
    display: flex;
    overflow-x: auto;
    margin: 0 10px
}

.date-cell {
    flex: 0 0 auto;
    padding: 0 14px 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    line-height: 19.6px;
    text-align: center;
    vertical-align: middle;
    color: rgba(144, 144, 144, 1);
    border: 1px solid #151515;
    border-radius: 7px;
    margin: 0 2px;
}

.date-cell.date-border{
    border: 1px solid rgba(144, 144, 144, 1)
}

.date-cell.active {
    background: rgba(248, 71, 15, 1);
    border: 1px solid rgba(248, 71, 15, 1);
    color: white;
    font-weight: bold;
}

/* Область со слотами */
.slots-area {
    overflow-x: auto;
    overflow-y: auto;
    height: 100%;
}

/* Ряды с слотами — для каждого квеста */
.slots-row {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    margin-bottom: 30px;
}


.group {
    display: inline-flex;
    flex-direction: column;
    /*margin-right: 10px;*/
    border-radius: 14px;
    background: rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 25px 3px 25px;
}

.group-price {
    margin-top: 4px;
    font-weight: bold;
    text-align: center;
    color: rgba(248, 188, 15, 1);
    font-size: 12px;
}

.slot-time {
    color: white;
    user-select: none;
    white-space: nowrap;
    background: rgba(18, 18, 18, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 13px;
    width: 68px;
    height: 34px;
    display: flex;
    border-radius: 14px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.slot-time.booked {
    background-color: rgba(248, 188, 15, 1);
    color: black;
    border-color: rgba(248, 188, 15, 1);
}
.slot-group {
    display: grid;
    gap: 60px;
    grid-auto-flow: column;
    margin-bottom: 5px;
}
.schedule-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.schedule-info__left {
    font-size: 24px;
    color: rgba(144, 144, 144, 1);
    line-height: 48px;
    margin-bottom: 10px;
}

.schedule-info__right {
    font-size: 16px;
    line-height: 24px;
    color: rgba(144, 144, 144, 1);
}
.schedule-text{
    background: #fafafa;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.quests-slots-block {
    display: flex;
}

.quests-block {
    width: 130px;
    margin-right: 40px;
}

.slots-block {
    width: calc(100% - 170px);
}

.quests-block-name {
    color: rgba(144, 144, 144, 1);
    font-size: 24px;
    line-height: 48px;
    margin: 10px 0;
}
.quests-block .level {
    margin: 0;
}
.quests-block .level img {
    max-width: 17px;
    max-height: 17px;
}


.dates-block {
    display: flex;
    align-items: start;
}

.dates-block button{
    font-size: 0;
    background: url("/local/templates/quest/images/next-button.svg");
    width: 56px;
    height: 40px;
    background-size: contain;
    border: 0;
    padding: 0;
}
.dates-block button#scrollLeftBtn{
    transform: rotate(180deg);
}

@media (max-width: 1299px) {
    .dates-block button{
        width: 46px;
        height: 41px;
    }
    .dates-row{
        width: calc(100% - 110px);
    }
}
@media (max-width: 861px) {
    .dates-block button{
        display: none;
    }
    .dates-row{
        width: 100%;
    }
}

@media (max-width: 645px) {
    .schedule-info__right {
        font-size: 9px;
        line-height: 11px;
    }

    .schedule-info__left {
        font-size: 12px;
        line-height: 19px;
        margin-bottom: 0;
    }
    .quests-block-name{
        display: none;
    }
    .dates-row{
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .quests-block{
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    .quests-column{
        display: flex;
        overflow-x: auto;
    }
    .quest-name{
        margin: 0 5px;
        min-width: 120px;
    }
    .quests-slots-block{
        flex-direction: column;
    }
    .slots-block{
        width: 100%;
    }
    .slots-row{
        display: none;
        height: auto;
    }
    .slots-row.active{
        display: flex;
        flex-direction: column;
    }
    .slot-group{
        justify-content: center;
    }
    .group{
        width: calc(100% - 52px);
        margin: 0;
    }
    .slots-area{
        overflow: hidden;
    }
    .slot-group{
        display: flex;
        flex-wrap: wrap;
    }
    .quest-name.active{
        border-color: rgba(248, 188, 15, 1);
    }
}
@media (max-width: 420px) {
    .schedule-info__left {
        font-size: 11px;
        line-height: 4px;
    }
    .schedule-info__right {
        font-size: 7px;
        line-height: 11px;
    }
    .slot-group{
        gap: 25px;
    }
}


/* End */
/* /local/components/quest/schedule/templates/.default/style.css?17506990725687 */
