.banner-overlay {
    background: #1e438799;
    padding-top: 120px !important;
    padding-bottom: 120px !important;

}

/* Fix horizontal scrollbar */
html,
body {
    overflow-x: hidden !important;
}

/* Prevent dropdown from overflowing to the right */
.navmenu .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    /* forces dropdown to open within screen width */
    left: auto !important;
    /* override Bootstrap left positioning */
    max-width: 90vw;
    /* ensures it never goes outside screen */
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    z-index: 9999;
}

/* Mobile dropdown — takes full width but stays inside screen */
@media (max-width: 991px) {
    .navmenu .dropdown-menu-custom {
        position: static;
        max-width: 100%;
        padding-left: 15px;
        background: transparent;
        box-shadow: none;
    }
}


/* === Hide scrollbars visually, but keep scrolling functional === */

/* WebKit browsers (Chrome, Safari, Edge Chromium) */
body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

/* Firefox */
html,
body {
    scrollbar-width: none;
    /* hides scrollbar in Firefox */
}

/* IE 10+ / Edge (legacy) */
html,
body {
    -ms-overflow-style: none;
    /* hide scrollbar in IE/Edge */
}

#main-content .row {
    max-width: none;
    margin: 0;
    padding: 0;
}

#content .column,
.columns {
    padding-left: 0;
    padding-right: 0;
}


/* Modern card */
.modern-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #eceff3;
}


/* Table header */
thead th {
    background: linear-gradient(90deg, #1e4387) !important;
    color: #fff !important;
    font-weight: 700;
    border-bottom: none !important;
    padding: 14px !important;
    white-space: nowrap;
}

tbody tr:hover {
    background: #eef3ff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

table.dataTable tbody td {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 10px;
    white-space: normal !important;
    word-break: break-word !important;
}

/* Remove horizontal scroll completely */
.table-responsive {
    overflow-x: hidden !important;
}

/* Desktop column sizing */
@media (min-width: 992px) {

    #financeTable th,
    #financeTable td {
        white-space: nowrap;
    }

    #financeTable th:nth-child(1),
    #financeTable td:nth-child(1) {
        min-width: 160px;
    }

    #financeTable th:nth-child(2),
    #financeTable td:nth-child(2) {
        min-width: 220px;
    }

    #financeTable th:nth-child(5),
    #financeTable td:nth-child(5) {
        min-width: 300px;
        white-space: normal;
    }

    #financeTable th:nth-child(7),
    #financeTable td:nth-child(7) {
        min-width: 300px;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    #financeTable {
        font-size: 14px;
    }

    .dt-child-item {
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    table.dataTable td,
    table.dataTable th {
        max-width: 100% !important;
    }
}

/* Child row card layout */
.dt-child-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    padding: 10px;
}

.dt-child-item {
    background: #fff;
    border: 1px solid #e3e6ef;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.dt-child-label {
    font-weight: 600;
    margin-bottom: 4px;
}

.container {
    max-width: 100% !important;
}