/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Estilos del error boundary de Blazor.
   Definidos aquí porque el div se renderiza dentro del layout. */

#blazor-error-ui[b-4r12kxxprt] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-4r12kxxprt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vv8gkpvwe5],
.components-reconnect-repeated-attempt-visible[b-vv8gkpvwe5],
.components-reconnect-failed-visible[b-vv8gkpvwe5],
.components-pause-visible[b-vv8gkpvwe5],
.components-resume-failed-visible[b-vv8gkpvwe5],
.components-rejoining-animation[b-vv8gkpvwe5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-retrying[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-failed[b-vv8gkpvwe5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vv8gkpvwe5] {
    display: block;
}


#components-reconnect-modal[b-vv8gkpvwe5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-vv8gkpvwe5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vv8gkpvwe5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vv8gkpvwe5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vv8gkpvwe5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vv8gkpvwe5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vv8gkpvwe5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vv8gkpvwe5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vv8gkpvwe5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vv8gkpvwe5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vv8gkpvwe5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vv8gkpvwe5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vv8gkpvwe5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vv8gkpvwe5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vv8gkpvwe5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vv8gkpvwe5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vv8gkpvwe5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vv8gkpvwe5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vv8gkpvwe5 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Caja/CierreImprimir.razor.rz.scp.css */
/* Reportes del cierre: pensados para A4 vertical, también legibles en pantalla antes de imprimir */
.rep[b-if42jzjf4u] {
    --rep-tinta: #1f2933;
    --rep-gris: #6b7280;
    --rep-linea: #d7dce2;
    --rep-fondo: #f3f5f8;
    --rep-acento: #1e4f8a;
    --rep-ingreso: #2e7d32;
    --rep-egreso: #c62828;
    max-width: 190mm;
    margin: 0 auto;
    padding: 6mm 0;
    color: var(--rep-tinta);
    background: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 8.5pt;
    line-height: 1.3;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.rep--salto[b-if42jzjf4u] {
    break-before: page;
}

/* Encabezado */
.rep-head[b-if42jzjf4u] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 4mm;
    align-items: center;
    padding-bottom: 3mm;
    border-bottom: 2px solid var(--rep-acento);
}

.rep-logo[b-if42jzjf4u] {
    height: 14mm;
    width: auto;
}

.rep-inst strong[b-if42jzjf4u] {
    display: block;
    font-size: 13pt;
    letter-spacing: 0.08em;
    color: var(--rep-acento);
}

.rep-inst span[b-if42jzjf4u] {
    font-size: 7.5pt;
    color: var(--rep-gris);
}

.rep-meta[b-if42jzjf4u] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.5mm 3mm;
    margin: 0;
    font-size: 7.5pt;
}

.rep-meta dt[b-if42jzjf4u] {
    color: var(--rep-gris);
    text-align: right;
}

.rep-meta dd[b-if42jzjf4u] {
    margin: 0;
    font-weight: 500;
}

.rep-titulo[b-if42jzjf4u] {
    display: flex;
    align-items: baseline;
    gap: 3mm;
    flex-wrap: wrap;
    margin: 4mm 0 3mm;
}

.rep-titulo h1[b-if42jzjf4u] {
    margin: 0;
    font-size: 14pt;
    font-weight: 500;
}

.rep-titulo span[b-if42jzjf4u] {
    color: var(--rep-gris);
    font-size: 9pt;
}

/* Resumen arriba de cada tabla */
.rep-kpis[b-if42jzjf4u] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2mm;
    margin-bottom: 3mm;
}

.rep-kpis > div[b-if42jzjf4u] {
    padding: 2mm 3mm;
    background: var(--rep-fondo);
    border-radius: 1.5mm;
}

.rep-kpis span[b-if42jzjf4u] {
    display: block;
    font-size: 7pt;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rep-gris);
}

.rep-kpis strong[b-if42jzjf4u] {
    font-size: 10.5pt;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Tablas */
.rep-tabla[b-if42jzjf4u] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.rep-tabla th[b-if42jzjf4u] {
    padding: 1.5mm 1.5mm;
    font-size: 7pt;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--rep-gris);
    border-bottom: 1.5px solid var(--rep-tinta);
}

.rep-tabla td[b-if42jzjf4u] {
    padding: 1.2mm 1.5mm;
    vertical-align: top;
    border-bottom: 0.5px solid var(--rep-linea);
    overflow-wrap: anywhere;
}

.rep-tabla tr[b-if42jzjf4u] {
    break-inside: avoid;
}

.rep-zebra > tbody:not(.rep-totales) > tr:nth-child(even) > td[b-if42jzjf4u] {
    background: #fafbfc;
}

.rep-tabla .num[b-if42jzjf4u] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rep-totales td[b-if42jzjf4u] {
    font-weight: 600;
    border-top: 1.5px solid var(--rep-tinta);
    border-bottom: none;
    background: var(--rep-fondo);
}

.rep-totales tr + tr td[b-if42jzjf4u] {
    border-top: none;
}

.col-comprobante[b-if42jzjf4u] { width: 30mm; }
.col-usuario[b-if42jzjf4u] { width: 20mm; }
.col-importe[b-if42jzjf4u] { width: 25mm; }
.col-socio[b-if42jzjf4u] { width: 13mm; }
.col-fecha[b-if42jzjf4u] { width: 20mm; }
.col-persona[b-if42jzjf4u] { width: 42mm; }

.rep-comprobante[b-if42jzjf4u] {
    white-space: nowrap;
    font-size: 7.5pt;
}

.rep-usuario[b-if42jzjf4u] {
    font-size: 7.5pt;
    color: var(--rep-gris);
}

.rep-desc[b-if42jzjf4u] {
    font-weight: 500;
}

.rep-sub[b-if42jzjf4u] {
    font-size: 7.5pt;
    color: var(--rep-gris);
}

.rep-saldo[b-if42jzjf4u] {
    font-weight: 500;
}

.rep-vacio[b-if42jzjf4u] {
    text-align: center;
    color: var(--rep-gris);
    padding: 4mm;
}

.ing[b-if42jzjf4u] { color: var(--rep-ingreso); }
.egr[b-if42jzjf4u] { color: var(--rep-egreso); }

/* Portada */
.rep-grupos[b-if42jzjf4u] {
    display: grid;
    gap: 4mm;
}

.rep-saldo-final[b-if42jzjf4u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5mm;
    padding: 3mm 4mm;
    border: 1.5px solid var(--rep-acento);
    border-radius: 1.5mm;
    font-size: 11pt;
}

.rep-saldo-final strong[b-if42jzjf4u] {
    font-size: 14pt;
    font-variant-numeric: tabular-nums;
    color: var(--rep-acento);
}

.rep-firmas[b-if42jzjf4u] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20mm;
    margin: 22mm 10mm 0;
    text-align: center;
    color: var(--rep-gris);
}

.rep-firmas > div[b-if42jzjf4u] {
    padding-top: 1.5mm;
    border-top: 1px solid var(--rep-tinta);
}

@media print {
    .rep[b-if42jzjf4u] {
        max-width: none;
        padding: 0;
    }
}
