.sidebar-wrapper .menu .sidebar-item.active>.sidebar-link {
    background-color: #3f51b5;
}


.idev-pagination .paginate_button {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #000000 !important;
    padding: 0.3em 0.8em;
}

.idev-pagination .paginate_button:hover {
    background: #787879;
    border: 1px solid #787879;
    color: #ffffff !important;
}

.idev-pagination .current {
    background: #9d9d9e;
    border: 1px solid #a1aab2;
    color: #ffffff !important;
    padding: 0.3em 0.8em;
    border-radius: 6px;
}

.section-footer {
    background-color: #435ebe;
    color: #ffffff;
    font-size: 20px;
    padding-top: 6px;
}

.title-header{
    font-size: large;
    margin-top: 26px;
    font-weight: bold;
}

.radius-6{
    border-radius: 6px;
}

.field-bulktable{
    border: 1px solid #ced4da;
    /* background: #fefefe; */
    padding: 6px;
    border-radius: 6px;
}

.pc-header .m-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 260px;
    padding: 16px 10px 16px 24px;
    font-weight: bold;
    font-size: 18px;
}

.auth-main .auth-wrapper .auth-form img {
    padding: 5px 15px 25px 15px;
    width: 180px;
    opacity: 0.8;
}

.auth-main .auth-wrapper .auth-form .card {
    width: 100%;
    max-width: 400px;
}

.btn-primary-idev{
    background-color: #6fa8a1;
    border-color: #6fa8a1;
}

.btn-primary-idev:hover{
    background-color: #6fa8a1;
    border-color: #6fa8a1;
    color: #ffffff;
    opacity: 0.8;
}

.summary-section{
    width: 100%;
    overflow-x: scroll;
    display: flex;
}

.col-divide-5{
    border: 2px solid #ffffff;
    padding: 6px;
    width: 20%;
    border-radius: 8px;
    background: #dbeaeb;
    text-align: center;
}


@media (min-width: 1080px) {
    #createForm-purchase-order{
        width: 50%;
    }
}

@media (max-width: 960px) {
    .col-divide-5{
        width: 25%;
    }
}

@media (max-width: 760px) {
    .col-divide-5{
        width: 33%;
    }
}

@media (max-width: 560px) {
    .col-divide-5{
        width: 50%;
    }
}

form label {
    font-size: 1rem;
    font-weight: 500;
}

.form-control {
    font-size: 1rem;
}

table th {
    text-transform: uppercase;
    font-weight: bold;
    color: #5e5e5f!important
}











/* === CUSTOM STYLE BEGIN === */

/* OVERRIDE */
.table>:not(caption)>*>* {
    padding: .25rem .75rem;
    border-color: #ccc;
}
/* BASE */
table.table-striped[id^="table-list"] tr {
    padding: 8px 0;
}

table.table-striped[id^="table-list"] td {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 0;
    padding: 8px;
    margin: .25rem 0;
}

table.table-striped[id^="table-list"] td br {
    display: none;
}

table.table-striped[id^="table-list"] td b {
    grid-column: 1;
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    padding: 4px 8px;
    white-space: nowrap;
    border-radius: var(--bs-border-radius-sm) 0 0 var(--bs-border-radius-sm);
    align-self: stretch;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    text-align: left;
}

table.table-striped[id^="table-list"] td > div:not(.col-action) {
    grid-column: 2;
    background-color: var(--bs-white);
    border: var(--bs-border-width) var(--bs-border-style) rgba(var(--bs-primary-rgb), 0.2);
    border-left: none;
    padding: 4px 8px;
    border-radius: 0 var(--bs-border-radius-sm) var(--bs-border-radius-sm) 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    min-height: 28px;
}

table.table-striped[id^="table-list"] td .col-action {
    grid-column: 1 / -1;
}

.tab-sections .nav-link {
    user-select: none;
}

.tab-sections .nav-link.active {
    color: var(--bs-primary);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

/* ========================[ACTION BUTTON STICKY+SHADOW]=========== */
.table-responsive {
    position: relative;
    overflow-x: auto;
}

td.col-action,
th.col-action {
    position: sticky;
    right: 0;
    z-index: 1;
    background: #fff;
    overflow: visible; 
}

td.col-action::before,
th.col-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px; 
    width: 15px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
    transition: opacity 0.2s ease;
    opacity: 0; /* Purely hidden on load and small tables */
}

/* Turns on explicitly when real content slips out of sight */
.table-responsive.has-hidden-content td.col-action::before,
.table-responsive.has-hidden-content th.col-action::before {
    opacity: 1;
}
/* KARTU STOK */

.dashboard-inventory-consumable-stock-table.table-scroll tbody {
  display: block;
  max-height: 16rem;
  overflow-y: auto;
}

.dashboard-inventory-consumable-stock-table.table-scroll thead,
.dashboard-inventory-consumable-stock-table.table-scroll tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

/* Fix Swal behind Bootstrap Modal */
.swal2-container {
    z-index: 11000 !important;
}
