﻿@layer components {
    .nav-link {
        @apply text-gray-700 font-medium transition-colors;
    }

    .active-link {
        @apply text-black font-bold border-b-2 border-red-600;
    }

    .dropdown-menu {
        @apply hidden group-hover:block;
    }

    .scrollbar-hide {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
}
.containerMainTop {
    width: 71%;
}


.navbar-container {
    position: relative;
    transition: all .3s ease;
}

    .navbar-container.sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
    }

.active-link {
    color: #e1de4a !important;
    border-bottom: 2px solid #e1de4a !important;
    font-weight: bold;
}
@media (max-width: 750px) {


    .nav-dropdown-menu {
        display: none !important;
        

    }
    .Ullist .nav-link{
        padding-bottom:0px !important;
    }

    .nav-dropdown-parent span {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .navbar-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    body {
        padding-top: 100px; 
    }


    .active-link {
        border-bottom: none;
/*        background-color: rgba(237, 29, 37, 0.1);*/
        border-left: 4px solid #e1de4a;
        padding-left: 5px !important;
    }

    .Ullist2 {
        margin-left: 5px !important;
    }

    .openSidebarDev {
        display: flex;
        justify-content: space-around;
        height: 58px;
    }

        .openSidebarDev img {
            width: 70%;
        }

    .active-link {
        color: #e1de4a !important;
        border-bottom: 2px solid #e1de4a !important;
        font-weight: bold;
    }
  
}


@media (max-width: 1500px) {
    .Ullistlist {
        font-size: 16px!important;
    }
}


    .navbar-scroll-container {
        display: flex;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        scrollbar-width: none;
    }

        .navbar-scroll-container::-webkit-scrollbar {
            display: none;
        }

    .Ullist .nav-item {
        position: relative;
    }

    .CategoryListDesign1 {
    }

.Ullist .nav-link {
    font-weight: 400;
    /*        display: inline-block;*/
    padding-bottom: 6px;
    color: white;
    border-bottom: 2px solid transparent;
    transition: all .3s ease;
}


    .Ullist .nav-link:hover {
        color: #e1de4a !important;
        border-bottom-color: #e1de4a;
    }



    .nav-dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden; 
    }

    .nav-dropdown-menu-SubSub {
        display: none; 
        min-width: 200px;
        background: white;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        border: 1px solid #e5e7eb;
        border-radius: 0.375rem;
        padding: 0.5rem 0;
        z-index: 10050;
    }

        .nav-dropdown-menu-SubSub:not(.hidden) {
            display: block;
        }

    .nav-dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .nav-dropdown-menu::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }

        .nav-dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: #888;
        }


    .nav-dropdown-menu > li {
        width: 100%;
    }

    .nav-dropdown-menu-SubSub {
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
    }

.dropdown-menu-custom li a:hover {
    background-color: #f8f9fa;
    color: #e1de4a;
}


    .Ullist > li {
        position: relative;
    }

    .Ullistlist {
        font-size: 18px;
    }

    .nav-dropdown-menu a:hover {
        color: #000 !important;
    }


    .dropdown-menu-custom li {
        position: relative;
    }

        .dropdown-menu-custom li:hover > .dropdown-menu-custom {
            display: block;
        }






    .sidebar {
        position: fixed;
        top: 0;
        left: -360px;
        width: 300px;
        height: 100vh;
        background: var(--card-bg);
        color: var(--text);
        transition: 1s;
        z-index: 9999;
        overflow-y: auto;
    }

        .sidebar.open {
            left: 0;
        }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }

        .overlay.show {
            display: block;
        }



    #sidebar,
    #sidebar a,
    #sidebar .nav-link {
        color: var(--text) !important;
    }





    .Ullist .nav-link.active,
    .dropdown-menu-custom a.active {
        color: var(--text) !important;
        font-weight: 700;
        border-bottom: 3px solid var(--primary) !important;
    }

    .Ullist .nav-item {
        position: relative;
    }


    .Ullist2 {
        margin-left: 20px;
    }







/* Default (normal screens) */


.Navbar-Serach-Form .search-input {
    width: 100%;
    opacity: 1;
    height: 40px;
}




/* ========== Only 1300px – 1500px ========== */
@media (min-width: 1300px) and (max-width: 1500px) {

    .Navbar-Serach-Form {
        width: 42px;
        transition: width 0.3s ease;
    }

        .Navbar-Serach-Form .search-input {
            width: 0;
            opacity: 0;
            padding-left: 0;
            padding-right: 0;
            border: none;
            pointer-events: none;
        }

        .Navbar-Serach-Form.open {
            width: 240px;
        }
            .Navbar-Serach-Form.open .search-input {
                width: 100%;
                opacity: 1;
                padding-left: 16px;
                padding-right: 42px;
                border: 1px solid #d1d5db;
                pointer-events: auto;
            }
}
















