.jellystone-rates-wrapper {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    color: #686868;
    margin-bottom: 2rem;
}

.jellystone-rates-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout: auto;
}

.jellystone-rates-table thead {
    background-color: #2799CC;
    color: #ffffff;
}

.jellystone-rates-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.4;
    border: 1px solid #3ca5d4;
    vertical-align: top;
}

.jellystone-rates-table th span {
    font-size: 11px;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.jellystone-rates-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
}

.jellystone-rates-table tbody tr:nth-child(even) {
    background-color: #F5EFE7;
}

.jellystone-rates-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.jellystone-rates-table .highlight {
    color: #D31B45;
    font-weight: 500;
    display: block;
    margin-top: 3px;
}

/* Responsive Card-Based Layout for Mobile */
@media screen and (max-width: 992px) {
    .jellystone-rates-table {
        border: 0;
    }
    
    .jellystone-rates-table thead {
        display: none;
    }
    
    .jellystone-rates-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    
    .jellystone-rates-table td {
        display: block;
        text-align: right;
        font-size: 14px;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 45px;
        border-right: none;
        border-left: none;
    }
    
    .jellystone-rates-table td:last-child {
        border-bottom: 0;
    }
    
    .jellystone-rates-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: normal;
        text-align: left;
        font-weight: bold;
        color: #2799CC;
        font-size: 12px;
        text-transform: uppercase;
    }
    
    /* Make the first cell (SITE TYPE) stand out as a header for the card */
    .jellystone-rates-table td:first-child {
        background-color: #2799CC;
        color: white;
        text-align: left;
        padding: 15px;
    }
    .jellystone-rates-table td:first-child::before {
        display: none;
    }
    .jellystone-rates-table td:first-child .highlight {
        color: #ffd7df;
    }
}
