/**
 * Fee Schedule Tables Stylesheet
 * Used for both frontend and admin preview
 */

/* Wrapper */
.fee-schedule-tables-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

/* Base Table Styles */
.fee-schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px !important;
    font-size: 14px;
    background: #fff;
}

.fee-schedule-table td,
.fee-schedule-table th {
    border: 1px solid #484848;
    padding: 10px 15px;
    vertical-align: top;
    vertical-align: middle;
}

.fee-schedule-table td p,
.fee-schedule-table th p {
    margin: 0;
    padding: 2px 0;
}

/* Table Header (thead) */
.fee-schedule-table thead .table-header th {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    text-align: center;
}

/* Column Headers (tbody) */
.fee-schedule-table tbody .column-headers td {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    text-align: center;
}
.fee-schedule-table tbody .column-headers td:first-child,.fee-schedule-table tbody .column-headers td:nth-child(2) {
    text-align: left;
    background-color: #3058a1;
    width: 12.5%;
}   

/* Due Dates Row (tbody) */
.fee-schedule-table tbody .due-dates td {
    background-color: #ecf0f1;
    font-style: italic;
    text-align: center;
}

/* Room Type Rows (tbody) */
.fee-schedule-table tbody .room-type-row td {
    text-align: center;
}

.fee-schedule-table tbody .room-type-row td:first-child, .fee-schedule-table tbody .room-type-row td:nth-child(2){
    text-align: left;
    font-weight: bold;
    background: #d9e0f1;
}

/* Table Footer (tfoot) */
.fee-schedule-table tfoot .table-footer td {
    background-color: #ecf0f1;
    font-size: 12px;
    text-align: center;
    color:#ff0000;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .fee-schedule-table {
        font-size: 12px;
    }

    .fee-schedule-table td,
    .fee-schedule-table th {
        padding: 6px 8px;
    }
}