/* ===== Scroll Wrapper ===== */
.custom-table-scroll {
    max-height: 400px;
    overflow-x: auto;   /* 👈 horizontal scroll */
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    position: relative;
    background: #fff;
}

/* ===== Table ===== */
.custom-table {
    border-collapse: collapse;
    min-width: 900px;  /* 👈 forces horizontal scroll */
    table-layout: fixed;
}

/* ===== Header Cells ===== */
.custom-table th {
    background: #ffd400;
    color: #000;
    padding: 12px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 3;
    border-bottom: 2px solid #e0c200;
    min-width: 200px;   /* 👈 column width */
    max-width: 300px;
    text-align: left;
}

/* ===== Body Cells ===== */
.custom-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
    background: #fff;
    min-width: 200px;   /* 👈 column width */
    max-width: 300px;
    word-wrap: break-word;
}

/* ===== Sticky First Column ===== */
.custom-table.has-sticky-first-col .sticky-col {
    position: sticky;
    left: 0;
    z-index: 4;
    background: #fff;
    border-right: 1px solid #dee2e6;
}

.custom-table.has-sticky-first-col th.sticky-col {
    z-index: 5;
    background: #ffd400;
}

/* ===== Slim Scrollbars ===== */
.custom-table-scroll::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.custom-table-scroll::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 3px;
}

.custom-table-scroll {
    scrollbar-width: thin;
    scrollbar-color: #fdfdfd #bdbbbb;
}
.custom-table td ul {
    padding-left: 20px;
    margin: 0;
}

.custom-table td li {
    margin-bottom: 6px;
}

