.outer-container {
    position: relative;
    width: 98vw;
    padding-left: 25px;
}

.table-container {
    overflow-x: auto;
    width: 100%;
    /* Fill the outer container */
    position: relative;
}

/* Button Group Styling for top of datatables*/
/* Style for the clear filters button */
.clear-filters-btn ion-icon {
    font-size: 20px;
    /* Adjust size to match text */
    min-width: 20px;
    /* Prevent icon from collapsing */
}

/* General button styling improvements */
.clear-filters-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.25rem 0.5rem;
}

/* Ensure text is vertically centered */
.clear-filters-btn span {
    line-height: 1;
}
/* Year picker button styling */
.year-picker-btn ion-icon {
    font-size: 16px;
    min-width: 16px;
}

.year-picker-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.25rem 0.5rem;
    margin-left: 2rem;
    /* Space between export buttons and year picker */
}

/* DataTables button collection positioning */
.dt-button-collection {
    top: 0 !important;
}

.dt-button-collection .dt-button {
    padding: 0.5rem 1rem !important;
}

/* Layout button specific styling if needed */
.layout-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.25rem 0.5rem;
}


/* Inside the table */
.scroll-zone {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 10%;
    z-index: 1000;
    opacity: 0.4;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-zone::after {
    content: '';
    width: 20px;
    height: 20px;
    border-top: 3px solid #000;
    border-left: 3px solid #000;
    opacity: 0.6;
}

.scroll-zone:hover {
    opacity: 0.6;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0) 100%
    );
}

.scroll-zone:hover::after {
    opacity: 0.8;
}

.scroll-zone-left {
    left: 0;
}

.scroll-zone-left::after {
    transform: rotate(-45deg);
}

.scroll-zone-right {
    right: 0;
}

.scroll-zone-right::after {
    transform: rotate(135deg);
}

.scroll-zone-right:hover {
    background: linear-gradient(270deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0) 100%
    );
}

/* dropdown toggle styling */
ion-icon[name="filter"].dropdown-toggle {
    color: #f3b059;
}

/* bulk edit clients button styling */
.bulk-edit-clients-btn {
    color: #f3b059;
}
