/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===========================
   MAIN PAGE LAYOUT
   =========================== */
.page[b-0ouoc331n6] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f5f7fa;
}

main.main-content[b-0ouoc331n6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

aside.sidebar[b-0ouoc331n6] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

/* ===========================
   TOP HEADER BAR
   =========================== */
.top-row[b-0ouoc331n6] {
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.header-left[b-0ouoc331n6] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breadcrumb-text[b-0ouoc331n6] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.header-right[b-0ouoc331n6] {
    display: flex;
    align-items: center;
}

.user-profile[b-0ouoc331n6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile:hover[b-0ouoc331n6] {
    background-color: #e2e8f0;
}

.avatar[b-0ouoc331n6] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-name[b-0ouoc331n6] {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===========================
   CONTENT AREA
   =========================== */
.content[b-0ouoc331n6] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f5f7fa;
}

.content[b-0ouoc331n6]::-webkit-scrollbar {
    width: 6px;
}

.content[b-0ouoc331n6]::-webkit-scrollbar-track {
    background: transparent;
}

.content[b-0ouoc331n6]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

.content[b-0ouoc331n6]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ===========================
   ERROR UI
   =========================== */
#blazor-error-ui[b-0ouoc331n6] {
    background: #fee2e2;
    border-top: 3px solid #dc2626;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

#blazor-error-ui.show[b-0ouoc331n6] {
    display: block;
}

.error-container[b-0ouoc331n6] {
    max-width: 100%;
    padding: 1.5rem 2rem;
}

.error-content[b-0ouoc331n6] {
    color: #7f1d1d;
}

.error-content h4[b-0ouoc331n6] {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.error-content p[b-0ouoc331n6] {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.error-actions[b-0ouoc331n6] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.error-actions .btn[b-0ouoc331n6] {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.error-actions .btn-primary[b-0ouoc331n6] {
    background-color: #dc2626;
    color: white;
}

.error-actions .btn-primary:hover[b-0ouoc331n6] {
    background-color: #b91c1c;
}

.error-actions .btn-secondary[b-0ouoc331n6] {
    background-color: #cbd5e1;
    color: #1e293b;
}

.error-actions .btn-secondary:hover[b-0ouoc331n6] {
    background-color: #94a3b8;
}

.error-actions .dismiss[b-0ouoc331n6] {
    cursor: pointer;
}

/* ===========================
   RESPONSIVE LAYOUT
   =========================== */
@media (max-width: 768px) {
    .page[b-0ouoc331n6] {
        flex-direction: column;
    }

    aside.sidebar[b-0ouoc331n6] {
        width: 100%;
        max-height: auto;
    }

    .top-row[b-0ouoc331n6] {
        padding: 0 1rem;
    }

    .content[b-0ouoc331n6] {
        padding: 1rem;
    }

    .breadcrumb-text[b-0ouoc331n6] {
        font-size: 1rem;
    }

    .user-name[b-0ouoc331n6] {
        display: none;
    }

    .user-profile[b-0ouoc331n6] {
        padding: 0.5rem;
        background-color: transparent;
    }
}

@media (min-width: 641px) {
    .page[b-0ouoc331n6] {
        flex-direction: row;
    }

    aside.sidebar[b-0ouoc331n6] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    aside.sidebar[b-0ouoc331n6]::-webkit-scrollbar {
        width: 6px;
    }

    aside.sidebar[b-0ouoc331n6]::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    aside.sidebar[b-0ouoc331n6]::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    aside.sidebar[b-0ouoc331n6]::-webkit-scrollbar-thumb:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }

    main.main-content[b-0ouoc331n6] {
        flex: 1;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-container[b-xkzrlltmz6] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.navbar-header[b-xkzrlltmz6] {
    padding: 10px 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.brand-container[b-xkzrlltmz6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-container:hover[b-xkzrlltmz6] {
    opacity: 0.9;
}

.brand-icon[b-xkzrlltmz6] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.brand-text[b-xkzrlltmz6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title[b-xkzrlltmz6] {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.brand-subtitle[b-xkzrlltmz6] {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.navbar-toggler[b-xkzrlltmz6] {
    appearance: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 100;
}

.navbar-toggler:hover[b-xkzrlltmz6] {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:checked[b-xkzrlltmz6] {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-menu[b-xkzrlltmz6] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nav-menu[b-xkzrlltmz6]::-webkit-scrollbar {
    width: 4px;
}

.nav-menu[b-xkzrlltmz6]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-menu[b-xkzrlltmz6]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.nav-menu[b-xkzrlltmz6]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


.nav-section[b-xkzrlltmz6] {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-section:last-of-type[b-xkzrlltmz6] {
    border-bottom: none;
}

.nav-section-title[b-xkzrlltmz6] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    padding: 0.75rem 1rem;
    font-weight: 600;
}


.nav-item[b-xkzrlltmz6] {
    padding: 0 0.5rem;
    margin-bottom: 0.25rem;
}

.nav-item[b-xkzrlltmz6]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    background: none;
    border: none;
    border-radius: 6px;
    height: auto;
    line-height: 1.5;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.nav-item[b-xkzrlltmz6]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 1.25rem;
}

.nav-item[b-xkzrlltmz6]  .nav-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: #60a5fa;
    border-left: 3px solid #3b82f6;
    padding-left: calc(1rem - 3px);
    font-weight: 600;
}

.nav-item[b-xkzrlltmz6]  .nav-link i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nav-text[b-xkzrlltmz6] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}


.nav-footer[b-xkzrlltmz6] {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-footer-item[b-xkzrlltmz6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-footer-item:hover[b-xkzrlltmz6] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 1.25rem;
}

.nav-footer-item i[b-xkzrlltmz6] {
    font-size: 1.1rem;
    flex-shrink: 0;
}


.navbar-toggler[b-xkzrlltmz6] {
    display: none;
}

@media (max-width: 640px) {
    .navbar-container[b-xkzrlltmz6] {
        position: relative;
    }

    .navbar-toggler[b-xkzrlltmz6] {
        display: block;
    }

    .nav-menu[b-xkzrlltmz6] {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        overflow-y: auto;
        z-index: 99;
    }

    .navbar-toggler:checked ~ .nav-menu[b-xkzrlltmz6] {
        display: flex;
    }

    .navbar-toggler:checked ~ .nav-menu[b-xkzrlltmz6] {
        height: calc(100vh - 60px);
    }

    .nav-footer[b-xkzrlltmz6] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        z-index: 98;
    }

    .nav-item[b-xkzrlltmz6]  .nav-link {
        padding: 1rem;
    }

    .nav-item[b-xkzrlltmz6]  .nav-link:hover,
    .nav-item[b-xkzrlltmz6]  .nav-link.active {
        padding-left: 1.5rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-xkzrlltmz6] {
        display: none !important;
    }

    .nav-menu[b-xkzrlltmz6] {
        display: flex !important;
    }

    .nav-footer[b-xkzrlltmz6] {
        display: flex !important;
    }
}
