/* ── Permissions accordion — shared theme (listing + assign pages) ── */
.accordion-item {
    border: 1px solid rgba(247,148,29,0.18) !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    background: linear-gradient(135deg,#fffaf4 0%,#ffffff 100%) !important;
    box-shadow: 0 2px 8px rgba(247,148,29,0.07) !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(247,148,29,0.14) !important;
    transform: translateY(-1px) !important;
}
.accordion-header {
    border-left: 4px solid #F7941D !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1B3A6B !important;
    background: transparent !important;
}
.accordion-body {
    border-top: 1px dashed rgba(247,148,29,0.22) !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
}
/* nested items slightly lighter */
.accordion-body .accordion-item {
    border: 1px solid rgba(247,148,29,0.12) !important;
    background: #fff !important;
    box-shadow: none !important;
}
.accordion-body .accordion-item:hover {
    box-shadow: 0 2px 8px rgba(247,148,29,0.1) !important;
    transform: translateY(-1px) !important;
}
.accordion-body .accordion-header {
    border-left: 3px solid rgba(247,148,29,0.45) !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
    color: #2d3748 !important;
}
.accordion-body .accordion-body {
    border-top: 1px dashed rgba(247,148,29,0.15) !important;
    padding: 10px 14px !important;
}
/* toggle icon */
.toggle-icon {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg,#F7941D,#ffb347) !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.28s ease, background 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(247,148,29,0.38) !important;
    margin-left: 10px !important;
}
.toggle-icon:not(.collapsed) {
    transform: rotate(90deg) !important;
    background: linear-gradient(135deg,#e07800,#F7941D) !important;
}

/* ── Datepicker orange theme ── */
.datepicker-container {
    background-color: #fff !important;
    border-radius: 12px !important;
    padding: 8px !important;
    overflow: hidden !important;
    font-size: 13px !important;
}
.datepicker-dropdown {
    border: 1px solid rgba(247,148,29,0.3) !important;
    box-shadow: 0 8px 28px rgba(247,148,29,0.18) !important;
    border-radius: 12px !important;
}
/* Arrow pointer colors */
.datepicker-top-left,
.datepicker-top-right {
    border-top-color: #F7941D !important;
}
.datepicker-top-left:before,
.datepicker-top-right:before {
    border-bottom-color: #F7941D !important;
}
.datepicker-top-left:after,
.datepicker-top-right:after {
    border-bottom-color: #fff !important;
}
.datepicker-bottom-left,
.datepicker-bottom-right {
    border-bottom-color: #F7941D !important;
}
.datepicker-bottom-left:before,
.datepicker-bottom-right:before {
    border-top-color: #F7941D !important;
}
.datepicker-bottom-left:after,
.datepicker-bottom-right:after {
    border-top-color: #fff !important;
}
/* Week header row */
.datepicker-panel > ul[data-view=week] > li,
.datepicker-panel > ul[data-view=week] > li:hover {
    background: transparent !important;
    color: #F7941D !important;
    font-weight: 600 !important;
    cursor: default !important;
}
/* Nav row (prev/current/next) */
.datepicker-panel > ul > li[data-view="month prev"],
.datepicker-panel > ul > li[data-view="month next"],
.datepicker-panel > ul > li[data-view="year prev"],
.datepicker-panel > ul > li[data-view="year next"],
.datepicker-panel > ul > li[data-view="years prev"],
.datepicker-panel > ul > li[data-view="years next"],
.datepicker-panel > ul > li[data-view="next"] {
    color: #F7941D !important;
    font-weight: 700 !important;
    background: #fff !important;
}
.datepicker-panel > ul > li[data-view="month prev"]:hover,
.datepicker-panel > ul > li[data-view="month next"]:hover,
.datepicker-panel > ul > li[data-view="year prev"]:hover,
.datepicker-panel > ul > li[data-view="year next"]:hover,
.datepicker-panel > ul > li[data-view="years prev"]:hover,
.datepicker-panel > ul > li[data-view="years next"]:hover,
.datepicker-panel > ul > li[data-view="next"]:hover {
    background: rgba(247,148,29,0.08) !important;
}
.datepicker-panel > ul > li[data-view="month current"],
.datepicker-panel > ul > li[data-view="year current"],
.datepicker-panel > ul > li[data-view="years current"] {
    color: #1B3A6B !important;
    font-weight: 700 !important;
    background: #fff !important;
}
.datepicker-panel > ul > li[data-view="month current"]:hover,
.datepicker-panel > ul > li[data-view="year current"]:hover,
.datepicker-panel > ul > li[data-view="years current"]:hover {
    background: rgba(247,148,29,0.08) !important;
}
/* Day cells */
.datepicker-panel > ul > li {
    background-color: #fff !important;
    border-radius: 6px !important;
    transition: background 0.15s ease !important;
}
.datepicker-panel > ul > li:hover {
    background-color: rgba(247,148,29,0.12) !important;
    color: #F7941D !important;
}
/* Highlighted (today) */
.datepicker-panel > ul > li.highlighted {
    background-color: rgba(247,148,29,0.12) !important;
    color: #F7941D !important;
    font-weight: 600 !important;
}
.datepicker-panel > ul > li.highlighted:hover {
    background-color: rgba(247,148,29,0.22) !important;
}
/* Selected/picked date */
.datepicker-panel > ul > li.picked,
.datepicker-panel > ul > li.picked:hover {
    background: linear-gradient(135deg, #F7941D, #ffb347) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 8px rgba(247,148,29,0.4) !important;
}
/* Muted (other month days) */
.datepicker-panel > ul > li.muted,
.datepicker-panel > ul > li.muted:hover {
    color: #ccc !important;
    background: #fff !important;
}
/* Disabled */
.datepicker-panel > ul > li.disabled,
.datepicker-panel > ul > li.disabled:hover {
    background-color: #fff !important;
    color: #ddd !important;
    cursor: default !important;
}

/* ── Suppress old loaders — #ajax_loader handles everything ── */
.loader-wrapper,
.loader-wrapper-new,
div.dataTables_processing {
    display: none !important;
}

/* ── Custom disabled field ── */
.custom-disabled,
.custom-disabled:focus {
    background-color: #efefef !important;
    color: #aaa !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.page-title {
    padding: 8px 0 8px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 20px 0 20px;
    box-shadow: none;
    position: relative;
}
.page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 30px;
    background: linear-gradient(135deg, #F7941D 0%, #ffb347 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.page-title h3 {
    color: #1B3A6B !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.1px;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 0px;
}


.top-form-card {
    padding: 8px 18px;
}

.top-btn-group button {
    margin: 0px !important;
}


.data-body {
    padding: 15px 18px;
}

.dataTables_wrapper .dataTables_length select {
    border: #c1c1c1 solid 1px !important;
}


.custom-input {
    margin-top: 0px;
}

.custom-input.theme-form input[type=text],
.custom-input.theme-form select {
    background: #fff;
    border-color: #c1c1c1;
    border: #c1c1c1 solid 1px;
    padding: 5px;
    color: #000;
    font-size: 13px;
}

.custom-input .col-md-12 {
    margin-top: 0px;
}

.custom-input .form-label {
    margin: 0px;
}


.custom-input .select2-container .select2-selection--single {
    height: 33px !important;
}

.custom-input .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
}

.custom-input .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px !important;
    top: 0 !important;
}



.city-frm-btn {
    text-align: right;
}

.top-btn-group {
    text-align: right;
}


#relation_listing_wrapper.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    max-height: 50vh !important;
}


#addCityForm .invalid-feedback {
    color: var(--bs-form-invalid-color) !important;
}

#addCityForm .form-label sup.error {
    color: var(--bs-form-invalid-color) !important;
}


.custom-input.theme-form input::placeholder {
    color: #a5a5a5;
}

.custom-input .col-6 .btn.m-2,
.custom-input .col-4 .btn.m-2,
.custom-input .col-3 .btn.m-2 {
    margin-top: 28px !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td:first-child,
table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > th:first-child {
    padding-left: 38px !important;
    cursor: pointer;
}
table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > th:first-child:before {
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
    height: 22px;
    width: 22px;
    display: block;
    position: absolute;
    color: #fff;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(49, 177, 49, 0.45) !important;
    box-sizing: border-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 22px !important;
    content: "+" !important;
    background-color: #31b131 !important;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    content: "−" !important;
    background-color: #d33333 !important;
    box-shadow: 0 2px 8px rgba(211, 51, 51, 0.45) !important;
}


.img-box {
    position: relative;
}

.img-box {
    background: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 100%;
}

.photo-edit {
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    font-size: 11px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    right: -5px;
    top: 48px;
    cursor: pointer;
}



.invalid-feedback,
.error {
    color: #ff0000 !important;
}

.dataTables_wrapper table.dataTable thead th {
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td {
    word-break: break-all;
}

table.dataTable>tbody>tr.child span.dtr-title {
    display: inline-block;
    min-width: 250px;
}

/* Child row reset — normal tbody styling */
table.dataTable tbody tr.child td {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    border-right: none !important;
    box-shadow: none !important;
    color: #4a5568 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    padding: 10px 14px !important;
}
table.dataTable tbody tr.child span.dtr-title {
    font-weight: 600 !important;
    color: #F7941D !important;
    font-size: 13px !important;
}
table.dataTable tbody tr.child span.dtr-data {
    color: #4a5568 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
}


.hidden-important {
    display: none !important;
}





.select-box {
    width: 100% !important;
}

.selected-box {
    max-width: 100% !important;
    padding: 8px 12px;
    border: 1px solid #878787;
    border-radius: 5px;
    background: #fff;
}

.selected-box::after {
    width: 24px;
    right: 0px;
    top: 8px;
}

.search-box input {
    width: 100%;
    border: 1px solid #878787;
    border-radius: 5px;
    background: #fff;
    max-width: 100%;
    padding: 8px 16px;
}

.select-box .options-container.active {
    max-width: 100%;
}

.loader-wrapper-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrapper-new img {
    width: 50px;
    height: 50px;
}

.login-card .logo {
    margin-bottom: 0px;
}

.login-card .logo img {
    max-width: 300px !important;
    height: 120px !important;
}



div .action .view a {
    color: #17A600;
}

/* ── Password show/hide eye button ── */
.show-hide {
    width: 34px !important;
    height: calc(100% - 2px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 6px 6px 0 !important;
    background: rgba(247, 148, 29, 0.08) !important;
    border-left: 1.5px solid rgba(247, 148, 29, 0.25) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    color: #F7941D !important;
    cursor: pointer !important;
    top: 1px !important;
    right: 1px !important;
    transform: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
}
.show-hide:hover {
    background: #F7941D !important;
    border-left-color: #F7941D !important;
    box-shadow: none !important;
}
.show-hide i,
.show-hide span {
    font-size: 13px !important;
    color: #F7941D !important;
    transition: color 0.2s ease !important;
}
.show-hide:hover i,
.show-hide:hover span {
    color: #fff !important;
}
/* Prevent password text going under the icon */
.form-input input[type="password"],
.form-input input[type="text"] {
    padding-right: 42px !important;
}

i.fa-regular.fa-eye.fa-fw {
    color: #F7941D;
}

i.fa-solid.fa-key.fa-fw {
    color: orange;
}

.custom-align label.form-label {
    width: 150px;
    flex: 0 0 150px;
}


.login-card .login-main {
    border-radius: 0px !important
}

.profile-dropdown img {
    height: 40px;
    border-radius: 100% !important;
}



.select2-container .dropdown-wrapper {
    display: none;
}

.select2-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}
.select2-container .select2-selection--single {
    height: 33px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1.5px solid #dde1ea !important;
    background: #fff !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single {
    background: #fff !important;
    border: 1.5px solid #dde1ea !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    font-size: 13.5px !important;
    color: #2d3748 !important;
    padding-left: 0.75rem !important;
    padding-right: 2rem !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #a0aec0 !important;
    font-size: 13px !important;
}

.select2-container.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #F7941D !important;
    box-shadow: 0 0 0 3px rgba(247,148,29,.16) !important;
    outline: none !important;
}




.edit-profile .row .card {
    height: 100%;
}



#branchFilterForm .row .col-md-4 {
    margin-bottom: 20px;
}

#statusChangeForm label {
    margin: 0 10px 0 0;
}


.form-control.custom-disabled {
    background-color: #efefef !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.radiobutton-primary.custom-disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 0.5;
    pointer-events: none;
    /* Prevent interaction */
    cursor: not-allowed;
    /* Show a not-allowed cursor */
}

.select-disabled,
.select2-container--default .select2-selection--single.select-disabled {
    pointer-events: none;
    background-color: var(--bs-secondary-bg) !important;
    cursor: not-allowed;
    opacity: 0.5;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 0.75rem !important;
}




/* .square-timeline li {text-align: center; font-size: 16px; } */


.edit-profile .card .card-footer {
    border-top: none;
}


#accordionPanelsStayOpenExample .accordion-body {
    padding-right: 0px;
}

/* .accordion-body .accordion-item .accordion-header .accordion-button {background: none !important; } */

div.dataTables_wrapper div.dataTables_length select {
    height: auto;
    min-height: auto;
}

.card.filter-card {
    margin-bottom: 18px;
}



/* old duplicate timeline rules removed — replaced by new rules */

.text-muted .action-text:hover {
    color: #0063ff !important;
    opacity: 0.75;
}


#masterLogFilterForm .col-md-4 {
    margin-bottom: 20px;
}

.page-sidebar .sidebar-menu .sidebar-list .sidebar-submenu>li.active .submenu-title.active {
    color: var(--theme-default);
}


.ecommerce-dashboard .col-md-3 {
    margin-bottom: 24px;
}

.ecommerce-dashboard .card.progress-items {
    height: 100%;
    margin-bottom: 0px;
}

/* ── Dashboard Welcome Bar ── */
.dash-welcome-bar {
    background: linear-gradient(135deg, #1B3A6B 0%, #254d96 100%);
    border-radius: 18px;
    padding: 26px 32px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27,58,107,0.22);
}
.dash-welcome-bar::before {
    content: '';
    position: absolute;
    right: -30px; top: -50px;
    width: 220px; height: 220px;
    background: rgba(247,148,29,0.13);
    border-radius: 50%;
    pointer-events: none;
}
.dash-welcome-bar::after {
    content: '';
    position: absolute;
    right: 80px; top: -70px;
    width: 160px; height: 160px;
    background: rgba(61,170,71,0.10);
    border-radius: 50%;
    pointer-events: none;
}
.dash-welcome-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.dash-welcome-sub {
    font-size: 13.5px;
    opacity: 0.75;
    margin-top: 4px;
}
.dash-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(247,148,29,0.18);
    border: 1px solid rgba(247,148,29,0.35);
    color: #FFB347;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* ── Stat Cards ── */
.dash-stat-card {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 2px 16px rgba(27,58,107,0.07) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    overflow: hidden !important;
    position: relative;
    margin-bottom: 0 !important;
}
.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.dash-stat-card.accent-green::before  { background: linear-gradient(90deg,#3DAA47,#5fcf6b); }
.dash-stat-card.accent-orange::before { background: linear-gradient(90deg,#F7941D,#ffb347); }
.dash-stat-card.accent-navy::before   { background: linear-gradient(90deg,#1B3A6B,#2a5298); }
.dash-stat-card.accent-red::before    { background: linear-gradient(90deg,#e74c3c,#ff6b6b); }
.dash-stat-card.accent-teal::before   { background: linear-gradient(90deg,#00b09b,#48d1cc); }
.dash-stat-card.accent-purple::before { background: linear-gradient(90deg,#7b5ea7,#b07fdf); }
.dash-stat-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 36px rgba(27,58,107,0.14) !important;
}

.dash-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    line-height: 54px;
}
.dash-stat-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}
.icon-green  { background: rgba(61,170,71,0.12);  color: #3DAA47 !important; }
.icon-orange { background: rgba(247,148,29,0.13); color: #F7941D !important; }
.icon-navy   { background: rgba(27,58,107,0.10);  color: #1B3A6B !important; }
.icon-red    { background: rgba(231,76,60,0.10);  color: #e74c3c !important; }
.icon-teal   { background: rgba(0,176,155,0.10);  color: #00b09b !important; }
.icon-purple { background: rgba(123,94,167,0.10); color: #7b5ea7 !important; }

.dash-stat-label {
    font-size: 13px;
    color: #9099a6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01px;
    margin-bottom: 6px;
    white-space: nowrap;
}
.dash-stat-slash {
    font-size: inherit;
    font-weight: 500;
    color: #9099a6;
}
.dash-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1B3A6B;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}
.dash-stat-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}
.dash-stat-link:hover .dash-stat-value { color: #F7941D; }
.dash-stat-body {
    padding: 20px 20px 22px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dash-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Section heading */
.dash-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1B3A6B;
    letter-spacing: -0.2px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(61,170,71,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-section-title i { color: #F7941D; font-size: 14px; }

#loadMoreButton {
    margin: 20px auto;
    display: block;
}













.accordion-pane-btn {
    text-align: right;
}

body {
    background: linear-gradient(145deg, #fdebd0 0%, #f5f7fc 55%, #f0f7f2 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}
.page-wrapper, .page-wrapper .page-body-wrapper {
    background: transparent !important;
}


.no-available {
    text-align: center;
}

.no-available span {
    background: url(./images/out-of-stock.png) 0 0 no-repeat;
    display: inline-block;
    padding: 3px 0 5px 32px;
}

table#cron.dataTable input {
    border: 1px solid #6a71854d !important
}

.form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
    pointer-events: none;
    background-color: #F7941D;
    border-color: #F7941D;
    color: #ffffff;
}

.datepicker-container.datepicker-dropdown.datepicker-top-left {
    z-index: 1600 !important;
}



table.dataTable#associate_carder input,
table.dataTable#associate_carder select,
table.dataTable#branch_limit input,
table.dataTable#branch_limit select {
    border: 1px solid #ababab;
}

.col-form-label {
    padding-top: calc(0.375rem + var(--bs-border-width)) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
}



.rupee-span,
.format-span {
    font-size: 10px;
}




.page-wrapper.sidebar-close .page-body-wrapper {
    margin-left: 80px !important;
}

.sidebar-close .page-sidebar .sidebar-menu .sidebar-list span {
    display: none;
}

.sidebar-close .page-sidebar {
    width: 80px !important;
    left: 0px !important;
}






.sidebar-close .simplebar-content-wrapper,
.sidebar-close .simplebar-mask,
.sidebar-close .simplebar-wrapper,
.sidebar-close .page-sidebar .sidebar-menu {
    overflow: visible !important;
}


.page-sidebar {
    z-index: 10;
    margin-top: 87px !important;
}

.sidebar-close .page-sidebar .sidebar-submenu {
    position: absolute;
    z-index: 99999;
    left: 80px;
    top: 0;
    margin-top: 0px;
    width: 200px;
    background: #fff;
}

.sidebar-close .page-sidebar .sidebar-menu .sidebar-list:hover .sidebar-submenu {
    display: block !important;
}






.custom-select-date {
    position: relative;
}

.custom-select-date .form-control.is-invalid {
    background-image: none;
}

.custom-select-date .custom-select-date-box {
    position: absolute;
    right: 10px;
    bottom: 0;
    height: 33px;
    display: flex;
    align-items: center;
    pointer-events: none;
    color: #9099a6;
    font-size: 14px;
}




.checkbox-primary:disabled:before {
    content: "";
    position: absolute;
    left: 0px;
    width: 29px;
    height: 16px;
    transform: rotate(45deg);
    pointer-events: none;
    border-bottom: #F7941D solid 1px;
    top: -4px;
    z-index: 99;
    border-top: none;
    border-right: none;
    border-left: none;
}




/* ── Timeline connecting line — orange dashed ── */
.square-timeline::before {
    border-color: rgba(247, 148, 29, 0.4) !important;
    border-style: dashed !important;
    left: 19px !important;
}

/* ── Diamond icon — larger, glowing ── */
.square-timeline .timeline-event .timeline-event-icon {
    width: 14px !important;
    height: 14px !important;
    left: 12px !important;
    top: 16px !important;
    background-color: #F7941D !important;
    outline: 5px solid rgba(247, 148, 29, 0.2) !important;
    box-shadow: 0 0 10px rgba(247, 148, 29, 0.45) !important;
    border-radius: 2px !important;
    transform: rotate(45deg) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}
.square-timeline .timeline-event:hover .timeline-event-icon {
    transform: rotate(-45deg) !important;
    box-shadow: 0 0 16px rgba(247, 148, 29, 0.7) !important;
    background-color: #e07800 !important;
}

/* ── Wrapper positioning — padding instead of left so header can match ── */
.square-timeline .timeline-event .timeline-event-wrapper {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    padding-left: 38px !important;
    box-sizing: border-box !important;
    margin-bottom: 8px;
}

/* ── Each row card ── */
.square-timeline .timeline-event .timeline-event-wrapper .timeline-thumbnail {
    display: flex !important;
    align-items: center;
    padding: 13px 16px 13px 14px !important;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%) !important;
    border: 1px solid rgba(247, 148, 29, 0.2) !important;
    border-left: 4px solid #F7941D !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(247, 148, 29, 0.08) !important;
    margin-bottom: 2px;
    transition: box-shadow 0.22s ease, transform 0.18s ease !important;
}
.square-timeline .timeline-event:hover .timeline-event-wrapper .timeline-thumbnail {
    box-shadow: 0 4px 18px rgba(247, 148, 29, 0.22) !important;
    transform: translateX(2px);
    background: linear-gradient(135deg, #fff3e0 0%, #fffaf4 100%) !important;
}

/* ── Column label text inside rows ── */
.square-timeline .timeline-event .timeline-event-wrapper .timeline-thumbnail span {
    font-size: 13.5px;
    color: #3d3d3d;
    line-height: 1.4;
}
.square-timeline .timeline-event .timeline-event-wrapper .timeline-thumbnail .f-w-600 {
    font-weight: 600 !important;
    color: #2d2d2d !important;
}

/* ── card-heading: match card-body horizontal padding so col-% widths align ── */
.card-heading {
    padding-left: var(--bs-card-spacer-x, 1rem) !important;
    padding-right: var(--bs-card-spacer-x, 1rem) !important;
}

/* ── Header row — same 38px left offset as the data wrapper ── */
.card-heading .timeline-thumbnail {
    padding: 14px 0 14px 38px !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 1px dashed #F7941D !important;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: none !important;
}
.card-heading .timeline-thumbnail span {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #F7941D !important;
    text-transform: none;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

/* ── Load More button ── */
#loadMoreButton {
    display: block;
    margin: 16px auto 0;
}

.action-text {
    color: #0063ff !important;
    cursor: pointer;
}

/* All content links get action-text blue — only inside .page-body, excludes buttons/badges/dropdowns/pagination/tabs/white-text */
.page-body a:not(.btn):not(.badge):not(.dropdown-item):not(.action-icon-btn):not(.page-link):not(.paginate_button):not(.nav-link):not(.text-white):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-dark):not(.text-muted):not(.fc-col-header-cell-cushion):not(.fc-daygrid-day-number) {
    color: #0063ff !important;
    cursor: pointer;
    text-decoration: none;
}
.page-body a:not(.btn):not(.badge):not(.dropdown-item):not(.action-icon-btn):not(.page-link):not(.paginate_button):not(.nav-link):not(.text-white):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-dark):not(.text-muted):not(.fc-col-header-cell-cushion):not(.fc-daygrid-day-number):hover {
    color: #0063ff !important;
    opacity: 0.75;
    text-decoration: underline;
}



/* Log modal textarea — allow vertical resize */
#valueModal textarea#description {
    resize: vertical !important;
    min-height: 80px;
}

/* Log modal value boxes — slim custom scrollbar, no native arrows */
#oldValue, #newValue {
    scrollbar-width: thin;
    scrollbar-color: rgba(247,148,29,0.4) transparent;
}
#oldValue::-webkit-scrollbar, #newValue::-webkit-scrollbar { width: 4px; }
#oldValue::-webkit-scrollbar-track, #newValue::-webkit-scrollbar-track { background: transparent; }
#oldValue::-webkit-scrollbar-thumb, #newValue::-webkit-scrollbar-thumb {
    background: rgba(247,148,29,0.4);
    border-radius: 4px;
}
#oldValue ul, #newValue ul { padding-left: 0; margin: 0; list-style: none; }
#oldValue ul li, #newValue ul li { padding: 3px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
#oldValue ul li:last-child, #newValue ul li:last-child { border-bottom: none; }


table.dataTable#associate_carder thead th:nth-child(3) {
    width: 374px !important;
}


body {
    font-size: 13px;
}

.form-control,
.form-select {
    font-size: 13px;
}

#tenureForm table tbody tr:last-child td {
    padding: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px !important;
    top: 0 !important;
    right: 8px !important;
}



.dataTables_wrapper .dataTables_length {
    float: right;
}

.loadMoreButton {
    margin: 0px auto 20px auto !important;
    background: #fff;
    color: #F7941D;
}

.loadMoreButton i {
    font-size: 13px;
    margin: 0 0 0 6px;
}

.loadMoreButton:hover {
    background: #F7941D;
    color: #fff;
}

/* table.dataTable#associate_carder input { width:150px; margin: 0 auto; text-align: center; }


table.dataTable#associate_carder thead th:nth-child(4),
table.dataTable#associate_carder thead th:nth-child(5),
table.dataTable#associate_carder thead th:nth-child(6) { text-align: center;} */


/* .checkbox-primary:disabled:before {
    content: "";
    position: absolute; 
    top: 7%; 
    left: -4px; 
    width: 211%;

    height: 1px;
    transform: translateY(368%) rotate(45deg);
    pointer-events: none; 
}*/









/* #removeImage{
    display:none; position: absolute; top: 8px; right: -18px; color: red; font-size: 20px; cursor: pointer;
} */

/* Optional: Add some space between the label and the radio button */
#multi-step-form .form-check-label {
    margin-top: 5px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

#multi-step-form .form-check {
    padding-left: 0 !important;
}

/* Optional: Add some space between the label and the radio button */
.multi-step-form div#previewForm .col-sm-6,
#multi-step-form div#previewForm .col-sm-6 {
    display: flex;
}

.multi-step-form div#previewForm .col-sm-6 .form-label,
#multi-step-form div#previewForm .col-sm-6 .form-label {
    width: 50%;
    min-width: 50%;
}

/* Apply Flexbox to center-align the content horizontally and vertically */
#multi-step-form .form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2px;
}

.multi-step-form .custom-select-date .custom-select-date-box,
#multi-step-form .custom-select-date .custom-select-date-box {
    bottom: 0 !important;
    top: auto !important;
    height: 33px !important;
    display: flex !important;
    align-items: center !important;
}


/* ── Global scrollbar — orange theme ── */
* {
    scrollbar-width: thin;
    scrollbar-color: #F7941D #f1f1f1;
}
*::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
}
*::-webkit-scrollbar-track {
    background: #f4f4f4 !important;
    border-radius: 10px !important;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F7941D, #e07800) !important;
    border-radius: 10px !important;
    border: 1px solid #f4f4f4 !important;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e07800, #c96a00) !important;
}







/* Detail page ajax-button tabs — orange theme matching create page nav-pills */
.ajax-button.list-group-item {
    color: #595c5f !important;
    background: transparent !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
}
.ajax-button.list-group-item:hover {
    background: rgba(247,148,29,0.08) !important;
    color: #F7941D !important;
    padding-left: 22px !important;
}
.ajax-button.list-group-item.active {
    background: #F7941D !important;
    color: #fff !important;
    border-color: #F7941D !important;
    font-weight: 600 !important;
}
.ajax-button.list-group-item.active:hover {
    background: #e07e10 !important;
    color: #fff !important;
    padding-left: 16px !important;
}

/* step css*/

.horizontal-wizard-wrapper #multi-step-form .main-horizontal-header,
.horizontal-wizard-wrapper .multi-step-form .main-horizontal-header {
    padding: 0 15px 20px 15px;
}

.horizontal-wizard-wrapper #multi-step-form .main-horizontal-header .horizontal-options,
.horizontal-wizard-wrapper .multi-step-form .main-horizontal-header .horizontal-options {
    background: #fff8f0;
}

.horizontal-wizard-wrapper #multi-step-form .main-horizontal-header .horizontal-options a,
.horizontal-wizard-wrapper .multi-step-form .main-horizontal-header .horizontal-options a {
    width: 100%;
    border-radius: 0px;
    cursor: default;
    justify-content: left;
}

.horizontal-wizard-wrapper #multi-step-form .main-horizontal-header .horizontal-options a.active h6,
.horizontal-wizard-wrapper .multi-step-form .main-horizontal-header .horizontal-options a.active h6 {
    color: #ffffff;
}

.horizontal-wizard-wrapper #multi-step-form .main-horizontal-header .horizontal-options a h6,
.horizontal-wizard-wrapper .multi-step-form .main-horizontal-header .horizontal-options a h6 {
    color: #595c5f;
}

/* .horizontal-wizard-wrapper #multi-step-form .main-horizontal-header .horizontal-options .horizontal-wizard-content h6 {
    color: #3D3D47;
} */

#previewForm .card-header {
    background: #fff8f0;
    padding: 10px;
}

/* Read-only style for radio buttons */
.radio-disabled {
    pointer-events: none;
    /* Prevent interaction */
    opacity: 0.5;
    /* Change the appearance */
    cursor: not-allowed;
    /* Make cursor look like it's disabled */

}

/* Read-only style for labels */
.readonly-label {
    pointer-events: none;
    /* Prevent interaction */
    cursor: not-allowed;
    /* Make cursor look like it's disabled */

}

/* By Mohammad Zaid Bin Mahmood Alam */

/* #associate-multi-step-form .tab-content>.tab-pane {
    display: block !important;
}
#associate-multi-step-form .fade:not(.show) {
    opacity: 1 !important;
} */

.radiobutton-primary {
    width: 18px;
    height: 18px;
}

.radiobutton-primary:checked {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
}

.text-custom-primary {
    color: var(--theme-default);
}

.custom-label-color {
    color: #3D3D47 !important;
}

.checkbox-checked .form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-input {
    cursor: pointer !important;
}



.tap-top {
    z-index: 999999 !important;
}


.footer {
    position: fixed;
    bottom: 0;
    left: 273px;
    right: 19px;
    z-index: 9;
    padding: 15px;
}

#login-page .footer {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    z-index: 9;
    padding: 15px;
}

.page-wrapper .page-body-wrapper .page-body {
    padding-bottom: 80px;
}


table.display.dataTable.no-footer.dtr-inline.fixedHeader-floating {
    width: 76% !important;
    table-layout: fixed !important;
    top: 85px !important;
    left: 309.1px !important;
}

/* === Action Dropdown — original menu always hidden, portal handles display === */
.dropdown:has(.action-icon-btn) > .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Portal menu — fixed on body, fully styled here (not inside dataTables_wrapper) */
.action-dd-menu {
    display: none;
    position: fixed !important;
    z-index: 9999 !important;
    min-width: 210px !important;
    background-color: #fff !important;
    border: 1px solid rgba(27,58,107,0.10) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    box-shadow: 0 8px 28px rgba(27,58,107,0.16) !important;
    list-style: none !important;
    margin: 0 !important;
}

.action-dd-menu .dropdown-item,
.action-dd-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #4a5568 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
    position: relative !important;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
    background: none !important;
    text-decoration: none !important;
}

/* Sidebar-style icon box inside portal */
.action-dd-menu .dropdown-item i,
.action-dd-menu a i,
.action-dd-menu .dd-icon {
    background: rgba(247,148,29,0.13) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #F7941D !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    pointer-events: none;
}

/* Hover — sidebar orange gradient */
.action-dd-menu .dropdown-item:hover,
.action-dd-menu a:hover {
    background: linear-gradient(90deg, rgba(247,148,29,0.10) 0%, rgba(247,148,29,0.03) 100%) !important;
    color: #F7941D !important;
    padding-left: 14px !important;
}
.action-dd-menu .dropdown-item:hover i,
.action-dd-menu a:hover i,
.action-dd-menu .dropdown-item:hover .dd-icon,
.action-dd-menu a:hover .dd-icon {
    background: rgba(247,148,29,0.22) !important;
    transform: scale(1.08);
    color: #F7941D !important;
}

/* Action dropdown button — icon only, no box, blue */
.action-icon-btn {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px 10px !important;
    color: #1B3A6B !important;
    font-size: 20px !important;
    cursor: pointer;
    line-height: 1;
}
.action-icon-btn::after {
    display: none !important;
}
.action-icon-btn:hover,
.action-icon-btn:focus {
    color: #F7941D !important;
    outline: none !important;
}

#cover {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.80;
    background: #aaa;
    z-index: 10;
    display: none;
}


.loaders {
    margin: 0;
    padding: 0;
}

.spiners {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/assets/images/spiners.gif') 50% 50% no-repeat rgb(249, 249, 249, 0);
    background-size: 150px;
}

/* 

.dtr-data ul li ul:before {
  width: 0;
  height: 0;
  margin: 0px auto;
  display: block;
  content: "";
  left: -10px;
  top: 4px;
  position: absolute;
}

.dtr-data ul li ul:before {
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
}

.dtr-data ul li ul:before {
  border-right:10px solid #fff;
} */



.user-profile .hovercard .cardheader:before {
    background: rgba(0, 0, 0, 0.3);
    content: "";
    display: block;
    height: 100%;
    width: 100%;
}

.user-profile .hovercard .user-image .avatar {
    margin-top: -45px;
}

.user-profile .hovercard .info {
    padding: 50px 26px 30px 26px;
}

.profile-img-style .loadMoreButton {
    margin: 0px auto 10px auto !important;
}




.text-danger.employee_code-error {
    color: #ff0000 !important;
    font-size: 0.875em;
}



/* old card-heading overrides removed — replaced by new rules above */

.calendar-fund {
    top: 30px !important;
}




.progress-block {
    padding: 10px 0px 30px 0px;
}

.progress {
    height: 25px;
}

.login-logo {
    background-color: #ffffff;
    padding-top: 25px;
}


.aadhar-eye-link,
.pan-eye-link,
.address-proof-eye-link,
.disb_passbook_upload-eye-link,
.guarantors_pan_upload-eye-link,
.guarantors_aadhaar_upload-eye-link,
.guarantors_signature-eye-link,
.guarantors_photo-eye-link,
.guarantors_income_proof-eye-link,
.guarantors_cheque1_upload-eye-link,
.guarantors_cheque2_upload-eye-link,
.coappliacnt_aadhar-eye-link,
.coappliacnt_pan-eye-link,
.coapplicant_photo-eye-link,
.coapplicant_income-eye-link,
.coapplicant_cheque1-eye-link,
.coapplicant_cheque2-eye-link,
.coapplicant_signature-eye-link,
.coappliacnt_pan-eye-link,
.coappliacnt_aadhar-eye-link,
.coapplicant_signature-eye-link,
.cheque1-eye-link,
.cheque2-eye-link,
.cheque3-eye-link,
.income-proof-eye-link,
.profile-eye-link,
.coapplicant_address-eye-link,
.guarantors_address_proof_file-eye-link,
.signature-eye-link,
.other_document_file0-eye-link,
.other_document_file1-eye-link,
.other_document_file2-eye-link,
.other_document_file3-eye-link,
.other_document_file4-eye-link,
.other_document_file5-eye-link,
.other_document_file6-eye-link,
.other_document_file7-eye-link,
.other_document_file8-eye-link,
.guarantors_cheque1_upload_1-eye-link,
.guarantors_cheque2_upload_1-eye-link,
.guarantors_income_proof_1-eye-link,
.guarantors_signature_1-eye-link,
.guarantors_photo_1-eye-link,
.guarantors_address_proof_file_1-eye-link,
.guarantors_pan_upload_1-eye-link,
.guarantors_aadhaar_upload_1-eye-link,
.other_document_file9-eye-link {
    position: absolute;
}

#vertical-wizard-tabContent .form-group,
#vertical-wizard-tabContent .col-sm-6,
#vertical-wizard-tabContent .col-sm-4 {
    position: relative;
}

.address_preview {
    word-break: break-all;
}


.image_text {
    font-size: 10px;
}


.mt-35 {
    margin-top: 35px;
}



.page-sidebar.scroolbar .sidebar-menu {
    height: calc(100vh - 224px);
}


.datepicker-dropdown {
    z-index: 9999999 !important;
}



.login-card .login-main {
    padding-top: 0px;
}

.page-header .logo-wrapper {
    padding: 0px 16px;
}

/* 
#guarantorsVerifyBtn {
    margin-top: 13px !important;
}

#guarantorsVerifyBtn_1 {
    margin-top: 13px !important;
} */

.sidebar-close .page-sidebar .accordion {
    display: none;
}


.profile-img-top img,
.profile-img-bottom img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}


input.pan-field {
    text-transform: uppercase;
}


.vendor-table th,
.vendor-table td {
    white-space: nowrap;
    padding: 5px;
    vertical-align: middle;
    text-align: center;
}

.vendor-table input,
.vendor-table select {
    width: 100%;
    min-width: 80px;
}

.w-80 {
    width: 80px !important;
}

.w-100 {
    width: 100px !important;
}

.w-120 {
    width: 120px !important;
}

.custom-action-dropdown.dtr-data ul li ul { left:auto; right: 20px; z-index: 9;}

.acc_cibil_btn{
    margin-top: -15px;
}

.paid_schedule
 {
    background-color: green !important;
    color: #fff;
}

.custom-row-disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* table.dataTable.ledger-table input, table.dataTable.ledger-table select { width: 75px; }  */

/* table.dataTable.ledger-table td { min-width: 150px;} */


#entryTable tr th { white-space: nowrap;}

#entryTable .input-group .view-slip-link { border-radius: 0px 8px 8px 0px; padding: 8px 8px 7px 8px; }



.lead-option { margin-top: 33px;}



/* ============================================================
   SBMFA MODERN THEME 2.0
   Primary: #F7941D (Orange) | Navy: #1B3A6B | Green: #3DAA47
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-14px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes scaleIn {
  from { opacity:0; transform:scale(0.95); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes orangePulse {
  0%,100% { box-shadow:0 0 0 0 rgba(247,148,29,0.45); }
  60%     { box-shadow:0 0 0 10px rgba(247,148,29,0); }
}

/* ---- Page Background ---- */
.page-body {
  background: transparent !important;
  animation: fadeUp 0.35s ease both;
}

/* ---- Body Wrapper ---- */

/* ============================================================
   SIDEBAR
   ============================================================ */
.page-sidebar {
  background: #fff !important;
  box-shadow: 4px 0 20px rgba(27,58,107,0.07) !important;
  border-right: 1px solid #eef1f6 !important;
  transition: width 0.3s cubic-bezier(.4,0,.2,1) !important;
  margin-top: 87px !important;
}

/* li padding reset for proper spacing */
.page-sidebar li.sidebar-list { padding: 0 !important; }
.page-sidebar ul#simple-bar { padding: 6px 0 !important; }

/* Base link — rounded pill with side margin */
.sidebar-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 2px 10px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  transition: background 0.22s ease, padding-left 0.22s cubic-bezier(.4,0,.2,1) !important;
  text-decoration: none !important;
}

/* Inactive SVG icon — clean grey box */
.page-sidebar .sidebar-menu .sidebar-link .stroke-icon {
  background: #f0f3f8 !important;
  padding: 6px !important;
  border-radius: 8px !important;
  width: 34px !important;
  height: 34px !important;
  stroke: #7a8899 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}
/* Inactive FA icon — clean grey box */
div#sidebar-menu li.sidebar-list i,
.page-sidebar .sidebar-menu .sidebar-link i {
  background: #f0f3f8 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: #7a8899 !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}
/* Inactive text */
.page-sidebar .sidebar-menu .sidebar-link span {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #4a5568 !important;
  transition: color 0.2s ease !important;
}

/* ---- All icons — orange tinted (same as hover) ---- */
.page-sidebar .sidebar-menu .sidebar-link .stroke-icon {
  background: rgba(247,148,29,0.13) !important;
  stroke: #F7941D !important;
}
div#sidebar-menu li.sidebar-list i,
.page-sidebar .sidebar-menu .sidebar-link i {
  background: rgba(247,148,29,0.13) !important;
  color: #F7941D !important;
}

/* ---- Hover (non-active) ---- */

/* Sliding left bar on hover */
.sidebar-list:not(.active) > .sidebar-link::before {
  content: '' !important;
  position: absolute !important;
  left: -10px !important;
  top: 50% !important;
  height: 0% !important;
  width: 3px !important;
  background: #F7941D !important;
  border-radius: 0 3px 3px 0 !important;
  transform: translateY(-50%) !important;
  transition: height 0.22s cubic-bezier(.4,0,.2,1) !important;
}
.sidebar-list:not(.active) > .sidebar-link:hover::before {
  height: 55% !important;
}

.sidebar-list:not(.active) > .sidebar-link:hover {
  background: linear-gradient(90deg, rgba(247,148,29,0.08) 0%, rgba(247,148,29,0.03) 100%) !important;
  padding-left: 15px !important;
}
.sidebar-list:not(.active) > .sidebar-link:hover .stroke-icon {
  background: rgba(247,148,29,0.14) !important;
  stroke: #F7941D !important;
  transform: scale(1.08) !important;
}
div#sidebar-menu li.sidebar-list:not(.active) > a:hover i,
.sidebar-list:not(.active) > .sidebar-link:hover i {
  background: rgba(247,148,29,0.14) !important;
  color: #F7941D !important;
  transform: scale(1.08) !important;
}
.sidebar-list:not(.active) > .sidebar-link:hover span {
  color: #F7941D !important;
}

/* ---- Active ---- */
.sidebar-list.active > .sidebar-link {
  background: linear-gradient(135deg, #F7941D 0%, #e8850e 100%) !important;
  box-shadow: 0 4px 16px rgba(247,148,29,0.35) !important;
  margin: 2px 10px !important;
}
/* Navy left bar indicator */
.sidebar-list.active > .sidebar-link::before {
  content: '' !important;
  position: absolute !important;
  left: -10px !important;
  top: 15% !important;
  height: 70% !important;
  width: 4px !important;
  background: #1B3A6B !important;
  border-radius: 0 3px 3px 0 !important;
}
/* Active text */
.sidebar-list.active > .sidebar-link span {
  color: #fff !important;
  font-weight: 600 !important;
}
/* Active SVG icon */
.sidebar-list.active > .sidebar-link .stroke-icon {
  background: rgba(255,255,255,0.25) !important;
  stroke: #fff !important;
}
/* Active FA icon */
div#sidebar-menu li.sidebar-list.active > a i,
div#sidebar-menu li.sidebar-list.active > a:hover i,
.sidebar-list.active > .sidebar-link i,
.sidebar-list.active > .sidebar-link:hover i {
  background: rgba(255,255,255,0.25) !important;
  color: #fff !important;
}
div#sidebar-menu li.sidebar-list.active > a i::before,
.sidebar-list.active > .sidebar-link i::before { color: #fff !important; }

/* Lock active on hover */
.sidebar-list.active > .sidebar-link:hover {
  background: linear-gradient(135deg, #F7941D 0%, #e8850e 100%) !important;
  box-shadow: 0 4px 16px rgba(247,148,29,0.35) !important;
}
.sidebar-list.active > .sidebar-link:hover span { color: #fff !important; }
.sidebar-list.active > .sidebar-link:hover .stroke-icon {
  background: rgba(255,255,255,0.25) !important;
  stroke: #fff !important;
}

/* ---- Submenu ---- */
.page-sidebar .sidebar-submenu {
  padding: 2px 0 4px 4px !important;
  margin: 0 10px 2px 22px !important;
  border-left: 2px solid rgba(247,148,29,0.20) !important;
}
.page-sidebar .sidebar-submenu li { padding: 0 !important; }
.page-sidebar .sidebar-submenu li a,
.page-sidebar .sidebar-submenu .submenu-title {
  font-size: 13px !important;
  color: #718096 !important;
  font-weight: 400 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease !important;
}
.page-sidebar .sidebar-submenu .svg-menu {
  stroke: #a0aec0 !important;
  width: 13px !important;
  height: 13px !important;
  margin-right: 6px !important;
}
.page-sidebar .sidebar-submenu li:hover > a:not(.active),
.page-sidebar .sidebar-submenu li:hover > .submenu-title:not(.active) {
  color: #F7941D !important;
  background: rgba(247,148,29,0.06) !important;
  padding-left: 14px !important;
}
.page-sidebar .sidebar-submenu li a.active,
.page-sidebar .sidebar-submenu .submenu-title.active {
  color: #F7941D !important;
  font-weight: 600 !important;
  background: rgba(247,148,29,0.08) !important;
}
.page-sidebar .sidebar-submenu li a.active .svg-menu,
.page-sidebar .sidebar-submenu .submenu-title.active .svg-menu { stroke: #F7941D !important; }

/* Sidebar load animation */
.sidebar-menu > li { animation: slideInLeft 0.25s ease both; }
.sidebar-menu>li:nth-child(1){animation-delay:.02s}
.sidebar-menu>li:nth-child(2){animation-delay:.04s}
.sidebar-menu>li:nth-child(3){animation-delay:.07s}
.sidebar-menu>li:nth-child(4){animation-delay:.09s}
.sidebar-menu>li:nth-child(5){animation-delay:.12s}
.sidebar-menu>li:nth-child(6){animation-delay:.14s}
.sidebar-menu>li:nth-child(7){animation-delay:.17s}
.sidebar-menu>li:nth-child(8){animation-delay:.19s}
.sidebar-menu>li:nth-child(9){animation-delay:.22s}
.sidebar-menu>li:nth-child(10){animation-delay:.24s}

/* Sidebar toggle button */
.page-header .logo-wrapper .close-btn {
  background: linear-gradient(135deg,#F7941D,#e07c0a) !important;
  border-radius: 8px !important;
}
.page-header .logo-wrapper .close-btn:hover { box-shadow: 0 4px 16px rgba(247,148,29,.50) !important; }
.page-header .logo-wrapper .close-btn .toggle-sidebar .line { background: #fff !important; }


/* ============================================================
   CARDS
   ============================================================ */
.card:not(.dash-stat-card) {
  border: 1px solid #e8ecf3 !important;
  border-top: 1px solid #F7941D !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(27,58,107,0.07), inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(247,148,29,0.07) !important;
  transition: box-shadow 0.25s ease, transform 0.22s ease !important;
  animation: scaleIn 0.3s ease both;
}
.card:not(.dash-stat-card):hover {
  box-shadow: 0 8px 32px rgba(27,58,107,0.11), 0 2px 8px rgba(247,148,29,0.08), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(247,148,29,0.1) !important;
  transform: translateY(-2px) !important;
}
.page-body .row>*:nth-child(1) .card{animation-delay:.03s}
.page-body .row>*:nth-child(2) .card{animation-delay:.07s}
.page-body .row>*:nth-child(3) .card{animation-delay:.11s}
.page-body .row>*:nth-child(4) .card{animation-delay:.15s}
.page-body .row>*:nth-child(5) .card{animation-delay:.19s}
.page-body .row>*:nth-child(6) .card{animation-delay:.23s}

.card-header {
  background: #fff !important;
  border-bottom: 1px solid #eef1f7 !important;
  padding: 14px 20px !important;
  border-radius: 13px 13px 0 0 !important;
}
.card-header:empty,
.card-header.top-form-card:empty {
  display: none !important;
}
.card-header h4, .card-header h5, .card-header .card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1B3A6B !important;
  margin: 0 !important;
}
.card-body { padding: 18px 20px !important; }
.card-footer {
  background: #fff !important;
  border-top: 1px solid #eef1f7 !important;
  border-radius: 0 0 13px 13px !important;
  padding: 12px 20px !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  transition: all 0.22s ease !important;
}
/* text-white inside sweep buttons — match border color by default, white on hover */
.btn-primary .text-white, .btn-primary a, .btn-primary i.icofont { color: #F7941D !important; }
.btn-secondary .text-white, .btn-secondary a, .btn-secondary i.icofont { color: #1B3A6B !important; }
.btn-info .text-white, .btn-info a, .btn-info i.icofont { color: #1B3A6B !important; }
.btn-success .text-white, .btn-success a, .btn-success i.icofont { color: #3DAA47 !important; }
.btn-danger .text-white, .btn-danger a, .btn-danger i.icofont { color: #ef4444 !important; }
.btn-warning .text-white, .btn-warning a, .btn-warning i.icofont { color: #F0AD4E !important; }
.btn-primary:hover .text-white, .btn-primary:hover a, .btn-primary:hover i.icofont,
.btn-secondary:hover .text-white, .btn-secondary:hover a, .btn-secondary:hover i.icofont,
.btn-info:hover .text-white, .btn-info:hover a, .btn-info:hover i.icofont,
.btn-success:hover .text-white, .btn-success:hover a, .btn-success:hover i.icofont,
.btn-danger:hover .text-white, .btn-danger:hover a, .btn-danger:hover i.icofont,
.btn-warning:hover .text-white, .btn-warning:hover a, .btn-warning:hover i.icofont { color: #fff !important; }

/* Diagonal sweep mixin — transparent → color fill on hover */
.btn-primary {
  background: linear-gradient(135deg, #F7941D 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #F7941D !important; color: #F7941D !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-primary:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(247,148,29,0.35) !important; }

.btn-secondary {
  background: linear-gradient(135deg, #1B3A6B 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #1B3A6B !important; color: #1B3A6B !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-secondary:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(27,58,107,0.35) !important; }

.btn-success {
  background: linear-gradient(135deg, #3DAA47 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #3DAA47 !important; color: #3DAA47 !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-success:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(61,170,71,0.35) !important; }

.btn-danger {
  background: linear-gradient(135deg, #ef4444 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #ef4444 !important; color: #ef4444 !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-danger:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(239,68,68,0.35) !important; }

.btn-info {
  background: linear-gradient(135deg, #1B3A6B 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #1B3A6B !important; color: #1B3A6B !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-info:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(27,58,107,0.35) !important; }

.btn-warning {
  background: linear-gradient(135deg, #F0AD4E 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #F0AD4E !important; color: #F0AD4E !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn-warning:hover { background-position: 0% 0% !important; color: #fff !important; box-shadow: 0 4px 16px rgba(240,173,78,0.35) !important; }

/* Reset button — diagonal sweep fill on hover */
.btn.btn-warning[id*="reset"],
.btn.btn-warning[id*="Reset"],
.btn[id*="reset"],
.btn[id*="Reset"],
input[type="reset"] {
  background: linear-gradient(135deg, #1B3A6B 50%, transparent 50%) !important;
  background-size: 250% 250% !important;
  background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1px solid #1B3A6B !important;
  color: #1B3A6B !important;
  box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
.btn.btn-warning[id*="reset"]:hover,
.btn.btn-warning[id*="Reset"]:hover,
.btn[id*="reset"]:hover,
.btn[id*="Reset"]:hover,
input[type="reset"]:hover {
  background-position: 0% 0% !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(27,58,107,0.28) !important;
}
.btn-outline-primary { border:2px solid #F7941D !important; color:#F7941D !important; background:transparent !important; }
.btn-outline-primary:hover { background:#F7941D !important; color:#fff !important; box-shadow:0 4px 14px rgba(247,148,29,.38) !important; }
.btn-outline-secondary { border:2px solid #1B3A6B !important; color:#1B3A6B !important; background:transparent !important; }
.btn-outline-secondary:hover { background:#1B3A6B !important; color:#fff !important; box-shadow:0 4px 14px rgba(27,58,107,.38) !important; }
.btn-outline-success { border:2px solid #3DAA47 !important; color:#3DAA47 !important; background:transparent !important; }
.btn-outline-success:hover { background:#3DAA47 !important; color:#fff !important; box-shadow:0 4px 14px rgba(61,170,71,.38) !important; }
.btn-outline-danger { border:2px solid #ef4444 !important; color:#ef4444 !important; background:transparent !important; }
.btn-outline-danger:hover { background:#ef4444 !important; color:#fff !important; box-shadow:0 4px 14px rgba(239,68,68,.38) !important; }
.btn-sm { font-size:12px !important; padding:4px 10px !important; border-radius:6px !important; }
.btn:active { opacity:.88 !important; }
#loginBtn { animation:orangePulse 2.2s ease 0.8s 3; }

/* ============================================================
   FORM INPUTS
   ============================================================ */
.form-control, .form-select {
  border-radius: 8px !important;
  border: 1.5px solid #dde1ea !important;
  font-size: 13.5px !important;
  color: #2d3748 !important;
  background: #fff !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
  padding: 0.375rem 0.75rem !important;
  height: 33px;
  box-sizing: border-box !important;
}
textarea.form-control {
  height: auto;
  resize: vertical;
}
.form-control:focus, .form-select:focus {
  border-color: #F7941D !important;
  box-shadow: 0 0 0 3px rgba(247,148,29,.16) !important;
  outline: none !important;
  background: #fff !important;
}
.form-control::placeholder { color:#a0aec0 !important; font-size:13px !important; }
.form-label { font-size:13px !important; font-weight:500 !important; color:#4a5568 !important; margin-bottom:4px !important; }

/* Select2 */
.select2-container--default .select2-selection--single {
  border:1.5px solid #dde1ea !important; border-radius:8px !important;
  transition:border-color .2s ease !important;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color:#F7941D !important; box-shadow:0 0 0 3px rgba(247,148,29,.16) !important;
}
.select2-dropdown { border-radius:8px !important; border:1.5px solid #F7941D !important; box-shadow:0 8px 24px rgba(0,0,0,.10) !important; }
.select2-results__option--highlighted { background:#F7941D !important; }

/* ============================================================
   TABLE
   ============================================================ */
table.dataTable thead {
  border-top: 12px solid transparent !important;
}
table.dataTable thead th,
table.dataTable thead td {
  background: transparent !important;
  color: #F7941D !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border: none !important;
  border-bottom: 1px dashed #F7941D !important;
  border-right: none !important;
  padding: 14px 18px !important;
  letter-spacing: 0.1px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
table.dataTable thead th:last-child,
table.dataTable thead td:last-child {
  border-right: none !important;
}
table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
  color: rgba(247,148,29,0.5) !important;
  opacity: 1 !important;
}
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
  background: rgba(247,148,29,0.05) !important;
  color: #F7941D !important;
}
table.dataTable tbody tr { transition: background .15s ease; }
table.dataTable tbody tr:hover { background: rgba(0,0,0,0.04) !important; }
table.dataTable tbody td { font-size:13.5px !important; color:#4a5568 !important; padding:10px 14px !important; vertical-align:middle !important; }
.table td .btn-sm { border-radius:6px !important; padding:4px 9px !important; }
table.dataTable tbody tr { animation: fadeUp 0.22s ease both; }

/* ============================================================
   BADGE
   ============================================================ */
.badge { border-radius:6px !important; font-weight:500 !important; font-size:16px !important; padding:0.44em 0.7em !important; }

/* ── Status pills (active / inactive) ── */
.badge.badge-success,
.badge.badge-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    vertical-align: middle !important;
}
.badge.badge-success {
    background: linear-gradient(135deg, #28a745, #20c152) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4) !important;
}
.badge.badge-danger {
    background: linear-gradient(135deg, #dc3545, #f05060) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4) !important;
}
.badge.badge-success:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 5px 14px rgba(40, 167, 69, 0.55) !important;
}
.badge.badge-danger:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 5px 14px rgba(220, 53, 69, 0.55) !important;
}

/* SweetAlert2 buttons — diagonal sweep */
body .swal2-popup .swal2-actions button.swal2-confirm {
  background: linear-gradient(135deg, #3DAA47 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #3DAA47 !important; color: #3DAA47 !important;
  box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
body .swal2-popup .swal2-actions button.swal2-confirm:hover {
  background-position: 0% 0% !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(61,170,71,0.35) !important;
}
body .swal2-popup.swal2-icon-warning .swal2-actions button.swal2-confirm,
body .swal2-popup.swal2-icon-error .swal2-actions button.swal2-confirm {
  background: linear-gradient(135deg, #F7941D 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #F7941D !important; color: #F7941D !important;
  box-shadow: none !important;
}
body .swal2-popup.swal2-icon-warning .swal2-actions button.swal2-confirm:hover,
body .swal2-popup.swal2-icon-error .swal2-actions button.swal2-confirm:hover {
  background-position: 0% 0% !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(247,148,29,0.35) !important;
}
.swal2-cancel {
  background: linear-gradient(135deg, #1B3A6B 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #1B3A6B !important; color: #1B3A6B !important;
  box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease !important;
}
.swal2-cancel:hover {
  background-position: 0% 0% !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(27,58,107,0.35) !important;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal.fade .modal-dialog { transform:translateY(-16px) scale(0.97) !important; transition:transform .26s cubic-bezier(.4,0,.2,1),opacity .26s ease !important; }
.modal.show .modal-dialog { transform:translateY(0) scale(1) !important; animation:scaleIn .26s ease both; }
.modal-content { border-radius:14px !important; border:none !important; box-shadow:0 20px 60px rgba(27,58,107,.18) !important; overflow:hidden; background:linear-gradient(145deg,#fdebd0 0%,#f5f7fc 55%,#f0f7f2 100%) !important; }
.modal-content .social-profile { background-image:none !important; background:transparent !important; }
.modal-header {
  background:linear-gradient(135deg,#F7941D,#e07c0a) !important;
  color:#fff !important; border:none !important;
  padding:16px 20px !important;
}
.modal-header .btn-close { filter:invert(1); opacity:.8; }
.modal-header h5, .modal-header .modal-title { color:#fff !important; font-weight:600 !important; font-size:15px !important; }
.modal-body { padding:20px !important; background:transparent !important; }
.modal-footer { border-top:1px solid #eef1f6 !important; padding:14px 20px !important; background:transparent !important; }
.modal-content .card-footer { background:transparent !important; border-top:1px solid #eef1f6 !important; }

/* ============================================================
   ALERTS & TOASTR
   ============================================================ */
.alert { border-radius:10px !important; border:none !important; border-left:4px solid transparent !important; animation:fadeUp .3s ease; font-size:14px !important; }
.alert-success { background:rgba(61,170,71,.08) !important; border-left-color:#3DAA47 !important; color:#1e6b25 !important; }
.alert-danger  { background:rgba(239,68,68,.08) !important; border-left-color:#ef4444 !important; color:#b91c1c !important; }
.alert-warning { background:rgba(247,148,29,.08) !important; border-left-color:#F7941D !important; color:#c96b00 !important; }
.alert-info    { background:rgba(27,58,107,.08) !important; border-left-color:#1B3A6B !important; color:#1B3A6B !important; }

#toast-container>div { border-radius:10px !important; box-shadow:0 8px 24px rgba(0,0,0,.12) !important; padding:14px 18px !important; font-size:14px !important; animation:fadeUp .3s ease !important; }
#toast-container>.toast-success { border-left:4px solid #3DAA47; }
#toast-container>.toast-error   { border-left:4px solid #ef4444; }
#toast-container>.toast-warning { border-left:4px solid #F7941D; }
#toast-container>.toast-info    { border-left:4px solid #1B3A6B; }

/* ============================================================
   PAGINATION
   ============================================================ */
.page-link { border-radius:6px !important; margin:0 1px !important; border:1px dashed rgba(247,148,29,0.5) !important; outline:none !important; box-shadow:none !important; transition:all .2s ease !important; font-weight:500 !important; font-size:13px !important; padding:5px 11px !important; background:transparent !important; color:#F7941D !important; }
.page-link:focus { outline:none !important; box-shadow:none !important; }
.page-link:hover, .page-link:active { background:rgba(247,148,29,0.12) !important; color:#F7941D !important; border:1px dashed #F7941D !important; outline:none !important; box-shadow:none !important; }
.page-item { border:none !important; outline:none !important; }
.page-item.active .page-link { background:#F7941D !important; border:1px solid #F7941D !important; color:#fff !important; box-shadow:0 3px 10px rgba(247,148,29,.3) !important; font-weight:600 !important; }
.page-item.disabled .page-link { color:#adb5bd !important; background:transparent !important; border:1px dashed rgba(0,0,0,0.15) !important; }

/* ============================================================
   PAGE TITLE & BREADCRUMB
   ============================================================ */
.page-title h4,.page-title h5 { font-weight:700 !important; color:#1B3A6B !important; }
.breadcrumb-item { animation:slideInLeft .25s ease both; }
.breadcrumb-item:nth-child(2){animation-delay:.05s}
.breadcrumb-item:nth-child(3){animation-delay:.10s}
.breadcrumb-item a { color:#F7941D !important; font-weight:500 !important; }
.breadcrumb-item.active { color:#718096 !important; }

/* SCROLLBAR — consolidated above */

/* ============================================================
   CHECKBOX & RADIO (keep existing)
   ============================================================ */
.form-check { padding-left:0 !important; }

.checkbox-primary::after,.checkbox-primary::before { display:none !important; content:none !important; }
.checkbox-wrapper-23 *,.checkbox-wrapper-23 *:after,.checkbox-wrapper-23 *:before { box-sizing:border-box; }
.checkbox-wrapper-23 { display:inline-flex; align-items:center; gap:8px; }
.checkbox-wrapper-23 input[type="checkbox"] { position:absolute !important; opacity:0 !important; width:0 !important; height:0 !important; margin:0 !important; padding:0 !important; pointer-events:none !important; }
.checkbox-wrapper-23 input[type="checkbox"]:checked+label svg path { stroke-dashoffset:0; }
.checkbox-wrapper-23 input[type="checkbox"]:focus+label { transform:scale(1.03); border-color:#F7941D; box-shadow:0 0 0 3px rgba(247,148,29,.22); }
.checkbox-wrapper-23 input[type="checkbox"]+label { display:inline-flex; align-items:center; justify-content:center; border:2px solid #c8cdd5; width:22px; height:22px; border-radius:6px; cursor:pointer; transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease; background-color:#fff; flex-shrink:0; }
.checkbox-wrapper-23 input[type="checkbox"]+label:hover { border-color:#F7941D; background-color:rgba(247,148,29,.06); box-shadow:0 0 0 3px rgba(247,148,29,.14); }
.checkbox-wrapper-23 input[type="checkbox"]:checked+label { border-color:#F7941D; background-color:#F7941D; }
.checkbox-wrapper-23 input[type="checkbox"]+label:active { transform:scale(1.08); border-radius:10px; }
.checkbox-wrapper-23 input[type="checkbox"]+label svg { pointer-events:none; padding:12%; width:100%; height:100%; }
.checkbox-wrapper-23 input[type="checkbox"]+label svg path { fill:none; stroke:#fff; stroke-width:4px; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:100; stroke-dashoffset:101; transition:stroke-dashoffset 250ms cubic-bezier(1,0,.37,.91); }
.checkbox-wrapper-23 .chk-label { cursor:pointer; font-size:14px; user-select:none; line-height:1.4; }

.radio-wrapper-23 *,.radio-wrapper-23 *:after,.radio-wrapper-23 *:before { box-sizing:border-box; }
.radio-wrapper-23 { display:inline-flex; align-items:center; gap:8px; }
.radio-wrapper-23 input[type="radio"] { position:absolute !important; opacity:0 !important; width:0 !important; height:0 !important; pointer-events:none !important; }
.radio-wrapper-23 input[type="radio"]+label { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border:2px solid #c8cdd5; border-radius:50%; cursor:pointer; background:#fff; transition:border-color .2s ease,background .2s ease,box-shadow .2s ease; flex-shrink:0; position:relative; }
.radio-wrapper-23 input[type="radio"]+label::after { content:''; width:10px; height:10px; border-radius:50%; background:#F7941D; transform:scale(0); transition:transform 250ms cubic-bezier(1,0,.37,.91); }
.radio-wrapper-23 input[type="radio"]:checked+label { border-color:#F7941D; background:#fff; box-shadow:0 0 0 3px rgba(247,148,29,.18); }
.radio-wrapper-23 input[type="radio"]:checked+label::after { transform:scale(1); }
.radio-wrapper-23 input[type="radio"]+label:hover { border-color:#F7941D; box-shadow:0 0 0 3px rgba(247,148,29,.14); }
.radio-wrapper-23 .radio-label { cursor:pointer; font-size:14px; user-select:none; line-height:1.4; }

/* ============================================================
   TAP TO TOP
   ============================================================ */
.tap-top { background:#F7941D !important; border-radius:50% !important; width:44px !important; height:44px !important; display:flex !important; align-items:center !important; justify-content:center !important; box-shadow:0 4px 14px rgba(247,148,29,.40) !important; transition:box-shadow .25s ease,transform .2s ease !important; }
.tap-top:hover { transform:translateY(-3px) !important; box-shadow:0 8px 22px rgba(247,148,29,.55) !important; background:#e07c0a !important; }
.tap-top i { color:#fff !important; font-size:18px !important; line-height:1 !important; }
.tap-top svg { display:none !important; }

/* ============================================================
   MISC
   ============================================================ */
.page-header { box-shadow:0 2px 16px rgba(247,148,29,.08) !important; }
.page-header.scrolled { box-shadow:0 4px 24px rgba(247,148,29,.18) !important; }
.loader-wrapper { backdrop-filter:blur(3px) !important; background:rgba(255,255,255,.65) !important; }
.card-header .header-top i { color:#F7941D !important; }
.form-label i,label i { color:#F7941D !important; }
.table td .btn-success i,.table td .btn-success svg { color:#fff !important; stroke:#fff !important; }
.table td .btn-danger i,.table td .btn-danger svg { color:#fff !important; stroke:#fff !important; }
.table td .btn-info i,.table td .btn-info svg { color:#fff !important; stroke:#fff !important; }
.table td .btn-primary i,.table td .btn-primary svg { color:#fff !important; stroke:#fff !important; }

/* ===== HEADER REDESIGN ===== */

/* Header base */
.page-header {
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(27,58,107,0.08) !important;
  align-items: center !important;
}

/* --- Date Pill --- */
.hdr-date-pill {
  background: linear-gradient(135deg, #1B3A6B 0%, #2a5298 100%);
  border-radius: 50px;
  padding: 7px 16px;
  gap: 8px;
  list-style: none;
}
.hdr-date-icon {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.hdr-date-text {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Profile Trigger --- */
.hdr-profile-wrap { list-style: none; position: relative; }
.hdr-profile-trigger {
  gap: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1.5px solid #eef0f4;
  background: #f8f9fb;
  transition: all 0.22s ease;
}
.hdr-profile-trigger:hover {
  border-color: rgba(247,148,29,0.4);
  background: rgba(247,148,29,0.05);
  box-shadow: 0 2px 12px rgba(247,148,29,0.15);
}

/* Avatar */
.hdr-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.hdr-avatar-wrap img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 2.5px solid #F7941D !important;
  object-fit: cover;
  display: block;
}
.hdr-avatar-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #3DAA47;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Name & Role */
.hdr-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hdr-profile-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2332;
}
.hdr-profile-role {
  font-size: 11.5px;
  color: #8a95a3;
}

/* Chevron */
.hdr-chevron {
  font-size: 10px;
  color: #8a95a3;
  transition: transform 0.22s ease;
}
.hdr-profile-wrap .custom-menu.show ~ * .hdr-chevron,
.hdr-profile-wrap.open .hdr-chevron { transform: rotate(180deg); }

/* --- Dropdown Card --- */
.hdr-dropdown-card {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  width: 240px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgba(27,58,107,0.14), 0 2px 8px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(247,148,29,0.12) !important;
  padding: 0 !important;
  margin-top: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1), visibility 0.22s !important;
  z-index: 9999 !important;
  overflow: visible !important;
}
.hdr-dropdown-card.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Dropdown header section */
.hdr-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #f0f2f5;
  background: linear-gradient(135deg, rgba(247,148,29,0.06), rgba(61,170,71,0.04));
  border-radius: 16px 16px 0 0;
}
.hdr-dropdown-header img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid #F7941D !important;
  object-fit: cover;
}
.hdr-dropdown-header strong {
  display: block;
  font-size: 13.5px;
  color: #1a2332;
  font-weight: 600;
}
.hdr-dropdown-header small {
  font-size: 11.5px;
  color: #8a95a3;
}

/* Dropdown items */
.hdr-dropdown-card ul {
  list-style: none;
  padding: 8px 0 !important;
  margin: 0 !important;
}
.hdr-dropdown-card ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13.5px;
  color: #3d4a5c;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s cubic-bezier(.4,0,.2,1) !important;
}
/* Left bar slide-in on hover */
.hdr-dropdown-card ul li a::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%; width: 3px;
  background: #F7941D;
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.hdr-dropdown-card ul li a:hover::before { transform: scaleY(1); }
.hdr-dropdown-card ul li a i {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  color: #F7941D !important;
  background: rgba(247,148,29,0.13) !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}
.hdr-dropdown-card ul li a:hover {
  background: linear-gradient(90deg, rgba(247,148,29,0.10) 0%, rgba(247,148,29,0.03) 100%) !important;
  color: #F7941D !important;
  padding-left: 22px !important;
}
.hdr-dropdown-card ul li a:hover i {
  background: rgba(247,148,29,0.22) !important;
  color: #F7941D !important;
  transform: scale(1.08) !important;
}
.hdr-logout { border-top: 1px solid #f0f2f5; margin-top: 4px; }
.hdr-logout a:hover { background: rgba(196,42,2,0.06) !important; color: #C42A02 !important; padding-left: 22px !important; }
.hdr-logout a:hover::before { background: #C42A02 !important; }
.hdr-logout a:hover i { background: rgba(196,42,2,0.12) !important; color: #C42A02 !important; }

/* header-right spacing */
.header-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== DROPDOWN SMOOTH ANIMATION (Bootstrap + Custom) ===== */

/* Bootstrap dropdown open animation */
.dropdown-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1), visibility 0.22s !important;
  pointer-events: none;
  border-radius: 12px !important;
  border: 1px solid rgba(247,148,29,0.12) !important;
  box-shadow: 0 8px 32px rgba(27,58,107,0.12), 0 2px 8px rgba(0,0,0,0.05) !important;
  padding: 6px 0 !important;
}
.dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Dropdown items — sidebar-style hover */
.dropdown-item {
  font-size: 13.5px !important;
  color: #3d4a5c !important;
  padding: 9px 16px !important;
  position: relative;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.2s cubic-bezier(.4,0,.2,1) !important;
}
.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%; width: 3px;
  background: #F7941D;
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.dropdown-item:hover {
  background: rgba(247,148,29,0.07) !important;
  color: #F7941D !important;
  padding-left: 22px !important;
}
.dropdown-item:hover::before { transform: scaleY(1); }
.dropdown-item.active, .dropdown-item:active {
  background: #F7941D !important;
  color: #fff !important;
}

.icon-plus { -webkit-text-stroke: 0.6px currentColor !important; }

/* Logs button — green */
#logView,
a[data-bs-title="Logs"],
a[href*="logs"].btn,
a[href*="-logs"].btn {
  background: linear-gradient(135deg, #3DAA47 50%, transparent 50%) !important;
  background-size: 250% 250% !important; background-position: 100% 100% !important;
  background-color: transparent !important;
  border: 1.5px solid #3DAA47 !important; color: #3DAA47 !important; box-shadow: none !important;
  transition: background-position 0.45s cubic-bezier(.4,0,.2,1), color 0.3s ease, box-shadow 0.3s ease !important;
}
#logView:hover,
a[data-bs-title="Logs"]:hover,
a[href*="logs"].btn:hover,
a[href*="-logs"].btn:hover {
  background-position: 0% 0% !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(61,170,71,0.35) !important;
}

/* Create button — bolder icon */
.top-btn-group a[data-bs-title="Create User"] i,
.top-btn-group .btn-primary i {
  -webkit-text-stroke: 0.8px currentColor !important;
  font-weight: 900 !important;
}
/* Log & Export buttons — bold icon */
.top-btn-group .btn-secondary i,
#logView i,
a[data-bs-title="Logs"] i,
a[href*="logs"].btn i,
a[href*="-logs"].btn i,
#exportUsers i {
  -webkit-text-stroke: 0.4px currentColor !important;
  font-weight: 700 !important;
}

/* Logs button icon — green default, white on hover */
#logView i,
a[data-bs-title="Logs"] i,
a[href*="logs"].btn i,
a[href*="-logs"].btn i { color: #3DAA47 !important; }
#logView:hover i,
a[data-bs-title="Logs"]:hover i,
a[href*="logs"].btn:hover i,
a[href*="-logs"].btn:hover i { color: #fff !important; }

/* ── Collapsible Filter Card ── */
.filter-card-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1.5px solid rgba(247,148,29,0.18);
    background: #fff;
    border-radius: 13px 13px 0 0;
    transition: background 0.2s;
    position: relative;
}
.filter-card-toggle-bar::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3.5px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #F7941D, #ffb347);
}
.filter-card-toggle-bar:hover {
    background: rgba(247,148,29,0.04);
}
.filter-card-toggle-bar .fc-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #1B3A6B;
    letter-spacing: 0.2px;
}
.filter-card-toggle-bar .fc-toggle-label .fc-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #F7941D, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(247,148,29,0.35);
    flex-shrink: 0;
}
.filter-card-toggle-bar .fc-toggle-label .fc-icon-wrap i {
    color: #fff;
    font-size: 12px;
}
.filter-card-toggle-bar .fc-toggle-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-card-toggle-bar .fc-toggle-hint {
    font-size: 11px;
    color: #aaa;
    font-weight: 400;
}
/* Circular orange toggle button */
.fc-toggle-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F7941D, #ffb347);
    box-shadow: 0 2px 8px rgba(247,148,29,0.45);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: box-shadow 0.2s, transform 0.18s;
}
.fc-toggle-btn:hover {
    box-shadow: 0 4px 14px rgba(247,148,29,0.6);
    transform: scale(1.1);
}
.fc-toggle-btn i {
    color: #fff;
    font-size: 12px;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.filter-card-toggle-bar.collapsed .fc-toggle-btn i {
    transform: rotate(180deg);
}
.filter-card .filter-card-body-wrap {
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(.4,0,.2,1), opacity 0.25s ease;
    max-height: 1000px;
    opacity: 1;
}
.filter-card .filter-card-body-wrap.fc-collapsed {
    max-height: 0 !important;
    opacity: 0;
}


