a {
    text-decoration: none;
}

/* Base: mobile (sm and below) */
.sidebar {
    width: 100%;
    margin-left: -100%;
    transition: margin-left 0.3s ease;
}

/* When opened */
.sidebar.sidebar-show {
    margin-left: 0;
}

/* md and above */
@media (min-width: 768px) {
    .sidebar {
        width: 280px;
        margin-left: 0;
    }

    /* collapsed state for md+ (when toggled) */
    .sidebar.sidebar-collapsed {
        margin-left: -280px;
    }
}

/* Apply collapsed state before render */
.sidebar-collapsed-init #sidebar {
    margin-left: -280px;   /* use your collapsed width */
}

/* Prevent animation on initial load */
.sidebar-collapsed-init #sidebar {
    transition: none !important;
}

[data-bs-theme="dark"] .theme-light-only {
    display: none;
}

[data-bs-theme="light"] .theme-dark-only {
    display: none;
}

#navbarVerticalNav li {
    width: 100%;
}

.nav-pills .nav-link {
    padding: 0.5rem 1rem;
}

[data-bs-theme="light"] .navbar-nav .nav-link.active {
    color: #fff;
}

[data-bs-theme="dark"] .navbar-nav .nav-link {
    color: #fff;
}

[data-bs-theme="light"] .navbar-nav .nav-link {
    color: #000;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
}

.nav-link.dropdown-toggle::after {
    margin-left: auto;
    align-self: center;   /* vertical center */
}

.list-group-item a {
    text-decoration: none;
}

.breadcrumb-item a {
    text-decoration: none;
}

.shortcut-tile {
    min-width: 130px;
    cursor: pointer;
}

.shortcut-tile:hover {
    background-color: var(--bs-tertiary-bg);
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.15);
}

.shortcut-icon {
    font-size: 40px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow:
    inset 0 0.5em 1.5em #0000001a,
inset 0 0.125em 0.5em #00000026;
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
height: 100vh;
}

.bi {
    vertical-align: -0.125em;
fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
-webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
--bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.form-signin a {
    text-decoration: none;
}

.table .bg-body-tertiary th {
    background-color: var(--bs-tertiary-bg);
}

.table .bg-body-tertiary td {
    background-color: var(--bs-tertiary-bg);
}

#countLabel {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #007bff; /* blue background */
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: sans-serif;
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

input[type="text"].form-control, input[type="search"].form-control, textarea.form-control, input[type="password"].form-control {
    border: 1px solid;
}

.main-menu-select {
    border: 1px solid;
    font-weight: bold;
    padding: 0;
    padding-right: 0;
}

.main-menu-select:focus {
    box-shadow: none;
    border: 1px solid;
}

.main-menu-select option {
    height: 40px;
    padding: 10px;
    padding-left: 25px;
    font-weight: bold;
}

.border-top-custom td {
    border-top: 1px solid var(--bs-border-color);
}