/* color Variables */
:root {
    --primary-color: #06245B;
    --primary-color-hover: #294984;
    --secondary-color: #71C5F3;
    --tertiary-color: #E6F6FF;
    --light-color: #F8F8F8;
    --light-dark-color: #94A3B8;
    --white-color: #FFFFFF;
    --accent: #71C5F3;
    --accent-soft: rgba(113, 197, 243, .15);
    --accent-glow: rgba(113, 197, 243, .35);
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --topbar-h: 64px;
    --text-muted-sb: rgba(255, 255, 255, .45);
    --text-sb: rgba(255, 255, 255, .82);
    --transition: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fonts - Inter  */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic-VariableFont_opsz\,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

/* ======================================== Universal Classes Start======================================== */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.text-secondary-custom {
    color: var(--secondary-color);
}

.bg-soft-primary-custom {
    background-color: var(--tertiary-color);
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

/* ========= Layout css ============ */
/* Main Content area */
.main-content {
    padding-left: 10%;
    padding-right: 10%;
}

/****Right panel cards*****/
.right-cards {
    max-height: 300px;
    overflow-y: auto;
}

/***** Card Border Common******/
.card-border-soft {
    border: 1px solid #4544441a;
}

/******Text Classes*****/
.text-xs {
    font-size: .75rem;
}

.text-sm {
    font-size: .875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

/*******Custom Button********/
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--primary-color);
    transition: all .2s ease-in-out;
    font-weight: 500;
}

    /* Hover */
    .btn-primary-custom:hover {
        background-color: var(--primary-color-hover);
        border-color: var(--primary-color-hover);
        color: var(--white-color);
    }

.bg-secondary-custom:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* Focus */
.btn-primary-custom:focus {
    border: .5px solid var(--primary-color);
}

/*******Custom Input Focus System***********/
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color-hover);
    box-shadow: 0 0 0 0;
    /* customize */
}

/* Optional: remove ugly blue outline */
.form-control:focus-visible,
.form-select:focus-visible {
    outline: none;
}

/****Custom Scrollbar*******/
.scrollbar-custom {
    overflow: auto;
    scroll-behavior: smooth;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #94a3b899 transparent;
}

    /* Chrome, Edge, Safari */
    .scrollbar-custom::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .scrollbar-custom::-webkit-scrollbar-track {
        background: transparent;
        margin: 4px;
        /* prevents edge sticking */
    }

    .scrollbar-custom::-webkit-scrollbar-thumb {
        background: #94a3b899;
        border-radius: 999px;
        border: 1px solid transparent;
        background-clip: padding-box;
        transition: background .2s ease;
    }

        .scrollbar-custom::-webkit-scrollbar-thumb:hover {
            background: #64748bcc;
        }

/* Apply hover ONLY when radio is NOT selected */
/*.btn-check:not(:checked)+.btn-primary-custom:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
  color: var(--white-color);
}*/

/* When selected → keep selected style even on hover */
/*.btn-check:checked+.btn-primary-custom:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}*/

/* Pagination Custom Utils */
.custom-pagination-btn {
  color: var(--primary-color) !important;
  background-color: var(--white-color) !important;
  border-color: #dee2e6 !important;
  transition: all 0.2s ease-in-out;
}

.custom-pagination-btn:hover {
  color: var(--white-color) !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.page-item.active .custom-pagination-btn {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.page-item.disabled .custom-pagination-btn {
  color: var(--light-dark-color) !important;
  pointer-events: none;
  background-color: var(--white-color) !important;
  border-color: #dee2e6 !important;
}

/* ======================================== Universal Classes End======================================== */

.top-15 {
    position: relative;
    top: -15px;
}

.campaign-card img {
    height: 170px;
    object-fit: cover;
}

/* Active tab card */
.nav-pills .nav-link.active.card {
    background-color: var(--tertiary-color);
    /* soft active bg */
    border: 2px solid var(--secondary-color) !important;
    /* primary border */
}

/* Active text */
.nav-pills .nav-link.active .fw-medium {
    color: var(--primary-color) !important;
}

/* Active icon */
.nav-pills .nav-link.active i {
    color: var(--primary-color) !important;
}

/* ============Button Tabs Start============= */
/* pill base */
.custom-pills .nav-link {
    position: relative;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 8px 18px 8px 38px;
    font-size: 14px;
    color: var(--light-dark-color);
    background-color: var(--light-color);
    transition: all 0.2s ease;
}

    /* radio outer circle */
    .custom-pills .nav-link::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        border: 1px solid var(--light-dark-color);
        border-radius: 50%;
        background: var(--white-color);
        color: var(--light-dark-color);
    }

    /* radio inner dot (hidden by default) */
    .custom-pills .nav-link::after {
        content: "";
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 6px;
        height: 6px;
        background: var(--primary-color);
        border-radius: 50%;
        transition: 0.2s ease;
    }

    /* active state */
    .custom-pills .nav-link.active {
        background-color: var(--primary-color);
        color: var(--white-color);
        border-color: var(--primary-color);
    }

        /* show inner dot when active */
        .custom-pills .nav-link.active::after {
            transform: translateY(-50%) scale(1);
        }

        /* active border color */
        .custom-pills .nav-link.active::before {
            border-color: var(--white-color);
        }


/* ============Button Ends============= */


.border-secondary-custom {
    border-color: var(--secondary-color) !important;
}

.img-card {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fa;
}

    .img-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

/* 🔥 overlay */
.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: all .3s ease;
}

/* hover effects */
.img-card:hover .img-overlay {
    opacity: 1;
}

.img-card:hover img {
    transform: scale(1.08);
}

.media-frame {
    height: 350px;
}

    .media-frame img,
    .media-frame video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* black overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

/* play button */
.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
}

.auth-container {
    max-width: 500px;
    width: 100%;
}

/* Table css */
.custom-table {
    min-width: 1300px;
}

    .custom-table th {
        background: var(--primary-color);
        color: var(--white-color);
    }

    .custom-table td {
        vertical-align: middle;
    }

/* Modal Table */
.modal-table {
    font-size: 14px;
    min-width: 700px;
}

    .modal-table th {
        background: var(--accent-soft);
        color: var(--primary-color);
        font-weight: 700;
    }

    .modal-table td {
        vertical-align: middle;
    }

        .modal-table th:first-child,
        .modal-table td:first-child {
            padding-left: 20px;
        }

.upload-box {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

    .upload-box:hover {
        border-color: #0d6efd;
        background-color: #f8fbff;
    }

.upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.preview-img {
    position: relative;
}

    .preview-img img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }

.remove-btn1 {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
}

/* =======Benficiary css========= */
.selectable-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
}

    .selectable-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    /* Selected state */
    .selectable-card.active {
        border-color: #0d6efd;
        background-color: #f0f7ff;
        box-shadow: 0 4px 16px rgba(13, 110, 253, 0.2);
    }

.beneficiary-cards-body {
    max-height: 470px;
    overflow-y: scroll;
}

.beneficiary-cards {
    width: 120px;
    height: auto;
    object-fit: cover;
}

/* =======Media Queries==== */
/* Tablet */
@media (min-width: 768px) {
    .main-content {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .main-content {
        padding-left: 10%;
        padding-right: 10%;
    }
}


/* ==========================================Admin========================================= */
/* ===========Sidebar=========== */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--primary-color);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: width var(--transition), transform var(--transition);
    overflow: hidden;
}

/* Collapsed state (icon-only) */
body.sidebar-collapsed #sidebar {
    width: var(--sidebar-collapsed);
}

    body.sidebar-collapsed #sidebar .nav-label,
    body.sidebar-collapsed #sidebar .logo-text,
    body.sidebar-collapsed #sidebar .sidebar-section-title,
    body.sidebar-collapsed #sidebar .nav-badge {
        opacity: 0;
        width: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    body.sidebar-collapsed #sidebar .logo-wrap {
        justify-content: center;
        padding: 0 16px;
    }

    body.sidebar-collapsed #sidebar .admin-sidebar .nav-link {
        justify-content: center;
        padding: 12px 0;
    }

        body.sidebar-collapsed #sidebar .admin-sidebar .nav-link .nav-icon {
            margin: 0;
        }

    body.sidebar-collapsed #sidebar .sidebar-section-title {
        height: 0;
        margin: 0;
        padding: 0;
    }

    body.sidebar-collapsed #sidebar .admin-sidebar .nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
        display: none;
    }

    body.sidebar-collapsed #sidebar .collapse {
        display: none !important;
    }

/* Hidden (mobile) */
@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width) !important;
    }

    body.sidebar-open #sidebar {
        transform: translateX(0);
    }
}

/* Logo area — sticky */
.sidebar-logo {
    padding: 10px 10px 5px 10px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--primary-color);
    flex-shrink: 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    height: var(--topbar-h);
    text-decoration: none;
}

/* Scrollable nav area */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 0 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

    .sidebar-nav::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .15);
        border-radius: 4px;
    }

.sidebar-section-title {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--secondary-color);
    padding: 10px 22px 10px;
    transition: opacity var(--transition), height var(--transition), margin var(--transition), padding var(--transition);
}

.nav-item-wrap {
    padding: 1px 10px;
}

.admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text-sb);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), padding var(--transition);
    white-space: nowrap;
    position: relative;
}

    .admin-sidebar .nav-link:hover {
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }

    .admin-sidebar .nav-link.active {
        background: var(--accent-soft);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--accent);
    }

.nav-icon {
    font-size: 17px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    transition: margin var(--transition);
}

.nav-label {
    transition: opacity var(--transition), width var(--transition);
    flex: 1;
}

.nav-badge {
    font-size: 10px;
    font-weight: 700;
    background: var(--accent);
    color: var(--primary);
    border-radius: 20px;
    padding: 1px 7px;
    transition: opacity var(--transition);
}

.admin-sidebar .nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
    font-size: 11px;
    transition: transform var(--transition);
    color: var(--text-muted-sb);
}

.admin-sidebar .nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
    color: var(--accent);
}

.sub-menu {
    padding-left: 22px;
}

.admin-sidebar .sub-menu .nav-link {
    font-size: 12.5px;
    font-weight: 400;
    padding: 8px 12px;
    color: var(--text-muted-sb);
}

    .admin-sidebar .sub-menu .nav-link:hover {
        color: #fff;
    }

    .admin-sidebar .sub-menu .nav-link.active {
        color: var(--accent);
        background: transparent;
        box-shadow: none;
    }

    .admin-sidebar .sub-menu .nav-link::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
        opacity: .5;
        flex-shrink: 0;
    }

    .admin-sidebar .sub-menu .nav-link.active::before {
        background: var(--accent);
        opacity: 1;
    }

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 9px;
    cursor: pointer;
    transition: background var(--transition);
}

    .sidebar-user:hover {
        background: rgba(255, 255, 255, .08);
    }

.sidebar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-user-info .name {
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}

.sidebar-user-info .role {
    font-size: 10.5px;
    color: var(--text-muted-sb);
}

body.sidebar-collapsed .sidebar-user-info,
body.sidebar-collapsed .sidebar-user .bi-three-dots-vertical {
    display: none;
}

body.sidebar-collapsed .sidebar-user {
    justify-content: center;
    padding: 8px;
}

body.sidebar-collapsed #sidebar .admin-sidebar .nav-link .nav-label {
    display: none;
}

body.sidebar-collapsed #sidebar .sidebar-logo .logo-wrap .logo {
    display: none;
}

/* ========= OVERLAY (mobile)========== */
#sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 36, 91, .45);
    backdrop-filter: blur(2px);
    z-index: 1039;
}

body.sidebar-open #sidebar-overlay {
    display: block;
}

/* ===========MAIN WRAPPER========== */
#main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--transition);
}

body.sidebar-collapsed #main-wrapper {
    margin-left: var(--sidebar-collapsed);
}

@media (max-width: 991.98px) {
    #main-wrapper {
        margin-left: 0 !important;
    }
}

/* ═══════════════════════════════
       TOPBAR
    ═══════════════════════════════ */
#topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--topbar-h);
    background: #fff;
    border-bottom: 1px solid #e8edf7;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
    box-shadow: 0 1px 10px rgba(6, 36, 91, .06);
}

.topbar-toggle {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    border-radius: 9px;
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}

    .topbar-toggle:hover {
        background: #f0f4fb;
    }


@media (max-width: 575.98px) {
    .topbar-search {
        display: none;
    }
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    border-radius: 9px;
    color: #4a5878;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

    .icon-btn:hover {
        background: #f0f4fb;
        color: var(--primary);
    }

    .icon-btn .badge-dot {
        position: absolute;
        top: 7px;
        right: 7px;
        width: 8px;
        height: 8px;
        background: #e74c3c;
        border-radius: 50%;
        border: 2px solid #fff;
    }

.topbar-profile {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px 4px 4px;
    border-radius: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
}

    .topbar-profile:hover {
        background: #f0f4fb;
    }

.profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-info {
    text-align: left;
}

    .profile-info .pname {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--primary);
        line-height: 1.2;
    }

    .profile-info .prole {
        font-size: 10.5px;
        color: #8a97b5;
    }

@media (max-width: 767.98px) {
    .profile-info {
        display: none;
    }
}

/* ═══════════════════════════════
       CONTENT AREA
    ═══════════════════════════════ */
#content {
    flex: 1;
    padding: 28px 28px 20px;
}

@media (max-width: 575.98px) {
    #content {
        padding: 18px 14px;
    }
}

/* Tooltip on collapsed sidebar */
body.sidebar-collapsed #sidebar .admin-sidebar .nav-link {
    position: relative;
}

/*===============25 March 2026===========*/
/* Apply hover ONLY when radio is NOT selected */
/*.btn-check:not(:checked) + .btn-primary-custom:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    color: var(--white-color);
}*/

/* When selected → keep selected style even on hover */
/*.btn-check:checked + .btn-primary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}*/


/* Selected state */
.btn-check:checked + .btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* Hover only if not selected */
/*.btn-check:not(:checked) + .btn-primary-custom:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    color: var(--white-color);
}*/

/* Focus state */
.btn-check:focus + .btn-primary-custom {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/* ==========CSS Updated On 25/03/2026 (BY Pratham for new sponsorship ui)============== */
.donation-card {
    background: #f4f6f9;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    position: relative;
}

    .donation-card:hover {
        transform: translateY(-3px);
    }

.card-img {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    /* IMPORTANT */
    height: 160px;
    /* control image height */
    position: relative;
    z-index: 1; /* keep it BELOW check icon */
}

}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* this makes it cover */
}

.donation-card h6 {
    margin-top: 12px;
    font-weight: 600;
}

.donation-card p {
    margin: 0;
    font-weight: 600;
    color: #1d3b6b;
}

    .donation-card p span {
        font-size: 12px;
        color: #6c757d;
        font-weight: 500;
    }

/* Active Selected Card */
.donation-card.active {
    border: 2px solid #3b5bdb;
    background: #eef2ff;
}

/* Check Icon */
.check-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3b5bdb;
    color: white;
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999; /* force top layer */
}

.custom-hidden-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
/* =========Consent Form ============ */
.signature-box {
    height: 150px;
    border: 2px dashed #cfd8dc;
    border-radius: 10px;
    background: #f8f9fa;
}

    .signature-box canvas {
        width: 100%;
        height: 100%;
    }

.clear-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ==========CSS Updated On 26/03/2026 (BY Gaurav Rana)============== */
.img-desc-currentreq {
    height: 230px;
    object-fit: cover;
}


/*QuickGrid Custom CSS*/

/* Header background - all columns same dark blue */
.custom-table thead th {
    background-color: #1a2a4a !important;
    color: white !important;
}

    /* Inner div QuickGrid renders for column title */
    .custom-table thead th .col-title-text {
        color: white !important;
    }

    /* Sortable column button override */
    .custom-table thead th button {
        color: white !important;
        background: transparent !important;
        border: none !important;
    }

/* Hide empty rows */
.custom-table tbody tr:has(td:empty) {
    display: none !important;
}