.prices-table-container {
    position: relative;
    margin-right: 0 !important;
    margin-left: 0 !important;

}
.months-header {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    min-height: 5rem;
    padding-top: 1rem;
    overflow-x: auto;
    
    .month {
        cursor: pointer;
        flex: 1 0 3rem;
        text-align: center;
        margin-top: 12px;
        .price {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .name {
            color: #8e8ca0;
            margin: 0.5rem 0;
        }
        &:hover[data-index], &.selected {
            background-color: var(--secondary);
            .name {
                color: white !important;
            }
        }
    }
    .year {
        width: 1px;
        border-left: 1px solid #f1f1f6;
        height: 100%;
        overflow: visible;
        color: #8e8ca0;
        font-size: 0.9rem;
        text-indent: 0.3rem;
        line-height: 1;
        align-self: stretch;
    }
}

.table-wrap {
    overflow-x: auto;
    display: block;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.pricing-table {
    max-width: 100%;
    border-top: 0;
    border-left: 0;
    margin-bottom: 0;
    border-color: #e6e5eb;

    td {
        user-select: none;
        min-width: 5rem;
        cursor: pointer;
        vertical-align: middle;
        white-space: nowrap;
        text-align: center;
        font-size: 12px;
        font-family: "OpenSans-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI",
            Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
            "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
            "Noto Color Emoji";

        &:hover[data-index], &.selected {
            background-color: var(--secondary) !important;
            color: white !important;
        }
        &.selected-secondary {
            background-color: #eee;
        }
        &.hidden {
            display: none;
        }
    }

    tr {
        &.selected-secondary {
            td {
                background-color: #eee;
            }
        }
    }

    th {
        font-weight: normal;
        white-space: nowrap;
        padding: 0.5rem 0;
        vertical-align: middle;
        &.hidden {
            display: none;
        }
    }

    thead th {
        user-select: none;
        text-align: center;
        border-top: 0;
        border-bottom: 1px #c0c0cd solid;
        font-size: 12px;
        &:first-child {
            vertical-align: top;
            text-align: left;
            border-left: 0;
            padding-left: 0.75rem;
            border-right-color: #c0c0cd;
            position: sticky;
            left: 0;
            background: white;
            > div {
                border-right: 1px #c0c0cd solid;
            }
        }

        color: #8e8ca0;
    }

    tbody {
        td:nth-child(2) {
            border-left: none;
        }
        th {
            user-select: none;
            position: sticky;
            left: 0;
            background: white;
            text-align: left;
            border-left: 0;
            height: 100%;
            padding: 0;
            border: none;
            > div {
                font-size: 12px;
                padding: 0.75rem;
                border-bottom: 1px #dee2e6 solid;
                border-right: 1px #c0c0cd solid;
            }
        }
    }
}

.refresh-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffffaa;
    &.shown {
        display: flex;
    }
}

.scroll-buttons {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    button.btn {
        /* background-color: white; */
        font-size: 12px;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
    }
}

.price-per-pax-label {
    font-size: 12px;
    display: block;
}

@media screen and (max-width: 540px) {
    .pricing-table {
        td {
            padding: 0.5rem;
            min-width: 3rem;
        }
    }
}
