/* ─── Flatpickr: hilangkan highlight hari ini ──────────────────────── */
.flatpickr-day.today,
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

/* ─── Notification badge ────────────────────────────────────────────── */
.notif-wrap {
    position: relative;
    overflow: visible !important;
}

.notif-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border: 2px solid #fff;
    z-index: 10;
    pointer-events: none;
}

.notif-count-badge.d-none {
    display: none !important;
}

/* ─── Settings top tabs: underline style ───────────────────────────── */
#settingsTopTabs.nav-style-5 {
    border-bottom: 1px solid var(--gray-200, #e9ecef);
}

#settingsTopTabs.nav-style-5 .nav-link {
    color: #677788;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    padding: 0.6rem 0.75rem;
    margin-bottom: -1px;
    font-size: 0.875rem;
}

#settingsTopTabs.nav-style-5 .nav-link.active {
    color: #ffa633;
    background: transparent !important;
    border-bottom: 2px solid #ffa633 !important;
    font-weight: 600;
}

#settingsTopTabs.nav-style-5 .nav-link:hover:not(.active) {
    color: #333;
    background: transparent !important;
    border-bottom: 2px solid #e9ecef !important;
}

/* ─── Mobile: sidebar backdrop + page background ────────────────────── */
@media (max-width: 991.98px) {
    .sidebar-overlay {
        background-color: rgba(0, 0, 0, 0.5) !important;
        z-index: 1040 !important;
    }
    .main-wrapper {
        background-color: #fff;
    }
}

/* ─── SPA container: block so header/sidebar layout is correct on refresh ─ */
spa-content {
    display: block;
}

/* ─── Sidebar logo: center ───────────────────────────────────────────── */
.sidebar-logo {
    display: flex !important;
    align-items: center;
    /* height: 0px !important ; */
    justify-content: center;
}
.sidebar-logo .logo-normal,
.sidebar-logo .logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Mobile header logo: center ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .header .header-left {
        justify-content: center;
    }
}

/* ─── Transaction filter bar: uniform height ─────────────────────────── */
/* Match form-control-sm actual rendered height (~31px) */
.trx-type-seg {
    height: calc(1.5em + .5rem + 2px);
}
.trx-type-seg .trx-filter-type {
    height: 100%;
    font-size: 0.875rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ─── Mini sidebar icon-only: collapse invisible section gaps ────────── */
/* @media (min-width: 992px) {
    .expand-menu .sidebar .sidebar-menu ul > li > a {
        padding: 0px !important;
    }
} */
