/* Container to enable scrolling */
.table-container {
    height: 800px; /* Adjust the height as needed */
    overflow-y: auto;
}

/* Make the header sticky */
.sticky-header-table thead th {
    position: sticky;
    top: 0;
    background-color: white; /* Adjust the background color as needed */
    z-index: 1; /* Ensure the header stays on top */
    border-bottom: 1px solid #ddd; /* Optional: Add a border for better visual separation */
}

/* Optional: Add some basic table styling */
.sticky-header-table {
    width: 100%;
    border-collapse: collapse;
    /*border-left: 20px solid #ddd;*/
}

.sticky-header-table th, .sticky-header-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Make the first column sticky if it has name="edit" */
.sticky-header-table td[name="edit"] {
    position: sticky;
    left: 0;
    /*background-color: white; !* Adjust the background color as needed *!*/
    background-color: #ddd; /* Adjust the background color as needed */
    z-index: 2; /* Ensure the cell stays on top */
    border-right: 1px solid #ddd; /* Optional: Add a border for better visual separation */
}

/* Ensure the intersection of sticky header and sticky column is correctly layered */
.sticky-header-table thead th:first-child {
    left: 0;
    z-index: 3; /* Higher z-index to ensure it stays above other elements */
    /*background-color: white; !* Adjust as needed *!*/
    background-color: #ddd; /* Adjust as needed */
    border-right: 1px solid #ddd; /* Optional: Add a border for better visual separation */
}


.list-section {
    width: 50%;
}

.edit-section {
    width: 50%;
    display: none; /* Initially hide the edit section */
}

.container {
    display: flex;
    overflow-x: auto;
}

/*.container-fluid {*/
/*    overflow-x: auto;*/
/*    padding-left: 0; !* Remove padding on the left *!*/
/*    padding-right: 0; !* Optional: Remove padding on the right *!*/
/*}*/

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    margin: 0 auto;
}

.scrollable-content {
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
    padding-left: 15px; /* Or set to 0 if needed */
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    overflow-y: hidden;
    overflow-x: auto;
    display: block;
}

.errorlist li {
    color: red;  /* Customize this to your desired color */
    font-weight: bold;  /* Make the text bold, if desired */
}
