.rfa-comparison-wrapper-308c1000 {
    font-family: inherit;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 70px;
}

/* Beautiful Title Block */
.rfa-title-block-308c1000 {
    text-align: center;
    margin-bottom: 35px;
}
.rfa-main-title-308c1000 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1A202C;
    margin-bottom: 12px;
}
.rfa-sub-title-308c1000 {
    font-size: 1.1rem;
    color: #4A5568;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Outer table container & shadow */
.rfa-table-container-308c1000 {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px; /* 16px outer corners */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    border: 1px solid #E8E8E8;
    -webkit-overflow-scrolling: touch;
}

.rfa-table-308c1000 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    table-layout: fixed;
}

/* Width specifications: Wider first column */
.col-features-308c1000 {
    width: 32%; /* Increased first column width by 15-20% */
}
.col-prog-308c1000 {
    width: 17%;
}

/* Premium Column Pastel Background Tints */
.col-premium-308c1000 {
    background-color: #FCF8FF !important; /* Premium Column Tint */
}
.col-bilingual-premium-308c1000 {
    background-color: #FFF7F7 !important; /* Complete Package Tint */
}

/* Table cells vertically centered & refined padding */
.rfa-table-308c1000 th, 
.rfa-table-308c1000 td {
    padding: 12px 16px; /* Reduced padding for cleaner vertical height */
    border-bottom: 1px solid #E8E8E8;
    vertical-align: middle; /* Center ALL content vertically */
}

/* Table header styling & reduced height header rows */
.rfa-table-308c1000 th {
    background-color: #FFFFFF;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 2px solid #E8E8E8;
    padding: 16px 14px; /* Reduced vertical padding by ~25px */
}

/* Coloured Top Borders */
.header-standard-308c1000 {
    border-top: 4px solid #10B981 !important; /* Green line */
}
.header-premium-308c1000 {
    border-top: 4px solid #8B5CF6 !important; /* Purple line */
}
.header-bilingual-std-308c1000 {
    border-top: 4px solid #EC4899 !important; /* Pink line */
}
.header-bilingual-premium-308c1000 {
    border-top: 4px solid #EF4444 !important; /* Red line */
}

/* Offset top header if WP Admin bar exists */
body.admin-bar .rfa-table-308c1000 th {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .rfa-table-308c1000 th {
        top: 46px;
    }
}

/* Locked / Frozen First Column Features on desktop & mobile swipe */
.rfa-table-308c1000 .feature-header-308c1000,
.rfa-table-308c1000 .feature-name-308c1000 {
    position: sticky;
    left: 0;
    background-color: #FFFFFF;
    text-align: left;
    z-index: 10;
    border-right: 1px solid #E8E8E8;
    box-shadow: 4px 0 8px -3px rgba(0, 0, 0, 0.05);
}

.rfa-table-308c1000 th.feature-header-308c1000 {
    background-color: #FAFAFA;
    font-size: 1.05rem;
    color: #1A202C;
    z-index: 25;
}

.rfa-table-308c1000 .feature-name-308c1000 {
    padding-left: 28px; /* Increased left padding inside features */
    font-weight: 700; /* Bolder feature names */
    color: #1A202C; /* Darker text for readability */
    font-size: 0.95rem;
}

/* Highlighted Column Background Backfill styling */
.highlight-col-premium-308c1000 {
    background-color: #FCF8FF; /* Tint */
}
.highlight-col-bilingual-308c1000 {
    background-color: #FFF7F7; /* Tint */
}

/* Zebra striping for features */
.rfa-table-308c1000 tbody tr:nth-child(even) td {
    background-color: #FAFAFA;
}
.rfa-table-308c1000 tbody tr:nth-child(even) td.feature-name-308c1000 {
    background-color: #FAFAFA;
}
.rfa-table-308c1000 tbody tr:nth-child(even) td.highlight-col-premium-308c1000 {
    background-color: #FAF4FE;
}
.rfa-table-308c1000 tbody tr:nth-child(even) td.highlight-col-bilingual-308c1000 {
    background-color: #FFF2F2;
}

/* Hover row highlight background */
.rfa-table-308c1000 tbody tr:hover td {
    background-color: #F8FAFC !important;
}

/* Hover lift effect for cells */
.rfa-table-308c1000 td:not(.feature-name-308c1000), 
.rfa-table-308c1000 th:not(.feature-header-308c1000) {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Header Spacer & Pricing */
.prog-header-inner-308c1000 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Balanced spacing */
    padding-top: 4px;
    padding-bottom: 4px;
}

.prog-title-308c1000 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A202C;
}

.prog-price-308c1000 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1A202C;
    margin-top: 4px;
}

/* Smaller, premium badges */
.badge-popular-308c1000 {
    background-color: #E07A5F;
    color: #ffffff;
    font-size: 0.58rem; /* Smaller font */
    padding: 2px 10px; /* Reduced height by ~15% */
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.badge-premium-308c1000 {
    background-color: #008080;
    color: #ffffff;
    font-size: 0.58rem; /* Smaller font */
    padding: 2px 10px; /* Reduced height by ~15% */
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Large Checkmarks & Styled Em-dashes */
.rfa-check-308c1000 {
    color: #10B981;
    font-weight: bold;
    font-size: 1.55rem;
}

.rfa-dash-308c1000 {
    color: #9CA3AF; /* Light grey em-dash style */
    font-weight: bold;
    font-size: 1.35rem;
}

.rfa-text-val-308c1000 {
    font-weight: 700;
    color: #2D3748;
    font-size: 0.9rem;
}

/* Buttons vertically aligned, matching dimensions and columns */
.action-row-308c1000 td {
    padding-top: 20px;
    padding-bottom: 20px;
}

.rfa-btn-308c1000 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 42px;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.rfa-btn-308c1000:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    filter: brightness(1.08);
}

/* Dynamic button color classes matching headers */
.rfa-btn-green-308c1000 {
    background-color: #10B981 !important;
}
.rfa-btn-purple-308c1000 {
    background-color: #8B5CF6 !important;
}
.rfa-btn-pink-308c1000 {
    background-color: #EC4899 !important;
}
.rfa-btn-red-308c1000 {
    background-color: #EF4444 !important;
}

/* Mobile responsiveness adjustments: Horizontal Swipe side-by-side */
@media (max-width: 900px) {
    .col-features-308c1000 {
        width: 190px;
    }
    .col-prog-308c1000 {
        width: 160px;
    }
    .rfa-table-308c1000 {
        width: 830px; /* Forces optimal scroll horizontally side-by-side on mobile screen */
    }
}
