.goridergo-legacy-wbr-pricing-table {
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
}

.goridergo-legacy-wbr-pricing-table .pt-content-loader {
    width: 100%;
}

.goridergo-legacy-wbr-pricing-table .pt-cols {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 760px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.goridergo-legacy-wbr-pricing-table .pt-cols-side {
    flex: 0 0 220px;
    background: #f6f7f8;
    border-right: 1px solid #d9d9d9;
}

.goridergo-legacy-wbr-pricing-table .pt-cols-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.goridergo-legacy-wbr-pricing-table .pt-col {
    display: flex;
    flex: 1 1 0;
    min-width: 180px;
    border-right: 1px solid #d9d9d9;
}

.goridergo-legacy-wbr-pricing-table .pt-col:last-child {
    border-right: 0;
}

.goridergo-legacy-wbr-pricing-table .pt-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background: #fff;
}

.goridergo-legacy-wbr-pricing-table .pt-selected {
    box-shadow: 0 0 0 3px rgba(35, 151, 242, 0.25);
    z-index: 2;
}

.goridergo-legacy-wbr-pricing-table .pt-side-text,
.goridergo-legacy-wbr-pricing-table .pt-title,
.goridergo-legacy-wbr-pricing-table .pt-price {
    padding: 16px;
    text-align: center;
    font-weight: 700;
}

.goridergo-legacy-wbr-pricing-table .pt-side-text {
    min-height: 58px;
    background: #e9ecef;
}

.goridergo-legacy-wbr-pricing-table .pt-title {
    min-height: 58px;
    font-size: 1.15rem;
    background: #2397f2;
    color: #fff;
}

.goridergo-legacy-wbr-pricing-table .pt-price {
    min-height: 64px;
    font-size: 1.35rem;
    border-bottom: 1px solid #d9d9d9;
}

.goridergo-legacy-wbr-pricing-table .pt-list,
.goridergo-legacy-wbr-pricing-table .pt-list-block {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.goridergo-legacy-wbr-pricing-table .pt-list-item {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 12px;
    border-bottom: 1px solid #e4e4e4;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.goridergo-legacy-wbr-pricing-table .pt-list-block .pt-list-item {
    font-weight: 600;
    background: #f6f7f8;
}

.goridergo-legacy-wbr-pricing-table .pt-text {
    display: none;
}

.goridergo-legacy-wbr-pricing-table .pt-value {
    width: 100%;
    text-align: center;
}

.goridergo-legacy-wbr-pricing-table .pt-footer {
    padding: 16px;
    margin-top: auto;
    text-align: center;
}

.goridergo-legacy-wbr-pricing-table .pt-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    background: #2397f2;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.goridergo-legacy-wbr-pricing-table .pt-btn:hover,
.goridergo-legacy-wbr-pricing-table .pt-btn:focus {
    opacity: 0.88;
    color: #fff;
}

/* Tooltip trigger */
.goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text {
    position: relative;
    display: inline-block;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-show {
    display: inline;
    cursor: help;
    border-bottom: 1px dotted currentColor;
}

/* Tooltip box */
.goridergo-legacy-wbr-pricing-table .pt-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 9999;
    width: min(320px, 80vw);
    padding: 12px;
    transform: translateX(-50%);
    border-radius: 6px;
    background: #202124;
    color: #fff;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-bottom {
    top: calc(100% + 10px);
    bottom: auto;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-heading {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-list {
    display: block;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-list > span {
    display: block;
    margin-top: 4px;
}

.goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text:hover .pt-tooltip,
.goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text:focus-within .pt-tooltip,
.goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text.is-open .pt-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .goridergo-legacy-wbr-pricing-table {
        overflow-x: visible;
    }

    .goridergo-legacy-wbr-pricing-table .pt-cols {
        display: block;
        min-width: 0;
        border: 0;
        background: transparent;
    }

    .goridergo-legacy-wbr-pricing-table .pt-cols-side {
        display: none;
    }

    .goridergo-legacy-wbr-pricing-table .pt-cols-main {
        display: block;
    }

    .goridergo-legacy-wbr-pricing-table .pt-col {
        display: block;
        margin-bottom: 24px;
        border: 1px solid #d9d9d9;
    }

    .goridergo-legacy-wbr-pricing-table .pt-text {
        display: block;
        width: 42%;
        padding-right: 12px;
        font-weight: 700;
        text-align: left;
    }

    .goridergo-legacy-wbr-pricing-table .pt-value {
        width: 58%;
        text-align: left;
    }

    .goridergo-legacy-wbr-pricing-table .pt-list-item {
        align-items: flex-start;
        min-height: 0;
    }
}

/*
 * Tooltip layering fix:
 * Keep an active tooltip above neighboring pricing-table columns.
 */
@media (min-width: 768px) {
    .goridergo-legacy-wbr-pricing-table {
        overflow: visible;
    }

    .goridergo-legacy-wbr-pricing-table .pt-cols,
    .goridergo-legacy-wbr-pricing-table .pt-cols-main,
    .goridergo-legacy-wbr-pricing-table .pt-col,
    .goridergo-legacy-wbr-pricing-table .pt-block,
    .goridergo-legacy-wbr-pricing-table .pt-list,
    .goridergo-legacy-wbr-pricing-table .pt-list-item,
    .goridergo-legacy-wbr-pricing-table .pt-value {
        overflow: visible;
    }

    .goridergo-legacy-wbr-pricing-table .pt-col {
        position: relative;
        z-index: 1;
    }

    .goridergo-legacy-wbr-pricing-table .pt-col:hover,
    .goridergo-legacy-wbr-pricing-table .pt-col:focus-within {
        z-index: 1000;
    }

    .goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text {
        z-index: 1001;
    }

    .goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text:hover,
    .goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text:focus-within,
    .goridergo-legacy-wbr-pricing-table .pt-tooltip-show-text.is-open {
        z-index: 10000;
    }

    .goridergo-legacy-wbr-pricing-table .pt-tooltip {
        z-index: 10001;
    }
}
