﻿/* Full-screen white overlay */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simple spinning animation */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

* {
    font-size: 0.850rem;
}
/*
.nav li a {
    color: antiquewhite;
    font-weight: bolder;
    text-decoration: none;
    padding-right: 15px;
    font-size: 14px;
}*/

/* ✅ Fix Nested Dropdown Positioning */
.dropdown-menu {
    position: absolute; /* Ensure proper positioning of first-level dropdowns */
}

/* ✅ Nested Dropdown */
.dropdown-submenu {
    position: relative; /* Allow positioning of nested submenus */
}

    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        left: 100%; /* Move submenu to the right of parent */
        top: 0; /* Align it with the parent */
        margin-top: -1px;
        display: none;
    }

/* ✅ Show submenus on hover (desktop) */
.dropdown-menu li:hover > .dropdown-menu {
    display: block;
}

/* ✅ Fix for Mobile Screens */
@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        left: 0; /* Stack submenus below parent */
        top: 100%;
        position: static;
        display: none;
    }

    /* Display submenu on hover for mobile */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

