
.text-primary{
    color:darkorange !important;
}

.active {
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Controls thickness */
    text-underline-offset: 12px; /* Controls distance from text */
    color:white;
    cursor: default;
}
.sub-active {
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Controls thickness */
    text-underline-offset: 12px; /* Controls distance from text */
    color:darkorange;
    cursor: default;
}

.btn-side{
    text-align: start !important;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4361ee;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}


.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* container bar at top */
.top-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    z-index: 9999;
}

/* moving highlight bar */
.top-spinner .top-spinner-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    animation: slide 1s ease-in-out infinite;
}

/* slide animation */
@keyframes slide {
    0%   {
        left: 0;
    }
    50%  {
        left: 80%;
    }
    100% {
        left: 0;
    }
}



.bagde{
    padding: 5px;
    border-radius: 10px;
}

.bg-none{
    background:transparent;
}
.border-none{
    border:none;
}
.shadow-none{
    box-shadow:none
}

.tree {
    font-family: monospace;
}
.node {
    margin-left: 20px;
}
.toggle {
    cursor: pointer;
    user-select: none;
}
.collapsed > .children {
    display: none;
}
.leaf {
    color: #007bff;
}
pre {
    margin: 0;
    display: inline;
}