/* Navbar Dropdown Styles */

.theme-navbar .link.has-dropdown {
    position: relative;
}

.theme-navbar .link.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.theme-navbar .link.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 25px) !important;
    left: 0 !important;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0 !important;
}

.theme-navbar .link.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--darkBlue);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    border-left-color: var(--primaryColor);
    color: var(--primaryColor);
    padding-left: 1.5rem;
}

.dropdown-item:hover svg {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 1199px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0.5rem;
        padding: 0;
        display: none;
    }

    .theme-navbar .link.has-dropdown:hover .dropdown-menu,
    .theme-navbar .link.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 0.625rem 1rem;
        margin: 0.25rem 0;
        background: rgba(0, 96, 254, 0.05);
        border-radius: 6px;
        border-left: none;
    }

    .dropdown-item:hover {
        background: rgba(0, 96, 254, 0.1);
        padding-left: 1rem;
    }

    .dropdown-arrow {
        margin-left: auto;
    }

    .theme-navbar .link.has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
}

/* Mobile Menu Toggle for Dropdown */
@media (max-width: 1199px) {
    .theme-navbar .link.has-dropdown > a {
        cursor: pointer;
    }
}

