/* Pricing Table Styles - Based on Image Design */
.pricing-table-wrapper {
    width: 100%;
    margin: 0 auto;
}

.pricing-table {
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    padding: 40px;
    overflow: hidden;
}

/* Plan Headers */
.plan-headers {
    display: grid;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #E3F4FC;
}

.features-header {
    padding: 20px 15px;
    text-align: left;
    /* border-right: 1px solid #e0e0e0; */
    background: #ffffff;
}

.plan-header {
    padding: 20px 15px;
    text-align: center;
    /* border-right: 1px solid #e0e0e0; */
    position: relative;
}

.plan-name {
    color: #0080BE;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 32px 0;
}

.plan-pricing {
    margin-bottom: 10px;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #0B1B2C;
    line-height: 1;
}

.original-price {
    font-size: 24px;
    color: #808080;
    text-decoration: line-through;
    font-weight: 600;
}

.savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.savings-text {
    font-size: 24px;
    color: #808080;
    font-weight: 600;
}

.savings-badge {
    background: #FFC10E;
    /* color: #fff; */
    font-size: 20px;
    font-weight: 600;
    width: 56px;
    height: 56px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-description {
    color: #404040;
    font-size: 20px;
    margin: 0;
    font-weight: 500;
}

/* Features List */
.features-list {
    background: #fff;
}

.feature-row {
    display: grid;
    align-items: center;
    padding: 15px 10px 15px 36px;
    border-bottom: 1px solid #E3F4FC;
    min-height: 50px;
}

.feature-name {
    color: #404040;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
}

.feature-description {
    color: #666;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.2;
}

.feature-plan-0,
.feature-plan-1,
.feature-plan-2,
.feature-plan-3,
.feature-plan-4,
.feature-plan-5,
.feature-plan-6,
.feature-plan-7,
.feature-plan-8,
.feature-plan-9 {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.checkmark {
    color: #28a745;
    font-size: 1rem;
    font-weight: bold;
}

.checkmark svg,
.checkmark i {
    color: #28a745;
    font-size: 1rem;
    width: 30px;
    height: 30px;
}

.dash {
    color: #ccc;
    font-size: 1.2rem;
    font-weight: 300;
}

.dash svg,
.dash i {
    color: #ccc;
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

/* CTA Buttons */
.cta-buttons {
    display: grid;
    gap: 0;
    background: #fff;
    padding: 20px 15px;
}

.cta-button {
    text-align: center;
    padding: 0 8px;
}

.pricing-btn {
    display: inline-block;
    background: #fff;
    color: #2F8CC8;
    border: 1px solid #2F8CC8;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-btn:hover {
    background: #2F8CC8;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Design */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .price {
        font-size: 36px;
    }

    .original-price {
        font-size: 20px;
    }

    .savings-text {
        font-size: 18px;
    }

    .savings-badge {
        width: 36px;
        height: 36px;
        font-size: 14px
    }
}

@media (max-width: 991.98px) {
    .pricing-table-wrapper {
        width: 100%;
    }

    .pricing-table {
        padding: 20px;
        overflow-x: scroll;
    }

    .plan-headers {
        grid-template-columns: 200px 200px 200px 200px !important;
        gap: 0;
        border-bottom: none;
    }

    .features-header {
        border-right: none;
        padding: 15px 10px;
        text-align: center;
        border-bottom: 1px solid #E3F4FC;
    }

    .plan-header {
        border-right: none;
        padding: 15px 10px;
        border-bottom: 1px solid #E3F4FC;
    }

    .plan-header:last-child {
        border-bottom: none;
    }

    .plan-name {
        font-size: 1rem;
    }

    .feature-row {
        grid-template-columns: 200px 200px 200px 200px !important;
        /* gap: 8px; */
        padding: 0;
        text-align: center;
        border-bottom: none;
    }

    .feature-name {
        font-weight: 600;
        border-bottom: 1px solid #E3F4FC;
        padding: 15px 0;
    }

    .feature-plan-0,
    .feature-plan-1,
    .feature-plan-2 {
        border-bottom: 1px solid #E3F4FC;
        padding: 15px 0;
    }

    /* .feature-plan-0,
    .feature-plan-1,
    .feature-plan-2,
    .feature-plan-3,
    .feature-plan-4,
    .feature-plan-5,
    .feature-plan-6,
    .feature-plan-7,
    .feature-plan-8,
    .feature-plan-9 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 4px 0;
    }

    .feature-plan-0::before {
        content: "Plan 1: ";
        font-weight: 600;
        color: #333;
    }

    .feature-plan-1::before {
        content: "Plan 2: ";
        font-weight: 600;
        color: #333;
    }

    .feature-plan-2::before {
        content: "Plan 3: ";
        font-weight: 600;
        color: #333;
    }

    .feature-plan-3::before {
        content: "Plan 4: ";
        font-weight: 600;
        color: #333;
    }

    .feature-plan-4::before {
        content: "Plan 5: ";
        font-weight: 600;
        color: #333;
    } */

    .price {
        font-size: 36px;
    }

    .original-price {
        font-size: 20px;
    }

    .savings-text {
        font-size: 18px;
    }

    .savings-badge {
        width: 36px;
        height: 36px;
        font-size: 14px
    }

    .cta-buttons {
        grid-template-columns: 200px 200px 200px 200px !important;
    }

    .cta-buttons .features-header {
        border-bottom: none;
    }

    /* .cta-button {
        padding: 0;
    } */

    .pricing-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Builder Compatibility */
.brxe-pricing-table .pricing-table-wrapper {
    pointer-events: auto;
}