/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ei24u21spw] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-ei24u21spw] {
    flex: 1;
    background-color: #f9fafb;
}

.sidebar[b-ei24u21spw] {
    background-color: #000;
    position: relative;
}

.content[b-ei24u21spw] {
    padding: 2rem;
}

@media (max-width: 640.98px) {
    .content[b-ei24u21spw] {
        padding: 1rem;
    }
}

@media (min-width: 641px) {
    .page[b-ei24u21spw] {
        flex-direction: row;
    }

    .sidebar[b-ei24u21spw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
        transition: width 0.25s ease;
        overflow: hidden;
    }

    .sidebar-collapsed .sidebar[b-ei24u21spw] {
        width: 68px;
    }

}
/* /Layout/NavMenu.razor.rz.scp.css */
.sidebar-container[b-pscr3g9tpo] {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #9ca3af;
    overflow: hidden;
}

.sidebar-header[b-pscr3g9tpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    justify-content: initial;
}

.sidebar-container.collapsed .sidebar-header[b-pscr3g9tpo] {
    justify-content: center;
    padding: 1.25rem 0.5rem;
}

.logo-icon[b-pscr3g9tpo] {
    background: #fff;
    color: #111827;
    font-weight: 700;
    font-size: 0.85rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text[b-pscr3g9tpo] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name[b-pscr3g9tpo] {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.logo-subtitle[b-pscr3g9tpo] {
    font-size: 0.6rem;
    color: #6b7280;
    letter-spacing: 0.15em;
}

.navbar-toggler[b-pscr3g9tpo] {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}

.navbar-toggler-icon[b-pscr3g9tpo] {
    display: block;
    width: 1.5em;
    height: 1.5em;
    background-image: 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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-section[b-pscr3g9tpo] {
    flex: 1;
    padding: 0 0.75rem;
    overflow-y: auto;
}

.sidebar-container.collapsed .nav-section[b-pscr3g9tpo] {
    padding: 0 0.4rem;
}

.nav-label-row[b-pscr3g9tpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.75rem 0.75rem;
}

.nav-label[b-pscr3g9tpo] {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.sidebar-toggle[b-pscr3g9tpo] {
    display: none;
}

@media (min-width: 641px) {
    .sidebar-toggle[b-pscr3g9tpo] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid #444;
        color: #9ca3af;
        cursor: pointer;
        transition: background-color 0.15s, color 0.15s;
        flex-shrink: 0;
    }

    .sidebar-toggle:hover[b-pscr3g9tpo] {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    .collapsed-toggle[b-pscr3g9tpo] {
        width: 36px;
        height: 36px;
        border: none;
        margin: 0 auto 0.15rem;
    }
}

.nav-icon[b-pscr3g9tpo] {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.sidebar-container.collapsed .nav-icon[b-pscr3g9tpo] {
    margin-right: 0;
}

[b-pscr3g9tpo] .nav-link {
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.15rem;
    transition: background-color 0.15s;
}

.sidebar-container.collapsed[b-pscr3g9tpo]  .nav-link {
    justify-content: center;
    padding: 0.6rem;
}

[b-pscr3g9tpo] .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[b-pscr3g9tpo] .nav-link.active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sidebar-footer[b-pscr3g9tpo] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem;
    border-top: 1px solid #1f2937;
    margin-top: auto;
}

.sidebar-container.collapsed .sidebar-footer[b-pscr3g9tpo] {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.user-avatar[b-pscr3g9tpo] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #374151;
    color: #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-info[b-pscr3g9tpo] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.user-name[b-pscr3g9tpo] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email[b-pscr3g9tpo] {
    font-size: 0.7rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-btn[b-pscr3g9tpo] {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
    transition: color 0.15s;
}

.logout-btn:hover[b-pscr3g9tpo] {
    color: #ef4444;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pscr3g9tpo] {
        display: none;
    }

    .collapse[b-pscr3g9tpo] {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
}
