.cruise-price-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
    font-size: 13px;
    text-align: left;
    border: 2px solid #333;
}

.cruise-price-table th {
    font-weight: bold;
    background: #f5f5f5;
    border: 1px solid #333;
    padding: 8px;
}

.cruise-price-table td {
    border: 1px solid #333;
    padding: 8px;
}

/* Filter Styles */
.cpr-filters {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.cpr-filter-grid {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cpr-filter-grid.left {
    width: 100%;
    height: 100%;
    border: 1px solid rgb(223, 223, 223);
}

.cpr-filter-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 175px
}

.cpr-filter-group.block {
    width: 100%;
    flex-basis: 100%;
}

.cpr-filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d2327;
}

.cpr-input {
    width: 100%;
    padding: 7px 12px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.cpr-select {
    width: 100%;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.cpr-agent-table-container {
    overflow-x: auto;
}

table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>* {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.055) !important;
}

.cruise-price-table>tbody>tr.even {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.055) !important;
}

#cruise-price-table tr td .mobile-view {
    display: none !important;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .cpr-table-container{
        overflow: auto;
    }
}

@media screen and (max-width: 600px) {
    #cruise-price-table {
        border: 0;
        margin-top: 10px;
    }

    #cruise-price-table caption {
        font-size: 1.3em;
    }

    #cruise-price-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #cruise-price-table tr {
        border: 2px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    #cruise-price-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    #cruise-price-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    #cruise-price-table td:first-child::before {
        content: '' !important;
    }

    #cruise-price-table td:last-child {
        border-bottom: 0;
    }

    #cruise-price-table tr .desktop-view {
        display: none;
    }

    #cruise-price-table tr td .mobile-view {
        display: block !important;
    }

    #cruise-price-table tr td .mobile-view .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
        box-sizing: border-box;
    }

    #cruise-price-table tr td{
        border-right: 0;
    }

    #cruise-price-table tr td .mobile-view .row img{
        float: left;
    }

    #cruise-price-table_wrapper #cruise-price-table_filter label input{
        margin: 0 !important;
    }

    #cruise-price-table tr td .mobile-view .row .col-4{
        -webkit-box-flex: 0;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        align-content: center;

        position: relative;
        width: 100%;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }

    #cruise-price-table tr td .mobile-view .row .col-8{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex : 0 0 66.666667%;
        max-width: 66.666667%;

        position: relative;
        width: 100%;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }

    #cruise-price-table tr td .mobile-view .row .col-8 p{
        margin: 0;
    }

    #cruise-price-table tr td .mobile-view .row .col-8 p.ship{
        font-weight: bold;
    }

    #cruise-price-table tr td:nth-child(2),
    #cruise-price-table tr td:nth-child(3) {
        display: none;
    }

    #cruise-price-table td:has(> a.continue-btn) {
      text-align: center;
    }

    #cruise-price-table td a.continue-btn {
      padding: .375rem 3.5rem !important;
    }
}