@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-rftl71atuz] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-page, #f3f6fb);
    min-height: 100vh;
}

main[b-rftl71atuz] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-rftl71atuz] {
    background: var(--sidebar-bg, #0f172a);
    color: white;
    box-shadow: 1px 0 0 rgba(255, 255, 255, .04), 4px 0 24px -12px rgba(2, 6, 23, .6);
}

/* ---- Barra superior ---- */
.top-row[b-rftl71atuz] {
    background-color: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border-color, #e5e9f2);
    justify-content: flex-end;
    height: 4rem;
    display: flex;
    align-items: center;
}

.topbar-user[b-rftl71atuz] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.topbar-sucursal[b-rftl71atuz] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--primary-soft, #eff6ff);
    color: #1e40af;
    font-size: .8rem;
    font-weight: 600;
    margin-right: .5rem;
}

.topbar-avatar[b-rftl71atuz] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-gradient, #2563eb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .02em;
    box-shadow: 0 4px 10px -4px rgba(37, 99, 235, .7);
}

.topbar-name[b-rftl71atuz] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.topbar-name-main[b-rftl71atuz] {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text-dark, #0f172a);
    text-transform: capitalize;
}

.topbar-name-sub[b-rftl71atuz] {
    font-size: .72rem;
    color: #16a34a;
    font-weight: 500;
}

    .topbar-name-sub[b-rftl71atuz]::before {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #22c55e;
        margin-right: .3rem;
        vertical-align: middle;
    }

.topbar-logout[b-rftl71atuz] {
    margin-left: .5rem;
    border: 1px solid var(--border-color, #e5e9f2);
    background: #fff;
    color: #475569;
    font-size: .85rem;
    padding: .4rem .8rem;
}

    .topbar-logout:hover[b-rftl71atuz] {
        background: #fef2f2;
        border-color: #fecaca;
        color: #b91c1c;
    }

@media (max-width: 640.98px) {
    .top-row[b-rftl71atuz] {
        justify-content: space-between;
    }

    .topbar-name[b-rftl71atuz], .topbar-sucursal[b-rftl71atuz] {
        display: none;
    }
}

@media (min-width: 641px) {
    .page[b-rftl71atuz] {
        flex-direction: row;
    }

    .sidebar[b-rftl71atuz] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-rftl71atuz] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row[b-rftl71atuz], article[b-rftl71atuz] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    article[b-rftl71atuz] {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-kpe8ltsnag] {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ---- Marca ---- */
.top-row[b-kpe8ltsnag] {
    height: 4rem;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand[b-kpe8ltsnag] {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff !important;
}

.brand-mark[b-kpe8ltsnag] {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .8);
    flex-shrink: 0;
}

.brand-mark img[b-kpe8ltsnag] {
    max-width: 30px;
    max-height: 30px;
}

.brand-text[b-kpe8ltsnag] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name[b-kpe8ltsnag] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand-tag[b-kpe8ltsnag] {
    font-size: .68rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: .02em;
}

/* ---- Íconos ---- */
.bi[b-kpe8ltsnag] {
    display: inline-block;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 1.05rem;
    vertical-align: text-bottom;
}

/* ---- Ítems ---- */
.nav-item[b-kpe8ltsnag] {
    font-size: 0.9rem;
    padding-bottom: 0;
}

    .nav-item:first-of-type[b-kpe8ltsnag] {
        padding-top: 0.5rem;
    }

    .nav-item[b-kpe8ltsnag]  a {
        position: relative;
        color: #a9b4c7 !important;
        border-radius: .6rem;
        height: 2.4rem;
        display: flex;
        align-items: center;
        line-height: 1.25rem;
        margin: 0.1rem 0.5rem;
        padding-left: .85rem;
        transition: background-color .15s ease, color .15s ease;
        font-size: 13.5px;
        font-weight: 500;
    }

    .nav-item[b-kpe8ltsnag]  a .bi {
        color: #7d8aa3;
        transition: color .15s ease;
    }

    .nav-item[b-kpe8ltsnag]  a:hover {
        background-color: rgba(255, 255, 255, 0.06);
        color: #fff !important;
    }

    .nav-item[b-kpe8ltsnag]  a:hover .bi {
        color: #cbd5e1;
    }

    .nav-item[b-kpe8ltsnag]  a.active {
        background: linear-gradient(90deg, rgba(59, 130, 246, .28) 0%, rgba(59, 130, 246, .10) 100%);
        color: #fff !important;
        font-weight: 600;
    }

    .nav-item[b-kpe8ltsnag]  a.active .bi {
        color: #60a5fa;
    }

    .nav-item[b-kpe8ltsnag]  a.active::before {
        content: "";
        position: absolute;
        left: -0.5rem;
        top: .45rem;
        bottom: .45rem;
        width: 3px;
        border-radius: 0 3px 3px 0;
        background: #3b82f6;
        box-shadow: 0 0 10px rgba(59, 130, 246, .8);
    }

/* ---- Encabezados de sección (Administración, Operaciones, ...) ---- */
.nav-item[b-kpe8ltsnag]  div[role="button"] {
    border-radius: .6rem;
    padding: .55rem .85rem !important;
    margin: 0 .5rem;
    width: calc(100% - 1rem) !important;
    transition: background-color .15s ease;
}

    .nav-item[b-kpe8ltsnag]  div[role="button"]:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }

    .nav-item[b-kpe8ltsnag]  div[role="button"] > span:first-child {
        color: #e2e8f0;
        font-size: .72rem !important;
        letter-spacing: .09em !important;
        font-weight: 700;
    }

    .nav-item[b-kpe8ltsnag]  div[role="button"] > span:first-child .bi {
        color: #60a5fa;
    }

.nav-chevron[b-kpe8ltsnag] {
    font-size: .75rem;
    width: auto;
    height: auto;
    color: #64748b;
    transition: transform .2s ease;
}

    .nav-chevron.open[b-kpe8ltsnag] {
        transform: rotate(90deg);
        color: #94a3b8;
    }

/* Separación visual entre secciones */
.nav-section-toggle[b-kpe8ltsnag] {
    background: transparent;
    border: none;
}

@media (min-width: 641px) {
    .navbar-toggler[b-kpe8ltsnag] {
        display: none;
    }

    .collapse[b-kpe8ltsnag] {
        display: block;
    }

    .nav-scrollable[b-kpe8ltsnag] {
        height: calc(100vh - 4rem);
        overflow-y: auto;
        padding-bottom: 1.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }

    .nav-scrollable[b-kpe8ltsnag]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-kpe8ltsnag]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-scrollable[b-kpe8ltsnag]::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.18);
        border-radius: 20px;
    }
}
/* /Layout/StoreLayout.razor.rz.scp.css */
.store-page[b-wn5gu1v9gf] {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f6f8fc;
}

.store-content[b-wn5gu1v9gf] {
    background-color: #f6f8fc;
}
/* /PageShared/HelpTip.razor.rz.scp.css */
.help-tip[b-p47x08m8ie] {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.help-tip-btn[b-p47x08m8ie] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--bs-primary, #0d6efd);
    background: var(--bs-primary-bg-subtle, #cfe2ff);
    color: var(--bs-primary, #0d6efd);
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s, color .15s, transform .15s;
}

.help-tip-btn:hover[b-p47x08m8ie],
.help-tip-btn:focus-visible[b-p47x08m8ie],
.help-tip-btn[aria-expanded="true"][b-p47x08m8ie] {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    transform: scale(1.08);
    outline: none;
}

.help-tip-backdrop[b-p47x08m8ie] {
    position: fixed;
    inset: 0;
    z-index: 1069;
    cursor: default;
}

.help-tip-panel[b-p47x08m8ie] {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    z-index: 1070;
    display: block;
    width: min(380px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .18);
    font-size: .85rem;
    font-weight: normal;
    text-align: left;
    white-space: normal;
    animation: help-tip-in-b-p47x08m8ie .12s ease-out;
}

.help-tip-end .help-tip-panel[b-p47x08m8ie] {
    left: auto;
    right: -8px;
}

.help-tip-header[b-p47x08m8ie] {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .75rem;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    font-weight: 600;
    border-radius: .5rem .5rem 0 0;
}

.help-tip-header .btn-close[b-p47x08m8ie] {
    filter: invert(1) grayscale(100%) brightness(200%);
    font-size: .65rem;
}

.help-tip-body[b-p47x08m8ie] {
    display: block;
    padding: .6rem .8rem .2rem;
}

.help-tip-summary[b-p47x08m8ie] {
    display: block;
    margin-bottom: .5rem;
    color: var(--bs-secondary-color, #6c757d);
}

.help-tip-section[b-p47x08m8ie] {
    display: block;
    margin-top: .35rem;
    font-weight: 600;
}

.help-tip-body ul[b-p47x08m8ie] {
    margin: .2rem 0 .5rem;
    padding-left: 1.1rem;
}

.help-tip-body li[b-p47x08m8ie] {
    margin-bottom: .2rem;
}

@keyframes help-tip-in-b-p47x08m8ie {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .help-tip-panel[b-p47x08m8ie],
    .help-tip-end .help-tip-panel[b-p47x08m8ie] {
        position: fixed;
        top: 15vh;
        left: 16px;
        right: 16px;
        width: auto;
    }
}
/* /Pages/Login.razor.rz.scp.css */
/* Professional Login Background */
.login-container[b-fw8k2iia79] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 64, 175, 0.85)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center fixed;
    background-size: cover;
    padding: 1rem;
}

/* Glass/Card Effect */
.login-card[b-fw8k2iia79] {
    background: white;
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-card[b-fw8k2iia79] { box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .55); }

.login-header[b-fw8k2iia79] {
    /* Unify with Sidebar (#1e293b) -> Brand Blue */
    background: linear-gradient(135deg, #1e293b 0%, var(--primary-color) 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    margin-bottom: 2rem;
}

.brand-logo[b-fw8k2iia79] {
    width: 80px;
    height: 80px;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Input Styling */
.form-floating .form-control[b-fw8k2iia79] {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding-left: 1rem;
}

.form-floating .form-control:focus[b-fw8k2iia79] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-login[b-fw8k2iia79] {
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border: none;
    transition: all 0.3s ease;
}

.btn-login:hover[b-fw8k2iia79] {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
