/* ----------------------------------------
   GLOBAL COLOR OVERRIDES (STRICT GREEN #038203)
---------------------------------------- */
:root {
    --iib-green: #038203;
    --iib-green-hover: #026802;
    --bs-primary: #038203;
    --bs-primary-rgb: 3, 130, 3;
    --bs-link-color: #038203;
    --bs-link-hover-color: #026802;
    --text-main: #111827;
    --text-muted: #6b7280;
}

/* Force standard Bootstrap elements to green */
.text-primary { color: var(--iib-green) !important; }
.bg-primary { background-color: var(--iib-green) !important; }
.border-primary { border-color: var(--iib-green) !important; }

.btn-primary {
    background-color: var(--iib-green) !important;
    border-color: var(--iib-green) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--iib-green-hover) !important;
    border-color: var(--iib-green-hover) !important;
}

.btn-outline-primary {
    color: var(--iib-green) !important;
    border-color: var(--iib-green) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active {
    background-color: var(--iib-green) !important;
    color: #fff !important;
}

/* ----------------------------------------
   GLOBAL BASE STYLES
---------------------------------------- */
body.iib-panel-body {
    background: #ffffff;
    color: var(--text-main);
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

/* ----------------------------------------
   LAYOUT & SIDEBAR
---------------------------------------- */
.iib-layout-shell {
    min-height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

#iibSidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1040;
    position: relative;
}

.iib-sidebar-logo {
    padding: 25px 20px 30px 20px;
}
.iib-logo-svg {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
}

.iib-sidebar .nav-link {
    color: #4b5563;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.iib-sidebar .nav-link .iib-nav-dot {
    width: 6px;
    height: 6px;
    background: #d1d5db;
    border-radius: 50%;
    transition: background 0.2s;
}

.iib-sidebar .nav-link:hover {
    background: #f9fafb;
    color: var(--iib-green);
}

.iib-sidebar .nav-link.active {
    background: #f0fdf4;
    color: var(--iib-green) !important;
    border-left-color: var(--iib-green);
}
.iib-sidebar .nav-link.active .iib-nav-dot {
    background: var(--iib-green);
    transform: scale(1.2);
}

.iib-sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    z-index: 1060;
    display: none;
    transition: color 0.2s;
    padding: 5px;
}
.iib-sidebar-close:hover {
    color: #ef4444; 
}

/* ----------------------------------------
   MAIN CONTENT AREA
---------------------------------------- */
.iib-main {
    flex-grow: 1;
    background: #ffffff;
    padding: 20px 30px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.iib-topbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* ----------------------------------------
   MOBILE TOGGLE & RESPONSIVENESS
---------------------------------------- */
.iib-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #374151;
    cursor: pointer;
    padding: 5px;
    margin-right: 15px;
    transition: color 0.2s;
}
.iib-mobile-toggle:hover {
    color: var(--iib-green);
}

.iib-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1045;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.iib-sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* MEDIA QUERY: TABLET & MOBILE (< 992px) */
@media (max-width: 991px) {
    .iib-mobile-toggle {
        display: inline-block;
    }

    #iibSidebar {
        position: fixed;
        top: 0;
        left: 0;
        padding: 30px 0 50px;
        height: 100vh;
        width: 280px;
        background: #ffffff;
        transform: translateX(-100%);
        box-shadow: none;
        z-index: 1050;
        overflow-y: auto;
    }

    #iibSidebar.show {
        transform: translateX(0);
        box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    }
    
    /* Show the close button on mobile */
    .iib-sidebar-close {
        display: block;
    }

    .iib-main {
        padding: 15px;
        width: 100%;
    }
}

/* ----------------------------------------
   COMPONENTS
---------------------------------------- */
.iib-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.iib-table { width: 100%; font-size: 14px; margin-bottom: 0; }
.iib-table thead th {
    background: #f9fafc;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}
.iib-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.iib-table tbody tr:last-child td { border-bottom: none; }
.iib-table tbody tr:hover { background: #f9fafb; }

.btn-iib-primary {
    background: var(--iib-green) !important;
    border: 1px solid var(--iib-green) !important;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}
.btn-iib-primary:hover {
    background: var(--iib-green-hover) !important;
    box-shadow: 0 4px 6px rgba(3, 130, 3, 0.2);
}

.badge-iib {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
}

/* ----------------------------------------
   DASHBOARD SPECIFIC STYLES
---------------------------------------- */

/* Top Stats Cards */
.iib-dash-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.iib-dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: #d1d5db;
}
.iib-stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f0fdf4; 
    color: var(--iib-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.iib-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}
.iib-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Training Course Cards */
.iib-training-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.iib-training-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.iib-training-img {
    height: 110px;
    width: 100%;
    object-fit: cover;
    background-color: #038203;
}
.iib-training-body {
    padding: 15px;
}
.iib-training-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.iib-training-meta {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 12px;
}
.iib-training-btn {
    font-size: 13px;
    padding: 8px 0;
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.iib-training-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: var(--iib-green);
}

/* Right Sidebar Widgets */
.iib-sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.iib-widget-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}
.iib-widget-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}
.iib-widget-link:last-child { border-bottom: none; }
.iib-widget-link:hover { color: var(--iib-green); }
.iib-widget-link i {
    width: 20px;
    text-align: center;
    color: #9ca3af;
}
.iib-widget-link:hover i { color: var(--iib-green); }

/* Chart Container */
.iib-chart-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.iib-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.iib-chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.iib-chart-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    color: #4b5563;
    background: #fff;
}
.iib-chart-container {
    position: relative;
    height: 320px;
    width: 100%;
}

/* ----------------------------------------
   NEW BUTTON STYLES
---------------------------------------- */
.btn-iib-soft {
    background-color: #f0fdf4 !important; /* Very light green bg */
    color: var(--iib-green) !important;    /* Dark green text */
    border: 1px solid #bbf7d0 !important;  /* Light green border */
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.2s;
}

.btn-iib-soft:hover, 
.btn-iib-soft:focus, 
.btn-iib-soft:active, 
.btn-iib-soft.show {
    background-color: #dcfce7 !important;
    color: var(--iib-green-hover) !important;
    border-color: #86efac !important;
    box-shadow: none;
}

/* Fix for Dropdown toggle after click */
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: #dcfce7 !important;
    border-color: #86efac !important;
    color: var(--iib-green) !important;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin-top: 8px !important;
}
.dropdown-item { font-size: 13px; font-weight: 500; color: #4b5563; padding: 8px 16px; }
.dropdown-item:hover { background-color: #f0fdf4; color: var(--iib-green); }
.dropdown-item i { width: 18px; text-align: center; }

/* ----------------------------------------
   NEW FILTER & SEARCH STYLES (Instant Search)
---------------------------------------- */

/* Main Search Input */
.iib-big-search {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    padding-left: 45px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
}
.iib-big-search:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

/* Autocomplete Results Dropdown */
.search-autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none; /* Hidden by default */
    max-height: 300px;
    overflow-y: auto;
}
.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background-color: #f9fafb; color: var(--iib-green); }

/* Filter Dropdown Buttons */
.btn-filter-dropdown {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #4b5563;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
}
.btn-filter-dropdown:hover {
    background-color: #f9fafb;
    border-color: #c0c4c9;
    color: #111827;
}

/* Secondary Filter Pills */
.btn-filter-pill {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
}
.btn-filter-pill:hover, .btn-filter-pill.show {
    background: #f0fdf4;
    color: var(--iib-green);
    border-color: var(--iib-green);
}

/* "All Filters" Button */
.btn-all-filters {
    background-color: #fff;
    color: var(--iib-green);
    border: 1px solid var(--iib-green);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-all-filters:hover {
    background-color: #f0fdf4;
}

/* Filter Dropdown Menu */
.filter-dropdown-menu {
    width: 300px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.filter-search-input {
    font-size: 13px;
    margin-bottom: 8px;
}
.filter-options-list {
    max-height: 200px;
    overflow-y: auto;
}
.filter-option-item {
    padding: 6px 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 4px;
}
.filter-option-item:hover { background-color: #f3f4f6; }
.filter-option-item input[type="checkbox"] {
    accent-color: var(--iib-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Offcanvas Filter Panel */
.iib-offcanvas {
    width: 400px !important;
}
.iib-offcanvas-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
}
.iib-offcanvas-body {
    padding: 1.5rem;
}
.filter-section { margin-bottom: 25px; }
.filter-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #111827;
}

/* Card Tags Styling */
.program-tag-badge {
    background-color: #f0fdf4;
    color: var(--iib-green);
    border: 1px solid #dcfce7;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
}

/* Compare Checkbox */
.form-check-input:checked {
    background-color: var(--iib-green);
    border-color: var(--iib-green);
}

/* Compare Mode Active State */
body.compare-mode-active .compare-checkbox-wrapper {
    display: block !important;
    animation: fadeIn 0.2s ease-in;
}

/* SERVICE CARD STYLES */
.service-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-color: #e5e7eb !important;
}
.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1) !important;
    border-color: #d1d5db !important;
}

/* TASK CARD STYLES */
.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1) !important;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ----------------------------------------
   TOPBAR AVATAR
---------------------------------------- */
.iib-topbar-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--iib-green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700; text-decoration: none;
    flex-shrink: 0; transition: background 0.18s, transform 0.15s;
    box-shadow: 0 2px 6px rgba(3,130,3,0.25);
}
.iib-topbar-avatar:hover { background: var(--iib-green-hover); transform: scale(1.06); color: #fff; }

/* ----------------------------------------
   BELL NOTIFICATION
---------------------------------------- */
.iib-notif-wrapper { position: relative; }

.iib-notif-btn {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1.5px solid #e5e7eb; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #4b5563; cursor: pointer;
    position: relative; transition: all 0.18s;
}
.iib-notif-btn:hover { border-color: var(--iib-green); color: var(--iib-green); background: #f0fdf0; }

.iib-notif-badge {
    position: absolute; top: -5px; right: -5px;
    background: #ef4444; color: #fff;
    font-size: 0.65rem; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 2px solid #fff;
    animation: iibBadgePop 0.3s cubic-bezier(.36,.07,.19,.97);
}
@keyframes iibBadgePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.iib-notif-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 320px; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 2000; display: none; overflow: hidden;
}
.iib-notif-dropdown.open { display: block; animation: iibDropIn 0.2s ease; }
@keyframes iibDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.iib-notif-header {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f3f4f6;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.9rem; color: #111827;
}
.iib-notif-count-pill {
    background: rgba(3,130,3,0.1); color: var(--iib-green);
    font-size: 0.73rem; font-weight: 600;
    border-radius: 20px; padding: 2px 9px;
}

.iib-notif-list { max-height: 320px; overflow-y: auto; }

.iib-notif-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px; text-decoration: none;
    border-bottom: 1px solid #f9fafb; transition: background 0.15s;
}
.iib-notif-item:hover { background: #f9fafb; }

.iib-notif-icon-wrap {
    width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 8px; background: rgba(3,130,3,0.1); color: var(--iib-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; margin-top: 1px;
}
.iib-notif-text { flex: 1; min-width: 0; }
.iib-notif-title { font-size: 0.82rem; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iib-notif-sub { font-size: 0.75rem; color: #9ca3af; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iib-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--iib-green); flex-shrink: 0; margin-top: 6px; }

.iib-notif-empty {
    padding: 30px 16px; text-align: center;
    color: #9ca3af; font-size: 0.85rem;
    display: flex; flex-direction: column; align-items: center;
}
.iib-notif-empty i { font-size: 1.4rem; color: #d1d5db; }

.iib-notif-footer-link {
    display: flex; align-items: center; justify-content: center;
    padding: 12px; font-size: 0.82rem; font-weight: 600;
    color: var(--iib-green); text-decoration: none;
    border-top: 1px solid #f3f4f6; transition: background 0.15s;
}
.iib-notif-footer-link:hover { background: #f0fdf0; color: var(--iib-green); }

/* ----------------------------------------
   SIDEBAR SUBMENU (Support dropdown)
---------------------------------------- */
.iib-has-submenu > .iib-submenu-toggle {
    background: none;
    width: 100%;
    text-align: left;
    color: #4b5563;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    border-radius: 0;
    cursor: pointer;
}
.iib-has-submenu > .iib-submenu-toggle:hover,
.iib-has-submenu > .iib-submenu-toggle.active {
    background: #f0fdf0;
    color: var(--iib-green);
    border-left-color: var(--iib-green);
}
.iib-has-submenu > .iib-submenu-toggle .iib-nav-dot {
    width: 6px; height: 6px;
    background: #d1d5db; border-radius: 50%;
    transition: background 0.2s; flex-shrink: 0;
}
.iib-has-submenu > .iib-submenu-toggle:hover .iib-nav-dot,
.iib-has-submenu > .iib-submenu-toggle.active .iib-nav-dot { background: var(--iib-green); }

.iib-chevron {
    transition: transform 0.25s;
    font-size: 0.7rem;
    color: #9ca3af;
}
.iib-has-submenu.open > .iib-submenu-toggle .iib-chevron { transform: rotate(180deg); }

/* Submenu list */
.iib-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease;
    opacity: 0;
}
.iib-has-submenu.open > .iib-submenu {
    max-height: 320px;
    opacity: 1;
}

.iib-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 38px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.18s;
    border-left: 3px solid transparent;
    position: relative;
}
.iib-submenu-link::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.18s;
}
.iib-submenu-link i { font-size: 0.82rem; flex-shrink: 0; }
.iib-submenu-link:hover,
.iib-submenu-link.active {
    color: var(--iib-green);
    background: #f0fdf0;
    border-left-color: var(--iib-green);
}
.iib-submenu-link:hover::before,
.iib-submenu-link.active::before { background: var(--iib-green); }

/* Support section divider */
.iib-nav-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 8px 20px;
}

/* Doc upload overlay loader */
.iib-doc-upload-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.iib-doc-upload-overlay.show { display: flex; }
.iib-doc-upload-spinner {
    width: 52px; height: 52px;
    border: 4px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: iibSpin 0.7s linear infinite;
}
.iib-doc-upload-overlay p { color: #fff; font-size: 0.95rem; font-weight: 600; margin: 0; }
@keyframes iibSpin { to { transform: rotate(360deg); } }