/* _content/TallerApp.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ww223vycim] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-ww223vycim] {
    flex: 1;
    background-color: #F6F7F9;
    min-height: 100vh;
}

/* ══════════════════════════════
   SIDEBAR — Grafito marca nexuz
══════════════════════════════ */
.sidebar[b-ww223vycim] {
    background: linear-gradient(180deg, #2C2C31 0%, #1C1C20 100%) !important;
    background-image: linear-gradient(180deg, #2C2C31 0%, #1C1C20 100%) !important;
    border-right: 1px solid rgba(255,255,255,0.05);
}

/* ══════════════════════════════
   TOP ROW
══════════════════════════════ */
.top-row[b-ww223vycim] {
    background-color: #ffffff;
    border-bottom: 1px solid #E4E6EA;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-row[b-ww223vycim]  .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1E293B;
}

.top-row[b-ww223vycim]  .user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #E11B33 0%, #C8102E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.top-row[b-ww223vycim]  a, .top-row[b-ww223vycim]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
    color: #2C2C31;
}

.top-row[b-ww223vycim]  a:hover { color: #C8102E; text-decoration: none; }

.top-row[b-ww223vycim]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-ww223vycim] { justify-content: space-between; }
    .top-row[b-ww223vycim]  a, .top-row[b-ww223vycim]  .btn-link { margin-left: 0; }
}

@media (min-width: 641px) {
    .page[b-ww223vycim] { flex-direction: row; }

    .sidebar[b-ww223vycim] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .top-row[b-ww223vycim] {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .top-row.auth[b-ww223vycim]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ww223vycim], article[b-ww223vycim] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ══════════════════════════════
   BLAZOR ERROR
══════════════════════════════ */
#blazor-error-ui[b-ww223vycim] {
    background: #FEF2F2;
    border-top: 3px solid #DC2626;
    color: #DC2626;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,.1);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
    font-weight: 500;
}

#blazor-error-ui .dismiss[b-ww223vycim] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    font-size: 1rem;
}
/* _content/TallerApp.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* ══════════════════════════════
   SIDEBAR NAVIGATION — NTaller
══════════════════════════════ */

/* ── Hamburger (mobile) ── */
.navbar-toggler[b-vl77y1ruto] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.25rem;
    color: white;
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    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.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem transparent;
}
.navbar-toggler:checked[b-vl77y1ruto] { background-color: rgba(255,255,255,0.15); }

/* ── Logo area ── */
.top-row[b-vl77y1ruto] {
    height: auto;
    min-height: 4.75rem;
    padding: 1.15rem 1.25rem;
    background: rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-wrap[b-vl77y1ruto] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.25rem;
}

.sidebar-mark[b-vl77y1ruto] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.sidebar-wordmark[b-vl77y1ruto] {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.sidebar-brand-text[b-vl77y1ruto] {
    font-family: 'Suissnord', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
}
.sidebar-brand-text .accent[b-vl77y1ruto] { color: #E11B33; }
.sidebar-brand-sub[b-vl77y1ruto] {
    font-family: 'Abnes', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: normal;
    color: #E11B33;
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 4px;
}

/* ── Bootstrap icons en nav ── */
.bi[b-vl77y1ruto] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.7rem;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* ── Etiquetas de sección ── */
.nav-section-label[b-vl77y1ruto] {
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 1.1rem 1.25rem 0.3rem 1.25rem;
    margin: 0;
    display: block;
}

/* ── Items ── */
.nav-item[b-vl77y1ruto] {
    font-size: 0.875rem;
    padding: 0 0.75rem 0.1rem 0.75rem;
}

.nav-item:first-of-type[b-vl77y1ruto] { padding-top: 0.5rem; }
.nav-item:last-of-type[b-vl77y1ruto]  { padding-bottom: 1rem; }

.nav-item[b-vl77y1ruto]  .nav-link {
    color: rgba(255,255,255,0.72);
    background: transparent;
    border: none;
    border-radius: 8px;
    height: 2.6rem;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 0.85rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

/* ── Activo — rojo marca ── */
.nav-item[b-vl77y1ruto]  a.active {
    background: linear-gradient(90deg, #E11B33 0%, #C8102E 100%);
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(200,16,46,0.40);
}

/* ── Hover ── */
.nav-item[b-vl77y1ruto]  .nav-link:hover {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
}

/* ── Scrollable ── */
.nav-scrollable[b-vl77y1ruto] { display: none; }
.navbar-toggler:checked ~ .nav-scrollable[b-vl77y1ruto] { display: block; }

@media (min-width: 641px) {
    .navbar-toggler[b-vl77y1ruto] { display: none; }
    .nav-scrollable[b-vl77y1ruto] {
        display: block;
        height: calc(100vh - 4.75rem);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 1rem;
    }
    /* Scrollbar delgado */
    .nav-scrollable[b-vl77y1ruto]::-webkit-scrollbar { width: 4px; }
    .nav-scrollable[b-vl77y1ruto]::-webkit-scrollbar-track { background: transparent; }
    .nav-scrollable[b-vl77y1ruto]::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
}
