/* General Styles */
.nav-link-sidebar.active {
    background-color: white;
    color: #104163;
    font-weight: bold;
}

a.nav-link.menu-link:hover {
    background-color: #025f8c !important;
}

li.nav-item.active {
    width: 70px;
    background-color: white;
    padding: 0;
}

.app-menu.navbar-menu {
    position: fixed;
}



nav.navbar.navbar-expand-lg.navbar-dark {
    margin-top: 50px;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .app-menu.navbar-menu {
        position: fixed;
    }

    .scrollbar {
        position: fixed !important;
        background-color: #104163;
    }
}

/* Filter Panel */
.filter-panel {
    position: absolute;
    z-index: 2;
    margin-top: 5px;
    width: 250px;
}

.filter-options {
    max-height: 200px;
    overflow-y: auto;
}

/* Page Content */
.page-content {
    padding-top: 10px;
}

/* Hover Effects */
.test:hover {
    background-color: #E5E4E2;
    color: rgb(10, 10, 10);
}

/* Navbar Header */
.navbar-header {
    background-color: #104163;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menu List */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu-item {
    position: relative;
}

.menu-item>a {
    min-width: 60px;
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: 12px;
    padding: 10px 1px;
    display: inline-block;
    transition: background 0.3s ease;
}

.menu-item>a:hover {
    background-color: #025f8c;
    border-radius: 10px;
}

.menu-item>a.active {
    position: relative;
}

.menu-item>a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 6px;
}

/* Dropdown Submenu */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
    width: 200px;
}

.submenu li a {
    font-size: 11px;
    color: #003f6c;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #f0f0f0;
}

/* Show Submenu on Hover */
.menu-item:hover .submenu {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
    }

    .menu-item>a {
        display: block;
    }

    .menu.active {
        display: flex;
    }
}

.nav-tabs .nav-link.active {
    background-color: #025f8c !important;
    color: white !important;
    border-color: #025f8c !important;
}

/* Hover color for tabs */
.nav-tabs .nav-link:hover {
    background-color: #1C76B1 !important;
    color: white !important;
    border-color: #1C76B1 !important;
}

/* Add New button background color */
#newCat1Btn {
    background-color: #218ACF;
    border-color: #218ACF;
}

/* Hover color for Add New button */
#newCat1Btn:hover {
    background-color: #025f8c;
    border-color: #025f8c;
}

.tree-item {
    position: relative;
}

.tree-content {
    display: flex;
    align-items: center;
    position: relative;
}

.level-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.tree-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: #ccc;
}

.tree-vertical-line {
    position: absolute;
    left: 10px;
    top: 30px;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}

.children {
    margin-left: 20px;
}

.hidden {
    display: none;
}

.level-indicator[data-type="level"] {
    background-color: #104163;
}

.level-indicator[data-type="category"] {
    background-color: #025f8c;
}

/*btn-primary*/
.btn-primary {
    background-color: #104163;
    border: none;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #1a5c8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 65, 99, 0.2);
}

/*btn-secondary*/
.btn-secondary {
    background-color: #e8e9ed;
    border: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background-color: #d1d3d8;
    color: rgb(34, 12, 12);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 233, 237, 0.2);
}

/*btn-danger*/
.btn-danger {
    background-color: #EB0F13;
    border: none;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-danger:hover {
    background-color: #d90e12;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(235, 15, 19, 0.2);
}

/*btn-success*/
.btn-success {
    background-color: #208e93;
    border: none;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-warning{
    background-color: #f7b84b;
    border: none;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-success:hover {
    background-color: #186c6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(32, 142, 147, 0.2);
}

/*checkbox*/
.form-check-input {
    width: 1.5em;
    height: 1.5em;
    border-radius: 0.25em;
    background-color: transparent;
}

.form-check-input:checked {
    background-color: transparent;
    border: 1px solid #104163;
}

.form-check-input:checked::before {
    content: '✔';
    color: #104163;
    display: block;
    text-align: center;
    line-height: 1.5em;
    font-size: 1em;
}
.breadcumb-margin{
    margin-top: 70px;
}
