/* ===================================
   MODERN HEADER NAVIGATION STYLING
   =================================== */

/* Header Background - Darker Purple Gradient */
header#koOiIliI-menu,
header#koOiIliI-menu .koOiIliI-mymenu-wheader#koOiIliI-menu .containerrap,
.koOiIliI-mymenu-wrap {
    background: linear-gradient(135deg, #5568d3 0%, #6b4fa0 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
}

header#koOiIliI-menu .koOiIliI-mymenu {
    background: transparent !important;
}

/* Container Padding */
header#koOiIliI-menu .container {
    /* padding-top: 12px !important; */
    /* padding-bottom: 12px !important; */
}

/* Logo Enhancement */
.SuperLogo-img {
    transition: transform 0.3s ease;
}

.SuperLogo-img:hover {
    transform: scale(1.05);
}

/* Keep Logo White for Dark Background */
.SuperLogo-img svg g[fill="#ffffff"],
.SuperLogo-img svg path[fill="#ffffff"],
#darkroom1 g[fill="#ffffff"],
#darkroom1 path[fill="#ffffff"] {
    fill: #ffffff !important;
}

.SuperLogo-img svg,
#darkroom1 {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Navigation Menu Styling */
#koOiIliI-flexmList,
.koOiIliI-flexm ul {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#koOiIliI-flexmList li,
.koOiIliI-flexm ul li {
    position: relative !important;
}

#koOiIliI-flexmList li a,
.koOiIliI-flexm ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

#koOiIliI-flexmList li a i,
.koOiIliI-flexm ul li a i {
    font-size: 16px !important;
    transition: transform 0.3s ease !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Hover Effect */
#koOiIliI-flexmList li a:hover,
.koOiIliI-flexm ul li a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

#koOiIliI-flexmList li a:hover i,
.koOiIliI-flexm ul li a:hover i {
    transform: scale(1.2) !important;
    color: #fff !important;
}

/* Active Link */
#koOiIliI-flexmList li a.active,
.koOiIliI-flexm ul li a.active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

#koOiIliI-flexmList li a.active i {
    color: #fff !important;
}

/* Custom Search Button */
.custom-search-btn,
a.custom-search-btn {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.custom-search-btn i,
a.custom-search-btn i {
    font-size: 16px !important;
    color: #fff !important;
    line-height: 1 !important;
}

.custom-search-btn:hover,
a.custom-search-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
    text-decoration: none !important;
}

/* Login Button Enhancement */
.header-rights a[href*="login"] {
    padding: 5px 19px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.header-rights a[href*="login"]:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* User Dropdown Enhancement */
.nav-item.dropdown .nav-link {
    padding: 10px 20px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.nav-item.dropdown .nav-link:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.dropdown-menu {
    background: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 10px !important;
    margin-top: 10px !important;
}

.dropdown-menu a {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    color: #2c3e50 !important;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
}

/* Mobile Menu Button */
.show-menu-space {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.show-menu-space:hover {
    background: rgba(102, 126, 234, 0.2);
}

/* Search Overlay Enhancement */
#search-flex {
    background: rgba(102, 126, 234, 0.98);
    backdrop-filter: blur(20px);
}

.search-flex-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-flex-container .search-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 20px 30px;
    font-size: 18px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.search-flex-container .search-input:focus {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-flex-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-flex-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .show-menu-space {
        display: flex;
    }

    #koOiIliI-flexmList {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        display: none;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }

    #koOiIliI-flexmList.active {
        display: flex;
    }

    #koOiIliI-flexmList li a {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-section {
        flex-wrap: wrap;
    }

    .header-rights {
        gap: 10px;
    }

    .header-rights a[href*="login"] {
        padding: 8px 16px;
        font-size: 14px;
    }
}