/* Custom Table Element Styles */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    margin-bottom: 40px;
}

.custom-table th,
.custom-table td {
    border: none;
    border-bottom: 1px solid #F0F0F0;
    padding: 16px 20px;
    text-align: left;
    vertical-align: top;
}

.custom-table thead th {
    font-weight: 700;
    font-size: 14px;
    color: #000818;
    border-bottom: 4px solid #000818;
    padding: 12px 20px;
}

.custom-table tbody tr {
    transition: background-color 0.15s ease;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #F0F0F0;
}

.custom-table tbody td {
    font-size: 14px;
    color: #000818;
    line-height: 1.6;
}

/* Links in table cells */
.custom-table a {
    color: var(--Colors-Text-Hyperlinks);
    text-decoration: none;
    word-break: break-word;
}

.custom-table a:hover {
    text-decoration: underline;
}

/* Responsive wrapper added by JS */
.custom-table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    display: block;
    margin-bottom: 40px;
}

.custom-table-scroll-wrapper .custom-table {
    margin-bottom: 0;
}

/* Responsive - only when wrapped */
@media (max-width: 767px) {

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .custom-table thead th {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .custom-table th,
    .custom-table td {
        white-space: nowrap; 
    }
}

/* Sticky header */
.custom-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
}