/* Tier Header Colors */
.right-table-column:nth-child(1) table tr:nth-child(1) th {
    background: #e37d5c;
}

.right-table-column:nth-child(2) table tr:nth-child(1) th {
    background: #ff5722;
}

.right-table-column:nth-child(3) table tr:nth-child(1) th {
    background: #016157;
}

.right-table-column:nth-child(4) table tr:nth-child(1) th {
    background: #818181;
    border-radius: 0 8px 0 0;
}

.right-table-column:nth-child(1) table tr:nth-child(1) th:after {
    background: #e37d5c;
}

.right-table-column:nth-child(2) table tr:nth-child(1) th:after {
    background: #ff5722;
}

.right-table-column:nth-child(3) table tr:nth-child(1) th:after {
    background: #016157;
}

.right-table-column:nth-child(4) table tr:nth-child(1) th:after {
    background: #818181;
}

.price-custom-table {
    font-weight: 700;
    font-size: 18.13px;
    line-height: 22px;
    color: #000;
}

.title-custom-table {
    font-weight: 400;
    font-size: 13.45px;
    line-height: 20px;
    color: #646464;
}

.desc-custom-table {
    font-weight: 400;
    font-size: 13.34px;
    line-height: 20px;
    color: #000;
}

.price-custom-table.color-yellow {
    color: #ff5722;
}

.title-custom-table.color-yellow {
    color: #ff5722;
}

.benefits-table-con.change:after {
    content: '';
    width: calc(100% - 4px);
    height: calc(100% - 60px);
    border-radius: 8px;
    background: #ffffff;
    position: absolute;
    top: 26px;
    left: 0px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.benefits-table p {
    margin: 0;
}

.benefits-table-con table tr:nth-child(odd) td {
    background: #F3F4F6;
}

.benefits-table-con table tr:nth-child(even) td {
    background: #ffffff;
    padding: 16px;
}


.benefits-table-con {
    display: flex;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}


.benefits-table-con table {
    width: 100%;
    position: relative;
    z-index: 5;
    border-collapse: collapse;
}

.benefits-table-con table th {
    background: #ffffff;
    padding: 16px;
    position: relative;
}

.benefits-table-con table th p {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
}


/* Left Table Styles */
.left-table {
    width: 246px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 30px 0 38px;
    padding-left: 4px;
    flex-shrink: 0;
}

.left-table table th {
    background: #E8E9ED;
    border-radius: 8px 0 0 0;
}

.left-table table th p {
    color: #000000;
    font-size: 16px;
    text-align: left;
}

.left-table table td {
    padding: 16px;
    position: relative;
    z-index: 10;
}

.left-table table td p {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

.pipcustom-first {
    font-weight: 800;
    line-height: 22px;
    padding: 14px 18px;
    vertical-align: middle;
    font-size: 1rem;
    border: none;
    color: #212121;
}

.left-table table td p span {
    color: #034854;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
}

/* Right Table Styles */
.right-table {
    width: calc(100% - 242px);
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 11;
    transform: translateX(-4px);
    padding: 30px 0 38px;
    padding-right: 4px;
    padding-left: 4px;
    text-align: center
}

.right-table-inner {
    display: flex;
    min-width: calc(260.5px * 4);
}

.right-table-column {
    width: 260.5px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.right-table-column table {
    width: 100%;
    position: relative;
    z-index: 10;
}

.right-table-column table:after {
    content: '';
    width: calc(100% + 8px);
    height: calc(100% + 32px);
    border-radius: 8px;
    background: #ffffff;
    position: absolute;
    top: -16px;
    left: -4px;
    box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.16);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.right-table-column:hover table:after,
.right-table-column:hover table tr:nth-child(1) th:after {
    opacity: 1;
}

.right-table-column:hover {
    z-index: 10;
    transform: translateY(-5px);
}


.right-table-column table tr:nth-child(1) th {
    position: relative;
}

.right-table-column table tr:nth-child(1) th:after {
    content: '';
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    top: -12px;
    border-radius: 8px 8px 0 0;
    z-index: 4;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.right-table-column:last-child table th {
    border-radius: 0 8px 0 0;
}

.right-table-column:last-child table tr:last-child td {
    border-radius: 0 0 8px 0;
}

.right-table table td p {
    color: #646464;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    padding: 16px;
}

.right-table table td p span {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.right-table table td p span.conditions-text {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 10px;
    display: inline-block;
}

.right-table table td p.orange-text,
.right-table table td p.orange-text span {
    color: #FF8F27;
    font-weight: 600;
}

/* Table row heights matching original */
.benefits-table-con table tr:nth-child(1) {
    height: 60px;
}

.benefits-table-con table tr:nth-child(2) {
    height: 170px;
}

.benefits-table-con table tr:nth-child(3) {
    height: auto;
}

.benefits-table-con table tr:nth-child(4),
.benefits-table-con table tr:nth-child(5) {
    height: 160px;
}

/* Custom scrollbar for right table */
.right-table::-webkit-scrollbar {
    height: 8px;
}

.right-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.right-table::-webkit-scrollbar-thumb {
    background: #747474;
    border-radius: 4px;
}

.right-table::-webkit-scrollbar-thumb:hover {
    background: #747474;
}



/* Scroll indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 12px;
    display: none;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}