
.schedule-container {
    overflow-x: auto;
    max-width: 100%;
    position: relative;
}

.schedule-table {
    border-collapse: separate;
    /* border-spacing: 10px; */ /* Jarak antar slot kartu */
    min-width: 600px; /* Memastikan isi tabel cukup lebar untuk dapat di-scroll */
}

.schedule-table tbody td.time-col, .schedule-table th {
    padding: .5em;
    border-width: 0 .1px .1px 0 !important;
    border-color: #d1d1d1;
} 

.schedule-table tbody td.time-col:nth-child(1), .schedule-table th:nth-child(1) {
    border-left: 1px solid #d1d1d1 ;
}
.schedule-table tbody td:not(.time-col){
    padding: .5em;
    border-width: 1px; 
    border-color: #d1d1d1;
    border-radius: 5px; 

} 
 

/* Column Headers (Courts) */
.schedule-table th {
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    /* position: sticky;
    top: 0; */
    background-color: #fff;
    /* z-index: 2; */
}

/* Freeze / Sticky Column Jam (Kiri) */
.schedule-table td.time-col,
.schedule-table th.time-header {
    position: sticky;
    left: 0;
    background-color: #ffffff;
    z-index: 3;
    text-align: center;
    font-size: 15px;
    color: #444;
    font-weight: 500;
    min-width: 60px;
    width: 60px;
}

.schedule-table th.time-header {
    z-index: 4; 
}

/* Slot Card Court */
.slot-card {
    /* background-color: #dce7f1; */
    border-radius: 8px;
    padding: .5em;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 60px;
    justify-content: center;
}

.slot-card:not(.field-slot-item-disabled){
    border: 1px solid #7aaffe;
}

.slot-card .price {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.slot-card .status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8c9ba5;
}

.slot-card .bell-icon {
    font-size: 14px;
}

/* .schedule-table tbody .field-slot-item:not(.field-slot-item-selected) {
    border: 0;
} */

.schedule-table tbody .field-slot-item:not(.field-slot-item-disabled):hover {
    background: #e6f7ff;
    border: 1px solid #0d6efd!important;
    cursor: pointer;
}

.schedule-table tbody .field-slot-item:not(.field-slot-item-disabled):hover .meta-item span{
    color: #0d6efd;
}

.schedule-table tbody .meta-item .per-session-price { 
    font-size: 14px;
    line-height: 18px;
    /* letter-spacing: 0.25px; */
    /* color: #52575C; */
    font-weight: 500;
    display: block;
    text-wrap: nowrap;
}

.text-blue,
.schedule-table .slot-card:not(.field-slot-item-disabled) .meta-item .per-session-price{
    color: #3d70d1;

}

.slot-card.field-slot-item-disabled .meta-item .per-session-price,
.slot-card.field-slot-item-selected .meta-item .per-session-price{
    color: #52575C;

}


.schedule-table tbody .meta-item .per-session-text { 
    font-size: 12px;
}

.schedule-table tbody .meta-item .bookend-session{
    font-weight: 500;
    font-size: 11px;
    line-height: 15px;
}

.slot-card.field-slot-item-disabled{
    background: #dedede;
    cursor: not-allowed!important;
}

.slot-card.field-slot-item-selected {
    background: #e6f7ff!important;
    border: 2px solid #0d6efd !important;
}

#booking-arena-v2 .sticky-date {
    position: sticky;
    position: -webkit-sticky;
    top: 75px;
    padding: 20px; 
    z-index: 9;
}

.text-semibold{
    font-weight: 600;
}

.invoice-container {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e4e8;
}

/* Red Top Border Accent */
.top-accent {
    background-color: #025287;
    height: 6px;
    width: 100%;
}

.invoice-body {
    padding: 30px;
}

/* Header Section */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.invoice-title h1 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #111111;
}

.invoice-title p {
    margin: 0;
    font-size: 13px;
    color: #666666;
}

.brand-logo {
    background-color: #025287;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
}

/* Info Columns (3 Columns) */
.invoice-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 13px;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 20px;
    gap: 15px;
}

.info-col {
    flex: 1;
}

.info-col h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #333333;
}

.info-col p {
    margin: 0 0 4px 0;
    color: #555555;
    line-height: 1.4;
}

.info-col a {
    color: #0066cc;
    text-decoration: none;
}

/* Greeting & Status */
.greeting {
    margin-bottom: 20px;
    font-size: 14px;
}

.greeting h3 {
    margin: 0 0 5px 0;
    color: #111111;
    font-size: 15px;
}

.greeting p {
    margin: 0;
    color: #666666;
}

/* Table Items */
.item-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 13px;
    border-width: 1px;
}

.item-table th {
    background-color: #f8f9fa;
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
    color: #333333;
    font-weight: bold;
}

.item-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f3f5;
    color: #444444;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* Summary Totals */
.summary-table {
    width: 100%;
    margin-bottom: 25px;
    font-size: 13px;
}

.summary-table td {
    padding: 6px 10px;
    text-align: right;
}

.summary-table .label {
    color: #333333;
    font-weight: normal;
}

.summary-table .value {
    font-weight: bold;
    color: #222222;
    width: 150px;
}

.summary-table tr.total-row td {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

.summary-table tr.due-row td {
    border-top: 2px solid #025287;
   /*  border-bottom: 1px solid #025287; */
    color: #025287;
    font-weight: bold;
    padding: 8px 10px;
}

/* Action Button */
.btn-pay {
    display: inline-block;
    background-color: #025287;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 15px;
}

.payment-link-text {
    font-size: 12px;
    color: #666666;
    margin-bottom: 25px;
}

.payment-link-text a {
    color: #0066cc;
    word-break: break-all;
}

/* Footer Section */
.invoice-footer {
    border-top: 1px solid #e1e4e8;
    padding-top: 15px;
    font-size: 12px;
    color: #777777;
}

.invoice-footer h4 {
    margin: 0 0 5px 0;
    color: #333333;
    font-size: 13px;
}

.invoice-footer p {
    margin: 0;
    line-height: 1.4;
}

.invoice-container .invoice-status h3{
    font-size: 13px;
    padding: 8px;
}