﻿.active-menu {
    color: #000000 !important;
    font-weight: 900 !important;
    background-color: transparent !important;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.8);
    transform: scale(1.05);
}

.field-validation-error {
    color: red;
    font: bold;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeBlur 0.35s ease forwards;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s ease;
    border-radius: 12px !important;
    padding: 10px 0;
    min-width: 200px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.95);
    z-index: 99999 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

@keyframes fadeBlur {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.dropdown-menu .dropdown-item {
    position: relative;
    padding: 10px 18px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease, color 0.3s ease, background 0.3s ease;
    border-radius: 6px;
    color: #333;
}

.dropdown:hover .dropdown-menu .dropdown-item {
    animation: itemSlide 0.35s ease forwards;
}

.dropdown-menu .dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.dropdown-menu .dropdown-item:nth-child(3) {
    animation-delay: 0.10s;
}

.dropdown-menu .dropdown-item:nth-child(5) {
    animation-delay: 0.15s;
}

@keyframes itemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 0px;
    height: 2px;
    background: linear-gradient(90deg, #506BF2, #00CFFD);
    transform: translateY(-50%);
    transition: width 0.25s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(80,107,242,0.15), rgba(0,207,253,0.15));
    color: #506BF2 !important;
    padding-left: 28px;
    transform: translateX(4px) scale(1.03);
    box-shadow: 0 2px 10px rgba(80,107,242,0.2);
}

    .dropdown-menu .dropdown-item:hover::before {
        width: 16px;
    }

a.dropdown-toggle::after,
button.dropdown-toggle::after {
    display: none !important;
}

.header-top {
    padding: 10px 0;
}

.category-button {
    background: linear-gradient(90deg, #506BF2, #00CFFD);
    border: none;
    color: white;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .category-button.active-menu {
        color: #000 !important;
        box-shadow: 0 0 15px rgba(255,255,255,0.6) !important;
    }

    .category-button:hover,
    .category-button:focus {
        background: linear-gradient(90deg, #00CFFD, #506BF2);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 4px 12px rgba(0,207,253,0.3);
    }

.search-box input {
    border-radius: 20px 0 0 20px;
    border: none;
    padding: 7px 12px;
    outline: none;
    transition: all 0.3s ease;
}

    .search-box input:focus {
        box-shadow: 0 0 8px rgba(80,107,242,0.3);
    }

.search-box .btn {
    border-radius: 0 20px 20px 0;
    border: none;
    background: linear-gradient(90deg, #506BF2, #00CFFD);
    color: white;
    transition: all 0.3s ease;
}

    .search-box .btn:hover {
        transform: scale(1.05);
    }

.navbar-toggler {
    border-color: white !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 576px) {
    .header-top {
        font-size: 15px;
        padding-top: 30px;
    }

        .header-top strong, .header-top a, .header-top span {
            font-size: 14px !important;
        }

    .category-button {
        margin-top: 20px;
        width: 100%;
    }

    .search-box {
        width: 100% !important;
        flex: 1 1 100%;
        margin-top: 10px;
    }

        .search-box input {
            width: 100% !important;
        }

    .img-logo img {
        height: 50px;
        max-width: 100px;
    }
}
