/* _content/RestaurantOrdering/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cxmp020iet] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-cxmp020iet] {
    flex: 1;
}

.sidebar[b-cxmp020iet] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-cxmp020iet] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-cxmp020iet]  a, .top-row[b-cxmp020iet]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-cxmp020iet]  a:hover, .top-row[b-cxmp020iet]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-cxmp020iet]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-cxmp020iet] {
        justify-content: space-between;
    }

    .top-row[b-cxmp020iet]  a, .top-row[b-cxmp020iet]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-cxmp020iet] {
        flex-direction: row;
    }

    .sidebar[b-cxmp020iet] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-cxmp020iet] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-cxmp020iet]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-cxmp020iet], article[b-cxmp020iet] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-cxmp020iet] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-cxmp020iet] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/RestaurantOrdering/Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Restaurant Navigation Styles */

.navbar-toggler[b-5mpz4yqqo8] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler:hover[b-5mpz4yqqo8] {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar-toggler:checked[b-5mpz4yqqo8] {
    background-color: rgba(255, 255, 255, 0.3);
}

.top-row[b-5mpz4yqqo8] {
    height: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand[b-5mpz4yqqo8] {
    font-size: 1.25rem;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-scrollable[b-5mpz4yqqo8] {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-toggler:checked ~ .nav-scrollable[b-5mpz4yqqo8] {
    display: block;
}

.nav-item[b-5mpz4yqqo8] {
    font-size: 0.9rem;
    margin: 4px 0;
    animation: slideInLeft-b-5mpz4yqqo8 0.3s ease forwards;
    opacity: 0;
}

.nav-item:nth-child(1)[b-5mpz4yqqo8] { animation-delay: 0.1s; }
.nav-item:nth-child(2)[b-5mpz4yqqo8] { animation-delay: 0.2s; }
.nav-item:nth-child(3)[b-5mpz4yqqo8] { animation-delay: 0.3s; }
.nav-item:nth-child(4)[b-5mpz4yqqo8] { animation-delay: 0.4s; }
.nav-item:nth-child(5)[b-5mpz4yqqo8] { animation-delay: 0.5s; }
.nav-item:nth-child(6)[b-5mpz4yqqo8] { animation-delay: 0.6s; }

.nav-item[b-5mpz4yqqo8]  .nav-link {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 15px !important;
    color: white !important;
    padding: 12px 20px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    height: auto !important;
    line-height: 1.4 !important;
    width: 100% !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.nav-item[b-5mpz4yqqo8]  .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-item[b-5mpz4yqqo8]  .nav-link:hover::before {
    left: 100%;
}

.nav-item[b-5mpz4yqqo8]  .nav-link:hover {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.8), rgba(243, 156, 18, 0.8)) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3) !important;
}

.nav-item[b-5mpz4yqqo8]  a.active {
    background: linear-gradient(45deg, #ff6b35, #f39c12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4) !important;
    transform: translateX(4px) !important;
}

.nav-item[b-5mpz4yqqo8]  a.active::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #ff6b35;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    filter: drop-shadow(2px 0 4px rgba(0,0,0,0.1));
}

/* Icon Styles */
.bi[b-5mpz4yqqo8] {
    display: inline-block;
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.nav-item[b-5mpz4yqqo8]  .nav-link:hover .bi {
    transform: scale(1.2) rotate(5deg);
}

.nav-item[b-5mpz4yqqo8]  a.active .bi {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

/* Home Icon */
.bi-house-door-fill-nav-menu[b-5mpz4yqqo8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

/* Admin Icon */
.bi-plus-square-fill-nav-menu[b-5mpz4yqqo8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffc107' class='bi bi-person-gear' viewBox='0 0 16 16'%3E%3Cpath d='M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm.256 7a4.474 4.474 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10c.26 0 .507.009.74.025.226-.341.496-.65.804-.918C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4s1 1 1 1h5.256Zm3.63-4.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382l.045-.148ZM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z'/%3E%3C/svg%3E");
}

/* Menu Icon */
.bi-list-nested-nav-menu[b-5mpz4yqqo8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-card-list' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

/* Category Links Special Styling */
.nav-item[b-5mpz4yqqo8]  .nav-link[href*="category"] {
    background: rgba(255, 255, 255, 0.12) !important;
    border-left: 3px solid transparent !important;
    padding-left: 24px !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.nav-item[b-5mpz4yqqo8]  .nav-link[href*="category"]:hover {
    border-left-color: #f39c12 !important;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.6), rgba(243, 156, 18, 0.6)) !important;
    color: white !important;
}

/* Admin Panel Link Special Styling */
.nav-item[b-5mpz4yqqo8]  .nav-link[href="/admin"] {
    border: 2px solid rgba(255, 193, 7, 0.4) !important;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15)) !important;
    color: white !important;
    font-weight: 600 !important;
}

.nav-item[b-5mpz4yqqo8]  .nav-link[href="/admin"]:hover {
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.8), rgba(255, 152, 0, 0.8)) !important;
    border-color: rgba(255, 193, 7, 0.6) !important;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4) !important;
    color: white !important;
}

/* Responsive Design */
@media (min-width: 641px) {
    .navbar-toggler[b-5mpz4yqqo8] {
        display: none;
    }

    .nav-scrollable[b-5mpz4yqqo8] {
        display: block !important;
        background: rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        margin-top: 0;
        padding: 1rem;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-item[b-5mpz4yqqo8]  .nav-link {
        padding: 10px 16px !important;
        border-radius: 12px !important;
    }
    
    .nav-item[b-5mpz4yqqo8]  .nav-link:hover {
        transform: translateY(-2px) scale(1.05) !important;
    }
    
    .nav-item[b-5mpz4yqqo8]  a.active {
        transform: translateY(-1px) !important;
    }
    
    .nav-item[b-5mpz4yqqo8]  a.active::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-item[b-5mpz4yqqo8]  .nav-link {
        font-size: 1rem !important;
        padding: 14px 20px !important;
    }
    
    .bi[b-5mpz4yqqo8] {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Animations */
@keyframes slideInLeft-b-5mpz4yqqo8 {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes navPulse-b-5mpz4yqqo8 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.nav-item[b-5mpz4yqqo8]  .nav-link.loading {
    animation: navPulse-b-5mpz4yqqo8 1.5s infinite;
}

/* Focus States for Accessibility */
.nav-item[b-5mpz4yqqo8]  .nav-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.15) !important;
}
