.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1a2445 !important; /* Slightly darker shade for hover/active states */
    border-color: #1a2445 !important;
}

.btn-primary {
    background-color: #24305C !important;
    border-color: #24305C !important;
}

.app-sidebar-menu {
    display: flex;
    flex-direction: column;
}

#sidebar-menu {
    padding: 0 1.5em;
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: space-between;
}

#sidebar-menu>ul>li{
    margin:1em 0em;
}

#sidebar-menu>ul>li>a i {
    padding: 1em 0em;

}

#sidebar-menu>ul>li>a.active{

    border-radius: 12px;
    background: #26C4F4;
    color: white;
}

#sidebar-menu>ul>li>a:hover {
    border-radius: 16px;
    background: #26C4F4;
    color: white;
}


#sidebar-menu>ul>li>a {
    padding: .2em 1em;
    border-radius: 12px;
    color: var(--bs-body-color);
}

.menu-arrow {
    top: 30%;
    right: 8px;
}

.nav-second-level li a {
    color: var(--bs-body-color);
    transition: all 0.3s ease;
}

.nav-second-level li a:focus, .nav-second-level li a:hover  {
    color: #26C4F4;
    background: rgba(38, 196, 244, 0.1); /* Light blue highlight background */
    border-radius: 8px;                  /* Rounded corners for hover state */
    padding-left: 25px;                  /* Micro-interaction: shifts text to the right */
}

/* Styles the subbar link when it is clicked/active */
.nav-second-level li a.active {
    color: #26C4F4 !important;
    background: rgba(38, 196, 244, 0.15) !important; /* Semi-transparent highlight */
    border-radius: 8px;
    font-weight: 600;                                 /* Bold text to emphasize active state */
}

/* Dropdown notify-item hover and active states (Language Selector & Notifications) */
.dropdown-item.notify-item {
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item.notify-item:hover,
.dropdown-item.notify-item:focus,
.dropdown-item.notify-item.active {
    background-color: #26C4F4 !important;
    color: #ffffff !important;
}

/* Ensure all nested text and icons (e.g., checkmarks, web icons, small text) inherit white color on hover/active states */
.dropdown-item.notify-item:hover *,
.dropdown-item.notify-item:focus *,
.dropdown-item.notify-item.active * {
    color: #ffffff !important;
}

/* Ensure checkboxes and switches have visible borders and consistent focus/checked states */
.form-check-input {
    border: 1px solid #ced4da;
}
.form-check-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-check-input:checked {
    background-color: #26C4F4;
    border-color: #26C4F4;
}

/* Reset browser button defaults when used as input-group-text to preserve background and border */
button.input-group-text {
    background-color: var(--bs-tertiary-bg);
    border-color: var(--bs-border-color);
    border-style: solid;
    color: var(--bs-body-color);
    box-shadow: none;
    outline: none;
}
button.input-group-text:focus {
    box-shadow: none;
    outline: none;
}


