/* /Pages/AppPages/Campus/HelloTicket/MenuStudent/PrintCodebar.razor.rz.scp.css */
@font-face {
    font-family: "FontBarCode";
    src: url(/fonts/IDAUTOMATIONHI25L.TTF) format('truetype');
    /*src: url(/fonts/IDAUTOMATIONHI25L.eot);*/
}

@font-face {
    font-family: "FontBarCode128";
    src: url(/wwwroot/fonts/CODE128.TTF) format('truetype');
}

.txtCodeBar[b-q9btzram9h] {
    font-family: "FontBarCode", Arial, Verdana, sans-serif;
    color: #000000;
    font-size: 14px;
}

.txtCodeBar128[b-q9btzram9h] {
    font-family: "FontBarCode128", Arial, Verdana, sans-serif;
    color: #000000;
    font-size: 14px;
}

/* /Pages/AppPages/Reports/Economia/NetTIMsiro.razor.rz.scp.css */
/* ◆ DAVID — NEW (2026-06-01): estilo glam SchoolPlus aplicado a NetTIMsiro.
   Patrón replicado de SpAlumnosFaltasReiteradas (módulo SchoolPlus), adaptado a:
   - gridMaxRows = 10 (mismo que el patrón base) → card height = 10*42 + 38 + 16 + 2 + buffer ≈ 490px
   - sin menú de Opciones (este reporte no usa dropdown)
   - sin paginador visible (smarthPage=true es interno al DataGridLocal)
   Para deshacer: borrar este archivo + revertir el markup. */

.reg-wrap[b-uhns5ziu1u] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-uhns5ziu1u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-uhns5ziu1u] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-uhns5ziu1u] {
    color: #5F57BF;
    font-size: 1.4rem;
}

/* ---- Alerta de error ---- */
.reg-alert[b-uhns5ziu1u] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ----
   Seeker y Filter renderizan internamente width:100%. Cada uno se envuelve en un slot
   con flex-basis explícito para que mantengan una sola fila. flex-wrap=wrap como fallback
   para viewports angostos. */
.reg-toolbar[b-uhns5ziu1u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-uhns5ziu1u] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-filter[b-uhns5ziu1u] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-uhns5ziu1u] {
    margin-left: auto;
}

/* Botón Export XLS */
.reg-icon-btn[b-uhns5ziu1u] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-uhns5ziu1u] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ----
   DataGridLocal calcula sus anchos en pixeles via JS (browserWidth*0.967) ignorando el
   ancho del padre — los ::deep overrides fuerzan 100% del card. Height fijo a 490px
   (gridMaxRows=10 → 10*42 + 38 header + 16 scroll + 2 border ≈ 476, +14 buffer = 490). */
.reg-grid-card[b-uhns5ziu1u] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    /* Esquina inf-izq con radio chico para no clipear los indicadores de scroll vert+horiz
       que se cruzan en esa esquina, manteniendo curva sutil. */
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;  /* ancla el ScrollHorizont absoluto */
    height: 490px;
}

/* Esquina sup-der del header de la grilla con el mismo radio del card */
.reg-grid-inner[b-uhns5ziu1u]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

/* Sacar ScrollHorizont del flujo interno del wrapper y anclarlo al borde inf del card */
.reg-grid-inner[b-uhns5ziu1u]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Forzar todos los anchos pixel-based del grid a 100% del card */
.reg-grid-inner[b-uhns5ziu1u]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-uhns5ziu1u]  #DataGridLocal,
.reg-grid-inner[b-uhns5ziu1u]  #DataGridLocal + div {
    width: 100% !important;
}

/* Estética scroll vertical: sin bg gris, sin border-radius, pegado a la grilla */
.reg-grid-inner[b-uhns5ziu1u]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-uhns5ziu1u]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-uhns5ziu1u]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

/* Estética scroll horizontal: mismo tratamiento que el vertical */
.reg-grid-inner[b-uhns5ziu1u]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
/* /Pages/AppPages/Reports/NetAlumnoHistorialPago.razor.rz.scp.css */
/* ◆ DAVID — NEW (2026-06-02): estilo glam SchoolPlus aplicado a NetAlumnoHistorialPago.
   Variante INLINE del patrón (sin .reg-overlay fixed) porque este reporte se renderiza dentro
   del componente padre (NetAlumnoMorosoCuotaDetallada) que ya tiene su propio overlay y oculta
   su isvisible al abrir History — el reporte queda como página dentro del EmptyLayout.
   Diferencias propias:
   - usa .reg-page (block + min-height:100vh) en vez de .reg-overlay (fixed)
   - 3 botones de acción (XLS, PDF, View Invoice — este último con .is-disabled)
   - gridMaxRows = 10 → card height = 490px (10*42 + 38 + 16 + 2 + buffer ≈ 476)
   - sin menú Opciones (no tiene dropdown) */

/* ---- Wrapper página (variante inline del patrón) ---- */
.reg-page[b-d80bby5hbq] {
    padding: 1.5rem 1.75rem 1.5rem;
    min-height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-d80bby5hbq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-d80bby5hbq] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-d80bby5hbq] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-d80bby5hbq] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-back:hover[b-d80bby5hbq] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-d80bby5hbq] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-d80bby5hbq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-d80bby5hbq] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-filter[b-d80bby5hbq] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-d80bby5hbq] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF / View Invoice) */
.reg-icon-btn[b-d80bby5hbq] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover:not(.is-disabled)[b-d80bby5hbq] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-icon-btn.is-disabled[b-d80bby5hbq] {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Card de grilla ----
   gridMaxRows = 10 → 10*42 + 38 header + 16 scroll + 2 border ≈ 476, +14 buffer = 490. */
.reg-grid-card[b-d80bby5hbq] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-d80bby5hbq]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-d80bby5hbq]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-d80bby5hbq]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-d80bby5hbq]  #DataGridLocal,
.reg-grid-inner[b-d80bby5hbq]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-d80bby5hbq]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-d80bby5hbq]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-d80bby5hbq]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-d80bby5hbq]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
/* /Pages/AppPages/Reports/NetAlumnoMorosoCuotaDetallada.razor.rz.scp.css */
/* ◆ DAVID — NEW (2026-06-02): estilo glam SchoolPlus aplicado a NetAlumnoMorosoCuotaDetallada.
   Patrón replicado de NetAlumnoNomina. Diferencias propias de este reporte:
   - tiene menú Opciones (dropdown con 10+ acciones) → incluye .reg-options*
   - tiene 2 botones de acción (XLS / Sender) — NO tiene PDF en el toolbar
   - tiene modal Add Comment (queda fuera del .reg-wrap, sobre el .reg-overlay)
   - se renderiza como overlay fullscreen desde MenuReports (wrapper fixed externo) */

/* ---- Overlay externo (fullscreen sobre MenuReports) ---- */
.reg-overlay[b-gbo9539q2f] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.reg-wrap[b-gbo9539q2f] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-gbo9539q2f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-gbo9539q2f] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-gbo9539q2f] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-gbo9539q2f] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-back:hover[b-gbo9539q2f] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-gbo9539q2f] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-gbo9539q2f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-gbo9539q2f] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-gbo9539q2f] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-gbo9539q2f] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-gbo9539q2f] {
    margin-left: auto;
}

/* Botones de icono (XLS / Sender) */
.reg-icon-btn[b-gbo9539q2f] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-gbo9539q2f] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Dropdown Opciones (Menu) ---- */
.reg-options[b-gbo9539q2f] {
    position: relative;
}

.reg-options-btn[b-gbo9539q2f] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-gbo9539q2f],
.reg-options-btn.is-open[b-gbo9539q2f] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-gbo9539q2f] {
    font-size: .6rem;
}

.reg-options-menu[b-gbo9539q2f] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .6rem 0;
    z-index: 1060;
}

.reg-options-item[b-gbo9539q2f] {
    display: block;
    width: 100%;
    text-align: left;
    padding: .5rem 1rem;
    font-size: .88rem;
    color: #3a3f4d;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}

.reg-options-item:hover[b-gbo9539q2f] {
    background: #f3f2fb;
    color: #4a43a0;
}

.reg-options-item.is-disabled[b-gbo9539q2f],
.reg-options-item.is-disabled:hover[b-gbo9539q2f] {
    color: #b6bac7;
    background: transparent;
    cursor: not-allowed;
}

.reg-options-sep[b-gbo9539q2f] {
    margin: .35rem 0;
    border: 0;
    border-top: 1px dashed #e3e5ee;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-gbo9539q2f] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-gbo9539q2f]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-gbo9539q2f]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-gbo9539q2f]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-gbo9539q2f]  #DataGridLocal,
.reg-grid-inner[b-gbo9539q2f]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-gbo9539q2f]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-gbo9539q2f]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-gbo9539q2f]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-gbo9539q2f]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* ---- Modal Add Comment glam ---- */
.reg-modal-overlay[b-gbo9539q2f] {
    position: fixed;
    inset: 0;
    background: rgba(31, 35, 72, .45);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-modal-card[b-gbo9539q2f] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(31, 35, 72, .25);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    animation: reg-modal-pop-b-gbo9539q2f .18s ease-out;
}

@keyframes reg-modal-pop-b-gbo9539q2f {
    from { opacity: 0; transform: translateY(8px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.reg-modal-header[b-gbo9539q2f] {
    background: linear-gradient(135deg, #5F57BF 0%, #4a43a0 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.reg-modal-title[b-gbo9539q2f] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-modal-close[b-gbo9539q2f] {
    background: transparent;
    border: 0;
    color: #fff;
    opacity: .85;
    font-size: 1rem;
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: 6px;
    transition: opacity .12s ease, background .12s ease;
}

.reg-modal-close:hover[b-gbo9539q2f] {
    opacity: 1;
    background: rgba(255, 255, 255, .15);
}

.reg-modal-body[b-gbo9539q2f] {
    padding: 1.25rem;
    max-height: 440px;
    overflow-y: auto;
}

.reg-modal-existing[b-gbo9539q2f] {
    background: #f3f2fb;
    border: 1px solid #e3e1f5;
    color: #3a3f4d;
    border-radius: 10px;
    padding: .65rem .85rem;
    font-size: .85rem;
    margin-bottom: .85rem;
    white-space: pre-wrap;
}

.reg-modal-input[b-gbo9539q2f] {
    width: 100%;
    border: 1px solid #d8dbe7;
    background: #fff;
    border-radius: 10px;
    padding: .55rem .8rem;
    font-size: .9rem;
    color: #2b2d42;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.reg-modal-input:focus[b-gbo9539q2f] {
    outline: 0;
    border-color: #5F57BF;
    box-shadow: 0 0 0 3px rgba(95, 87, 191, .15);
}

.reg-modal-footer[b-gbo9539q2f] {
    padding: .85rem 1.25rem 1.1rem;
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    border-top: 1px solid #f0f1f6;
}

.reg-modal-btn-primary[b-gbo9539q2f],
.reg-modal-btn-secondary[b-gbo9539q2f] {
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-modal-btn-primary[b-gbo9539q2f] {
    background: #5F57BF;
    border: 1px solid #5F57BF;
    color: #fff;
}

.reg-modal-btn-primary:hover[b-gbo9539q2f] {
    background: #4a43a0;
    border-color: #4a43a0;
}

.reg-modal-btn-secondary[b-gbo9539q2f] {
    background: #fff;
    border: 1px solid #e3e6ef;
    color: #5b6273;
}

.reg-modal-btn-secondary:hover[b-gbo9539q2f] {
    background: #f3f2fb;
    color: #4a43a0;
}
/* /Pages/AppPages/Reports/NetAlumnoNomina.razor.rz.scp.css */
/* ◆ DAVID — NEW (2026-06-01): estilo glam SchoolPlus aplicado a NetAlumnoNomina.
   Patrón replicado de SpAlumnosFaltasReiteradas. Diferencias propias de este reporte:
   - tiene paginador visible (<ScrollPage>) → incluye .reg-toolbar-pager
   - tiene 3 botones de acción (XLS / PDF / Sender) → .reg-icon-btn ×3
   - tiene botón Return → .reg-back en el header
   - sin menú Opciones (no tiene dropdown)
   - se renderiza como overlay fullscreen desde MenuReports (wrapper fixed externo) */

/* ---- Overlay externo (fullscreen sobre MenuReports) ---- */
.reg-overlay[b-gl3dhjrdej] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.reg-wrap[b-gl3dhjrdej] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-gl3dhjrdej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-gl3dhjrdej] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-gl3dhjrdej] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-gl3dhjrdej] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-back:hover[b-gl3dhjrdej] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-gl3dhjrdej] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ----
   Los componentes hijos (Seeker, ScrollPage, Filter) renderizan internamente width:100%
   (input-group Bootstrap). Cada uno va envuelto en un slot con flex-basis explícito para
   que mantengan una sola fila. flex-wrap=wrap como fallback en viewports angostos. */
.reg-toolbar[b-gl3dhjrdej] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-gl3dhjrdej] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-gl3dhjrdej] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-gl3dhjrdej] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-gl3dhjrdej] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF / Sender) */
.reg-icon-btn[b-gl3dhjrdej] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-gl3dhjrdej] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ----
   DataGridLocal calcula sus anchos en pixeles via JS (browserWidth*0.967) ignorando el
   ancho del padre — los ::deep overrides fuerzan 100% del card. Height fijo a 490px
   (gridMaxRows=10 → 10*42 + 38 header + 16 scroll + 2 border ≈ 476, +14 buffer = 490). */
.reg-grid-card[b-gl3dhjrdej] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    /* Esquina inf-izq con radio chico para no clipear los indicadores de scroll vert+horiz
       que se cruzan en esa esquina, manteniendo curva sutil. */
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;  /* ancla el ScrollHorizont absoluto */
    height: 490px;
}

/* Esquina sup-der del header de la grilla con el mismo radio del card */
.reg-grid-inner[b-gl3dhjrdej]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

/* Sacar ScrollHorizont del flujo interno del wrapper y anclarlo al borde inf del card */
.reg-grid-inner[b-gl3dhjrdej]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Forzar todos los anchos pixel-based del grid a 100% del card */
.reg-grid-inner[b-gl3dhjrdej]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-gl3dhjrdej]  #DataGridLocal,
.reg-grid-inner[b-gl3dhjrdej]  #DataGridLocal + div {
    width: 100% !important;
}

/* Estética scroll vertical: sin bg gris, sin border-radius, pegado a la grilla */
.reg-grid-inner[b-gl3dhjrdej]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-gl3dhjrdej]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-gl3dhjrdej]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

/* Estética scroll horizontal: mismo tratamiento que el vertical */
.reg-grid-inner[b-gl3dhjrdej]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
/* /Pages/AppPages/Virtual/TeacherStudio/VirtualAwards.razor.rz.scp.css */
@media print {
    .noprint[b-vvpl6z6w4a] {
        display: none !important;
        margin-top: 0px !important;
    }
}
/* /Pages/AppPages/Virtual/TeacherStudio/VirtualTrackingCertifiedView.razor.rz.scp.css */

body[b-qn2t9968b9] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 70vh;
}


.fs24em[b-qn2t9968b9] {
    /*font-size: 2.4em;*/
    height: 10vh;
    font-size: clamp(1.2rem, 3vw, 2.4rem);
    z-index: 13;
}

.titleAward[b-qn2t9968b9] {
    position: absolute;
    margin-top: 0.9em;
    font-size: 2.3rem;
    font-weight: 700;
    z-index: 12;
}


@media print {

    /* Eliminar encabezados y pies de página del navegador */
    /*@page {
        margin: 0;
        size: landscape;
    }*/

    .noprint[b-qn2t9968b9] {
        display: none!important;
    }
    


    /* Mantener gráficos de fondo */
    *[b-qn2t9968b9] {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Asegurar que los fondos se impriman */
    .con-fondo[b-qn2t9968b9] {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;        
    }
}


/* F0 - Botones de acceso */
.f0[b-qn2t9968b9] {
    background-color: antiquewhite;
    height: 10vh;
    font-size: clamp(0.8rem, 1.5vw, 1.3rem);
}

/* F1 - ENCABEZADO */
.f1[b-qn2t9968b9] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    height: 10vh;
}


/* F2 - TITULO */
.f2[b-qn2t9968b9] {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;    
    text-align: center;
    font-size: clamp(0.8rem, 3vw, 2.2rem);
    font-weight: bold;
    z-index: 100;
}

/* F3 - Descripción */
.f3[b-qn2t9968b9] {
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    left: 2%;
    color: #34495e;
    font-size: clamp(0.6rem, 2vw, 1.5rem);
    z-index: 99;
}

/* F4 - Descripción */
.f4[b-qn2t9968b9] {
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    left: 2%;
    color: black;
    font-size: clamp(0.6rem, 1.3vw, 1.0rem);
    z-index: 98;
}


/* Imágenes de fondo */
.bg-image[b-qn2t9968b9] {
    position: absolute;
    z-index: 0;
}


/* Estilos para impresión */
@media print {
    .f0[b-qn2t9968b9] {
        display: none !important;
    }

    body[b-qn2t9968b9] {
        background-color: white;
        padding: 0;
    }

    .certificate-container[b-qn2t9968b9] {
        box-shadow: none;
        max-height: none;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 768px) {
    .f3[b-qn2t9968b9] {
        width: 80%;
    }

}

@media (max-width: 480px) {
    .f3[b-qn2t9968b9] {
        width: 90%;
    }

}



.right-img[b-qn2t9968b9] {
    position: absolute;
    left: -35%;
    top: 50%;
    transform: translateY(-30%);
    width: 50%; /* Ocupa solo la mitad izquierda del contenedor */
    height: 60%;
    object-fit: cover;
    /*filter: grayscale(100%);*/
    /*border: 20px;
    border-color: #fff;*/
    opacity: 0.1;
    /* Recorta la imagen para mostrar solo su mitad derecha */
    object-position: right center;
    border-top-right-radius: 30%;
    border-bottom-right-radius: 30%;
    /* Máscara para desvanecer bordes izquierdo y superior */
    /*mask-image: radial-gradient( ellipse at top left, black 30%, transparent 90% );
    -webkit-mask-image: radial-gradient( ellipse at top left, black 30%, transparent 90% );*/
}

.left-img[b-qn2t9968b9] {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-10%);
    width: 45%;
    height: 50%;
    object-fit: cover;
    opacity: 0.8;
    border: 0px;
    border-top-left-radius: 10%;
    border-bottom-left-radius: 10%;
    /* Desvanecer bordes izquierdo, superior e inferior */
    mask-image: linear-gradient(to right, transparent 0%, black 25%), linear-gradient(to bottom, transparent 0%, black 25%), linear-gradient(to top, transparent 0%, black 25%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%), linear-gradient(to bottom, transparent 0%, black 25%), linear-gradient(to top, transparent 0%, black 25%);
    -webkit-mask-composite: source-in;
    z-index:0;
}
/* /Pages/AppPages/Virtual/TeacherStudio/VirtualTrackingCertifiedViewLike.razor.rz.scp.css */

body[b-cvet8sy03m] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 70vh;
}


.fs24em[b-cvet8sy03m] {
    /*font-size: 2.4em;*/
    height: 10vh;
    font-size: clamp(1.2rem, 3vw, 2.4rem);
    z-index: 13;
}

.titleAward[b-cvet8sy03m] {
    position: absolute;
    margin-top: 0.9em;
    font-size: 2.3rem;
    font-weight: 700;
    z-index: 12;
}


@media print {
    .noprint[b-cvet8sy03m] {
        display: none!important;
    }
        
}


/* F0 - Botones de acceso */
.f0[b-cvet8sy03m] {
    background-color: antiquewhite;
    height: 10vh;
    font-size: clamp(0.8rem, 1.5vw, 1.3rem);
}

/* F1 - ENCABEZADO */
.f1[b-cvet8sy03m] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    height: 10vh;
}


/* F2 - TITULO */
.f2[b-cvet8sy03m] {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;    
    text-align: center;
    font-size: clamp(0.8rem, 3vw, 2.2rem);
    font-weight: bold;
    z-index: 100;
}

/* F3 - Descripción */
.f3[b-cvet8sy03m] {
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    left: 2%;
    color: #34495e;
    font-size: clamp(0.6rem, 2vw, 1.5rem);
    z-index: 99;
}

/* F4 - Descripción */
.f4[b-cvet8sy03m] {
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    left: 2%;
    color: black;
    font-size: clamp(0.6rem, 1.3vw, 1.0rem);
    z-index: 98;
}


/* Imágenes de fondo */
.bg-image[b-cvet8sy03m] {
    position: absolute;
    z-index: 0;
}


/* Estilos para impresión */
@media print {
    .f0[b-cvet8sy03m] {
        display: none !important;
    }

    body[b-cvet8sy03m] {
        background-color: white;
        padding: 0;
    }

    .certificate-container[b-cvet8sy03m] {
        box-shadow: none;
        max-height: none;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 768px) {
    .f3[b-cvet8sy03m] {
        width: 80%;
    }

}

@media (max-width: 480px) {
    .f3[b-cvet8sy03m] {
        width: 90%;
    }

}



.right-img[b-cvet8sy03m] {
    position: absolute;
    left: -35%;
    top: 50%;
    transform: translateY(-30%);
    width: 50%; /* Ocupa solo la mitad izquierda del contenedor */
    height: 60%;
    object-fit: cover;
    /*filter: grayscale(100%);*/
    /*border: 20px;
    border-color: #fff;*/
    opacity: 0.1;
    /* Recorta la imagen para mostrar solo su mitad derecha */
    object-position: right center;
    border-top-right-radius: 30%;
    border-bottom-right-radius: 30%;
    /* Máscara para desvanecer bordes izquierdo y superior */
    /*mask-image: radial-gradient( ellipse at top left, black 30%, transparent 90% );
    -webkit-mask-image: radial-gradient( ellipse at top left, black 30%, transparent 90% );*/
}

.left-img[b-cvet8sy03m] {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-10%);
    width: 45%;
    height: 50%;
    object-fit: cover;
    opacity: 0.8;
    border: 0px;
    border-top-left-radius: 10%;
    border-bottom-left-radius: 10%;
    /* Desvanecer bordes izquierdo, superior e inferior */
    mask-image: linear-gradient(to right, transparent 0%, black 25%), linear-gradient(to bottom, transparent 0%, black 25%), linear-gradient(to top, transparent 0%, black 25%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%), linear-gradient(to bottom, transparent 0%, black 25%), linear-gradient(to top, transparent 0%, black 25%);
    -webkit-mask-composite: source-in;
    z-index:0;
}
/* /Pages/AppPages/WhatsAppConectar.razor.rz.scp.css */
/* wwwroot/css/whatsapp.css */

:root[b-byhdr9wvrc] {
    --wa-green: #25D366;
    --wa-green-dark: #128C7E;
    --wa-green-light: #e6f9f0;
    --fb-blue: #1877F2;
    --bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #1c1e21;
    --muted: #65676b;
    --border: #e4e6eb;
    --success-bg: #e6f4ea;
    --success-border: #a8d5b5;
    --success-text: #1e7e34;
    --warning-bg: #fff8e1;
    --warning-text: #b76e00;
    --error-bg: #fdecea;
    --error-border: #f5c6c6;
    --error-text: #c62828;
}

/* PAGE */
.wa-page[b-byhdr9wvrc] {
    padding: 2rem;
    max-width: 860px;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

.page-header[b-byhdr9wvrc] { margin-bottom: 2rem; }
.breadcrumb[b-byhdr9wvrc] { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.page-title[b-byhdr9wvrc] { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 4px; }
.page-subtitle[b-byhdr9wvrc] { font-size: 14px; color: var(--muted); }

/* STEPS */
.steps-bar[b-byhdr9wvrc] {
    display: flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.step[b-byhdr9wvrc] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-right: 1px solid var(--border);
    background-color: aliceblue;
}

.step:last-child[b-byhdr9wvrc] { border-right: none; }

.step-num[b-byhdr9wvrc] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    flex-shrink: 0;
}

.step.done .step-num[b-byhdr9wvrc] { background: #31a24c; color: gray; }
.step.active .step-num[b-byhdr9wvrc] { background: var(--wa-green); color: gray; }

.step-info[b-byhdr9wvrc] { display: flex; flex-direction: column; }
.step-label[b-byhdr9wvrc] { font-size: 11px; color: var(--muted); }
.step-name[b-byhdr9wvrc] { font-size: 13px; font-weight: 500; }
.step.active .step-name[b-byhdr9wvrc] { color: var(--wa-green-dark); }

/* ALERT */
.alert[b-byhdr9wvrc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 1rem;
    position: relative;
}

.alert-error[b-byhdr9wvrc] {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
}

.alert-close[b-byhdr9wvrc] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--error-text);
    line-height: 1;
}

/* CARD */
.card[b-byhdr9wvrc] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header[b-byhdr9wvrc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.card-title[b-byhdr9wvrc] {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.card-body[b-byhdr9wvrc] { padding: 1.5rem; }

/* BADGES */
.badge[b-byhdr9wvrc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success[b-byhdr9wvrc] { background: var(--success-bg); color: var(--success-text); }
.badge-warning[b-byhdr9wvrc] { background: var(--warning-bg); color: var(--warning-text); }

/* CTA BOX */
.cta-box[b-byhdr9wvrc] {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    background: #fafafa;
}

.cta-icon[b-byhdr9wvrc] { font-size: 48px; margin-bottom: 1rem; }

.cta-title[b-byhdr9wvrc] {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-desc[b-byhdr9wvrc] {
    font-size: 14px;
    color: var(--muted);
    max-width: 420px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* BUTTONS */
.btn[b-byhdr9wvrc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.15s;
}

.btn:disabled[b-byhdr9wvrc] { opacity: 0.65; cursor: not-allowed; }

.btn-whatsapp[b-byhdr9wvrc] { 
    background: var(--wa-green); color: #128C7E; 
}
    .btn-whatsapp:hover:not(:disabled)[b-byhdr9wvrc] {
        background: #20bd5a;
        color: #fff;
    }

.btn-outline[b-byhdr9wvrc] { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover[b-byhdr9wvrc] { background: var(--bg); }

.btn-sm[b-byhdr9wvrc] { padding: 6px 14px; font-size: 13px; }

/* SPINNER */
.spinner[b-byhdr9wvrc] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-byhdr9wvrc 0.7s linear infinite;
    display: inline-block;
}

/* LOADING STATE */
.loading-state[b-byhdr9wvrc] {
    text-align: center;
    padding: 3rem 1.5rem;
}

.loading-spinner-lg[b-byhdr9wvrc] {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--wa-green);
    border-radius: 50%;
    animation: spin-b-byhdr9wvrc 0.8s linear infinite;
    margin: 0 auto 1.25rem;
}

.loading-msg[b-byhdr9wvrc] { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.loading-sub[b-byhdr9wvrc] { font-size: 13px; color: var(--muted); }

@keyframes spin-b-byhdr9wvrc { to { transform: rotate(360deg); } }

/* STATS ROW */
.stats-row[b-byhdr9wvrc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.stat-card[b-byhdr9wvrc] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
}

.stat-label[b-byhdr9wvrc] { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat-value[b-byhdr9wvrc] { font-size: 16px; font-weight: 600; }
.stat-value.green[b-byhdr9wvrc] { color: var(--wa-green-dark); }

/* SUCCESS BANNER */
.success-banner[b-byhdr9wvrc] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 1.5rem;
}

.success-icon[b-byhdr9wvrc] { font-size: 22px; }
.success-banner strong[b-byhdr9wvrc] { font-size: 14px; color: var(--success-text); font-weight: 600; }
.success-banner p[b-byhdr9wvrc] { font-size: 13px; color: #2d6a38; margin-top: 2px; }

/* DETAIL GRID */
.detail-grid[b-byhdr9wvrc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.detail-item[b-byhdr9wvrc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg);
    padding: 10px 14px;
    border-radius: 8px;
}

.detail-label[b-byhdr9wvrc] { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.detail-value[b-byhdr9wvrc] { font-size: 14px; font-weight: 500; }
.detail-value.mono[b-byhdr9wvrc] { font-family: 'DM Mono', 'Courier New', monospace; font-size: 12px; word-break: break-all; }

/* CARD ACTIONS */
.card-actions[b-byhdr9wvrc] { display: flex; gap: 10px; flex-wrap: wrap; }

/* INFO CARD */
.info-grid[b-byhdr9wvrc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.info-item[b-byhdr9wvrc] { padding: 1rem; }
.info-icon[b-byhdr9wvrc] { font-size: 28px; margin-bottom: 8px; }
.info-item h4[b-byhdr9wvrc] { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.info-item p[b-byhdr9wvrc] { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* RESPONSIVE */
@media (max-width: 640px) {
    .wa-page[b-byhdr9wvrc] { padding: 1rem; }
    .steps-bar[b-byhdr9wvrc] { flex-direction: column; }
    .step[b-byhdr9wvrc] { border-right: none; border-bottom: 1px solid var(--border); }
    .stats-row[b-byhdr9wvrc] { grid-template-columns: 1fr; }
    .detail-grid[b-byhdr9wvrc] { grid-template-columns: 1fr; }
    .info-grid[b-byhdr9wvrc] { grid-template-columns: 1fr; }
}
/* /Pages/AppPages/ZdesktopInvoice.razor.rz.scp.css */



/* /Pages/AppPages/_SchoolPlus/Reports/NetAlumnosMorososHistorico.razor.rz.scp.css */
/* ◆ JULI — NEW (2026-05-29): Estética glam del reporte NetAlumnosMorososHistorico —
   clon scoped del CSS de NetCobrosPuntoVenta. Reglas .reg-* aplican solo a este componente.
   + .reg-legend al pie con el texto explicativo de la regla de morosidad. */

.reg-wrap[b-s59rwvjoxf] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-s59rwvjoxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-s59rwvjoxf] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-s59rwvjoxf] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-s59rwvjoxf] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-s59rwvjoxf] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-s59rwvjoxf] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-s59rwvjoxf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-s59rwvjoxf] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-s59rwvjoxf] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-s59rwvjoxf] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-s59rwvjoxf] {
    margin-left: auto;
}

/* ───── Menú Opciones (dropdown con check "View Voucher") ───── */
.reg-options[b-s59rwvjoxf] { position: relative; }

.reg-options-btn[b-s59rwvjoxf] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-s59rwvjoxf],
.reg-options-btn.is-open[b-s59rwvjoxf] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-s59rwvjoxf] { font-size: .6rem; }

.reg-options-menu[b-s59rwvjoxf] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-s59rwvjoxf] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-s59rwvjoxf] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-s59rwvjoxf] { accent-color: #5F57BF; }

.reg-options-check.is-disabled[b-s59rwvjoxf] {
    opacity: .45;
    cursor: not-allowed;
}

.reg-options-hint[b-s59rwvjoxf] {
    font-size: .72rem;
    color: #8a91a3;
    font-style: italic;
    margin-top: .3rem;
    padding-left: 1.55rem;
}

/* Botones de icono (XLS / PDF) */
.reg-icon-btn[b-s59rwvjoxf] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-s59rwvjoxf] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ---- */
/* ◆ JULI — MODIFY (2026-06-01): el card vuelve a overflow:hidden (su estado original).
   El scroll horizontal real se hace en el flex-column padre de #DataGridLocal vía JS
   (ver iaJS.js::fixGridScrollHorizontal). Razón: hacer scrollable al card hacía que el
   slider del ScrollHorizont (que está renderizado adentro del card) scrollease junto
   con los datos y se escondiera por la izquierda. Moviendo el scroll al flex-column,
   el slider (position:absolute relativo al card) queda fuera del scroll y no se mueve. */
.reg-grid-card[b-s59rwvjoxf] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-s59rwvjoxf]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal,
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-s59rwvjoxf]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-s59rwvjoxf]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-s59rwvjoxf]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* ◆ JULI — NEW (2026-05-29): scroll horizontal para este reporte cross-tab.
   Con N columnas dinamicas de mes + Prior + Name + Group + Total puede haber 15-28 cols.
   El ancho inline de las celdas que setea DataGridLocal (`style="width:5"`) sin unidad CSS
   no funciona — los browsers lo ignoran. Forzando `min-width` por celda la tabla supera el
   ancho del div #DataGridLocal cuando hay muchas columnas, y el ScrollHorizont (que controla
   scrollLeft via JS, ver myJS.js::scrollData) queda funcional. */
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal th,
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal td {
    min-width: 100px;
    white-space: nowrap;
}
/* La primera columna (Name) merece mas espacio. Override por orden + th/td del primer hijo. */
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal table.table th:first-child,
.reg-grid-inner[b-s59rwvjoxf]  #DataGridLocal table.table td:first-child {
    min-width: 180px;
}

/* ◆ JULI — NEW (2026-06-01): el scroll horizontal real ya no se configura acá vía CSS.
   Se aplica via JS en `iaJS.js::fixGridScrollHorizontal()` directamente sobre el flex-column
   padre de #DataGridLocal (con !important inline para ganar cualquier cascada). Esa estrategia
   resultó más robusta que el CSS scoped, que por razones no determinadas no ganaba la cascada
   contra el inline `style="width:Xpx"` que setea DataGridLocal.OnAfterRender vía JS.
   Ver bitácora 2026-06-01 sección "Iteración final del fix de scroll (v2)". */

/* ◆ JULI — NEW (2026-05-29): Legend al pie del grid — aclara el scope de los datos. */
.reg-legend[b-s59rwvjoxf] {
    margin-top: .8rem;
    padding: .65rem .9rem;
    background: #f7f8fc;
    border-left: 3px solid #5F57BF;
    border-radius: 8px;
    font-size: .8rem;
    color: #5b6273;
    font-style: italic;
    line-height: 1.5;
}
.reg-legend .oi[b-s59rwvjoxf] {
    color: #5F57BF;
    font-style: normal;
}

/* ─────────────────── Modal Voucher (Ver Comprobante) ─────────────────── */
.sp-voucher-overlay[b-s59rwvjoxf] {
    position: fixed;
    inset: 0;
    background: rgba(31, 35, 72, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1.5rem;
    overflow-y: auto;
}

.sp-voucher-card[b-s59rwvjoxf] {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(31, 35, 72, .35);
    width: 100%;
    max-width: 780px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: sp-voucher-pop-b-s59rwvjoxf .25s ease-out;
}

@keyframes sp-voucher-pop-b-s59rwvjoxf {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.sp-voucher-close[b-s59rwvjoxf] {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    z-index: 2;
}
.sp-voucher-close:hover[b-s59rwvjoxf] { background: rgba(255, 255, 255, .45); }

/* Header con gradiente violeta */
.sp-voucher-header[b-s59rwvjoxf] {
    background: linear-gradient(135deg, #5F57BF 0%, #8c84e0 100%);
    color: #fff;
    padding: 1.6rem 1.8rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.sp-voucher-logo[b-s59rwvjoxf] {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.sp-voucher-center-name[b-s59rwvjoxf] {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .15rem;
    letter-spacing: -.01em;
}
.sp-voucher-center-line[b-s59rwvjoxf] {
    font-size: .8rem;
    opacity: .92;
    line-height: 1.35;
}

.sp-voucher-header-num[b-s59rwvjoxf] { text-align: right; }
.sp-voucher-num[b-s59rwvjoxf] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.sp-voucher-num-sub[b-s59rwvjoxf] {
    font-size: .85rem;
    opacity: .92;
    margin-top: .1rem;
}
.sp-voucher-date[b-s59rwvjoxf] {
    font-size: .78rem;
    opacity: .9;
    margin-top: .35rem;
}
.sp-voucher-date .oi[b-s59rwvjoxf] { font-size: .7rem; margin-right: .2rem; }

/* Secciones del body */
.sp-voucher-section[b-s59rwvjoxf] {
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid #f0f1f7;
}
.sp-voucher-section:last-of-type[b-s59rwvjoxf] { border-bottom: none; }

.sp-voucher-section-title[b-s59rwvjoxf] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5F57BF;
    margin-bottom: .7rem;
}

/* Grid de customer info (3 col × 2 fila) */
.sp-voucher-grid[b-s59rwvjoxf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem 1.4rem;
}
@media (max-width: 600px) {
    .sp-voucher-grid[b-s59rwvjoxf] { grid-template-columns: repeat(2, 1fr); }
}

.sp-voucher-field[b-s59rwvjoxf] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.sp-voucher-field label[b-s59rwvjoxf] {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a91a3;
    margin: 0;
}
.sp-voucher-field span[b-s59rwvjoxf] {
    font-size: .88rem;
    color: #2b2d42;
    font-weight: 500;
    word-break: break-word;
}

/* Payment method */
.sp-voucher-payment[b-s59rwvjoxf] {
    font-size: .85rem;
    color: #3a3f4d;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 10px;
    padding: .65rem .85rem;
    line-height: 1.5;
}

/* Description items */
.sp-voucher-items[b-s59rwvjoxf] {
    margin: 0;
    padding-left: 1.1rem;
    color: #3a3f4d;
    font-size: .85rem;
    line-height: 1.6;
}
.sp-voucher-items li[b-s59rwvjoxf] { margin: .1rem 0; }

.sp-voucher-desc[b-s59rwvjoxf] {
    margin-top: .5rem;
    font-size: .82rem;
    color: #5b6273;
    font-style: italic;
}

/* Total destacado */
.sp-voucher-total[b-s59rwvjoxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.8rem;
    background: linear-gradient(90deg, #f7f6fd 0%, #fff 100%);
    border-top: 2px solid #efeefb;
}
.sp-voucher-total-label[b-s59rwvjoxf] {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5b6273;
}
.sp-voucher-total-value[b-s59rwvjoxf] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5F57BF;
    letter-spacing: -.02em;
}

/* Actions footer */
.sp-voucher-actions[b-s59rwvjoxf] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1.1rem 1.8rem;
    background: #fafbfe;
    border-top: 1px solid #ecedf4;
    border-radius: 0 0 20px 20px;
}
.sp-voucher-btn[b-s59rwvjoxf] {
    border: none;
    border-radius: 10px;
    padding: .55rem 1.2rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.sp-voucher-btn-secondary[b-s59rwvjoxf] {
    background: #fff;
    color: #5b6273;
    border: 1px solid #e3e6ef;
}
.sp-voucher-btn-secondary:hover[b-s59rwvjoxf] {
    background: #f0f1f7;
    color: #2b2d42;
}
.sp-voucher-btn-primary[b-s59rwvjoxf] {
    background: #5F57BF;
    color: #fff;
}
.sp-voucher-btn-primary:hover[b-s59rwvjoxf] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

/* ─── @media print — al imprimir, oculta todo menos el card y deja un look limpio ─── */
@media print {
    .sp-voucher-overlay[b-s59rwvjoxf] {
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        display: block !important;
    }
    .sp-voucher-card[b-s59rwvjoxf] {
        box-shadow: none !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 0 !important;
        animation: none !important;
    }
    .sp-voucher-close[b-s59rwvjoxf],
    .sp-voucher-actions[b-s59rwvjoxf] { display: none !important; }
    .sp-voucher-header[b-s59rwvjoxf] {
        background: #5F57BF !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 0 !important;
    }
}
/* /Pages/AppPages/_SchoolPlus/Reports/NetCobrosPuntoVenta.razor.rz.scp.css */
/* ◆ JULI — NEW (2026-05-29): Estética glam del reporte NetCobrosPuntoVenta — clon scoped del CSS de
   SpCajaIngreso. CSS scoped por Blazor: estas reglas .reg-* solo aplican a este componente.
   + .reg-legend al pie para el texto informativo del reporte. */

.reg-wrap[b-rl5ykw9fag] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-rl5ykw9fag] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-rl5ykw9fag] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-rl5ykw9fag] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-rl5ykw9fag] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-rl5ykw9fag] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-rl5ykw9fag] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-rl5ykw9fag] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-rl5ykw9fag] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-rl5ykw9fag] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-rl5ykw9fag] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-rl5ykw9fag] {
    margin-left: auto;
}

/* ───── Menú Opciones (dropdown con check "View Voucher") ───── */
.reg-options[b-rl5ykw9fag] { position: relative; }

.reg-options-btn[b-rl5ykw9fag] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-rl5ykw9fag],
.reg-options-btn.is-open[b-rl5ykw9fag] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-rl5ykw9fag] { font-size: .6rem; }

.reg-options-menu[b-rl5ykw9fag] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-rl5ykw9fag] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-rl5ykw9fag] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-rl5ykw9fag] { accent-color: #5F57BF; }

.reg-options-check.is-disabled[b-rl5ykw9fag] {
    opacity: .45;
    cursor: not-allowed;
}

.reg-options-hint[b-rl5ykw9fag] {
    font-size: .72rem;
    color: #8a91a3;
    font-style: italic;
    margin-top: .3rem;
    padding-left: 1.55rem;
}

/* Botones de icono (XLS / PDF) */
.reg-icon-btn[b-rl5ykw9fag] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-rl5ykw9fag] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-rl5ykw9fag] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-rl5ykw9fag]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-rl5ykw9fag]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-rl5ykw9fag]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-rl5ykw9fag]  #DataGridLocal,
.reg-grid-inner[b-rl5ykw9fag]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-rl5ykw9fag]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-rl5ykw9fag]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-rl5ykw9fag]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-rl5ykw9fag]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* ◆ JULI — NEW (2026-05-29): Legend al pie del grid — aclara el scope de los datos. */
.reg-legend[b-rl5ykw9fag] {
    margin-top: .8rem;
    padding: .65rem .9rem;
    background: #f7f8fc;
    border-left: 3px solid #5F57BF;
    border-radius: 8px;
    font-size: .8rem;
    color: #5b6273;
    font-style: italic;
    line-height: 1.5;
}
.reg-legend .oi[b-rl5ykw9fag] {
    color: #5F57BF;
    font-style: normal;
}

/* ─────────────────── Modal Voucher (Ver Comprobante) ─────────────────── */
.sp-voucher-overlay[b-rl5ykw9fag] {
    position: fixed;
    inset: 0;
    background: rgba(31, 35, 72, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1.5rem;
    overflow-y: auto;
}

.sp-voucher-card[b-rl5ykw9fag] {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(31, 35, 72, .35);
    width: 100%;
    max-width: 780px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: sp-voucher-pop-b-rl5ykw9fag .25s ease-out;
}

@keyframes sp-voucher-pop-b-rl5ykw9fag {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.sp-voucher-close[b-rl5ykw9fag] {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    z-index: 2;
}
.sp-voucher-close:hover[b-rl5ykw9fag] { background: rgba(255, 255, 255, .45); }

/* Header con gradiente violeta */
.sp-voucher-header[b-rl5ykw9fag] {
    background: linear-gradient(135deg, #5F57BF 0%, #8c84e0 100%);
    color: #fff;
    padding: 1.6rem 1.8rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.sp-voucher-logo[b-rl5ykw9fag] {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.sp-voucher-center-name[b-rl5ykw9fag] {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .15rem;
    letter-spacing: -.01em;
}
.sp-voucher-center-line[b-rl5ykw9fag] {
    font-size: .8rem;
    opacity: .92;
    line-height: 1.35;
}

.sp-voucher-header-num[b-rl5ykw9fag] { text-align: right; }
.sp-voucher-num[b-rl5ykw9fag] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.sp-voucher-num-sub[b-rl5ykw9fag] {
    font-size: .85rem;
    opacity: .92;
    margin-top: .1rem;
}
.sp-voucher-date[b-rl5ykw9fag] {
    font-size: .78rem;
    opacity: .9;
    margin-top: .35rem;
}
.sp-voucher-date .oi[b-rl5ykw9fag] { font-size: .7rem; margin-right: .2rem; }

/* Secciones del body */
.sp-voucher-section[b-rl5ykw9fag] {
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid #f0f1f7;
}
.sp-voucher-section:last-of-type[b-rl5ykw9fag] { border-bottom: none; }

.sp-voucher-section-title[b-rl5ykw9fag] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5F57BF;
    margin-bottom: .7rem;
}

/* Grid de customer info (3 col × 2 fila) */
.sp-voucher-grid[b-rl5ykw9fag] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem 1.4rem;
}
@media (max-width: 600px) {
    .sp-voucher-grid[b-rl5ykw9fag] { grid-template-columns: repeat(2, 1fr); }
}

.sp-voucher-field[b-rl5ykw9fag] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.sp-voucher-field label[b-rl5ykw9fag] {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a91a3;
    margin: 0;
}
.sp-voucher-field span[b-rl5ykw9fag] {
    font-size: .88rem;
    color: #2b2d42;
    font-weight: 500;
    word-break: break-word;
}

/* Payment method */
.sp-voucher-payment[b-rl5ykw9fag] {
    font-size: .85rem;
    color: #3a3f4d;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 10px;
    padding: .65rem .85rem;
    line-height: 1.5;
}

/* Description items */
.sp-voucher-items[b-rl5ykw9fag] {
    margin: 0;
    padding-left: 1.1rem;
    color: #3a3f4d;
    font-size: .85rem;
    line-height: 1.6;
}
.sp-voucher-items li[b-rl5ykw9fag] { margin: .1rem 0; }

.sp-voucher-desc[b-rl5ykw9fag] {
    margin-top: .5rem;
    font-size: .82rem;
    color: #5b6273;
    font-style: italic;
}

/* Total destacado */
.sp-voucher-total[b-rl5ykw9fag] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.8rem;
    background: linear-gradient(90deg, #f7f6fd 0%, #fff 100%);
    border-top: 2px solid #efeefb;
}
.sp-voucher-total-label[b-rl5ykw9fag] {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5b6273;
}
.sp-voucher-total-value[b-rl5ykw9fag] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5F57BF;
    letter-spacing: -.02em;
}

/* Actions footer */
.sp-voucher-actions[b-rl5ykw9fag] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1.1rem 1.8rem;
    background: #fafbfe;
    border-top: 1px solid #ecedf4;
    border-radius: 0 0 20px 20px;
}
.sp-voucher-btn[b-rl5ykw9fag] {
    border: none;
    border-radius: 10px;
    padding: .55rem 1.2rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.sp-voucher-btn-secondary[b-rl5ykw9fag] {
    background: #fff;
    color: #5b6273;
    border: 1px solid #e3e6ef;
}
.sp-voucher-btn-secondary:hover[b-rl5ykw9fag] {
    background: #f0f1f7;
    color: #2b2d42;
}
.sp-voucher-btn-primary[b-rl5ykw9fag] {
    background: #5F57BF;
    color: #fff;
}
.sp-voucher-btn-primary:hover[b-rl5ykw9fag] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

/* ─── @media print — al imprimir, oculta todo menos el card y deja un look limpio ─── */
@media print {
    .sp-voucher-overlay[b-rl5ykw9fag] {
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        display: block !important;
    }
    .sp-voucher-card[b-rl5ykw9fag] {
        box-shadow: none !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 0 !important;
        animation: none !important;
    }
    .sp-voucher-close[b-rl5ykw9fag],
    .sp-voucher-actions[b-rl5ykw9fag] { display: none !important; }
    .sp-voucher-header[b-rl5ykw9fag] {
        background: #5F57BF !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 0 !important;
    }
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpAlumnosAsistencias.razor.rz.scp.css */
/* Estética del reporte de Asistencias (matriz cruzada) — adapta el patrón glam de
   [[schoolplus-report-glam-styling]] al caso de DataGridLocalDinamic (no DataGridLocal).
   Diferencias:
     - Sin Seeker ni Pager en el toolbar (matriz cruzada no pagina)
     - Subtítulo dinámico en .reg-sub (grupo, modo, clases predefinidas)
     - .reg-grid-card sin height fijo (la grilla usa su propio max-height interno: 62vh)
     - No se aplican los ::deep de DataGridLocal (estructura interna .dgd-* distinta) */

.reg-wrap[b-d8t3k9yyxm] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado con subtítulo dinámico ---- */
.reg-header[b-d8t3k9yyxm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-d8t3k9yyxm] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-d8t3k9yyxm] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-sub[b-d8t3k9yyxm] {
    display: block;
    margin-top: .25rem;
    font-size: .85rem;
    font-weight: 500;
    color: #8a93a6;
}

.reg-back[b-d8t3k9yyxm] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-d8t3k9yyxm] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Toolbar (sin Seeker ni Pager) ---- */
.reg-toolbar[b-d8t3k9yyxm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-filter[b-d8t3k9yyxm] {
    flex: 1 1 320px;
    min-width: 220px;
}

.reg-toolbar-spacer[b-d8t3k9yyxm] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF / Sender) */
.reg-icon-btn[b-d8t3k9yyxm] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-d8t3k9yyxm] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* Dropdown de Opciones */
.reg-options[b-d8t3k9yyxm] {
    position: relative;
}

.reg-options-btn[b-d8t3k9yyxm] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-d8t3k9yyxm],
.reg-options-btn.is-open[b-d8t3k9yyxm] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-d8t3k9yyxm] {
    font-size: .6rem;
}

.reg-options-menu[b-d8t3k9yyxm] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-check[b-d8t3k9yyxm] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-d8t3k9yyxm] {
    accent-color: #5F57BF;
}

.reg-options-check input:disabled + *[b-d8t3k9yyxm] {
    opacity: .5;
}

/* Separador entre los 2 grupos de checks (vista/datos vs presentación) */
.reg-options-separator[b-d8t3k9yyxm] {
    border: 0;
    border-top: 1px dashed #e3e5ee;
    margin: .65rem -.25rem .45rem;
}

/* ---- Card de la grilla (sin height fijo) ---- */
.reg-grid-card[b-d8t3k9yyxm] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    flex: 1 1 0;
    min-height: 0;
}

/* Inner = contenedor interno con scroll vertical opcional (legend abajo del grid) */
.reg-grid-inner[b-d8t3k9yyxm] {
    height: 100%;
    overflow: auto;
}

/* Anular el borde propio del .dgd-wrap (1px gris) para que no se vea doble con el card */
.reg-grid-inner[b-d8t3k9yyxm]  .dgd-wrap {
    border: none !important;
}

/* ---- Leyenda (chkLeyenda) ---- */
.reg-legend[b-d8t3k9yyxm] {
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    padding: .65rem .9rem;
    margin: .75rem;
    font-size: .82rem;
    color: #5b6273;
    line-height: 1.45;
}

.reg-legend strong[b-d8t3k9yyxm] {
    color: #2b2d42;
    margin-right: .35rem;
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpAlumnosFaltasConsecutivas.razor.rz.scp.css */
/* Estética del reporte de Faltas Consecutivas — replicada de SpAlumnosFaltasReiteradas
   (que a su vez replica el patrón glam de SpAlumnosRegistroAsistencia / DEVELOPERS IGNA).
   Ver memoria: schoolplus-report-glam-styling para el patrón completo. */

.reg-wrap[b-wvym2bi2bb] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-wvym2bi2bb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-wvym2bi2bb] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-wvym2bi2bb] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-wvym2bi2bb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-wvym2bi2bb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-wvym2bi2bb] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-wvym2bi2bb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-wvym2bi2bb] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-wvym2bi2bb] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-wvym2bi2bb] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-wvym2bi2bb] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF / Sender) */
.reg-icon-btn[b-wvym2bi2bb] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-wvym2bi2bb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* Dropdown de Opciones */
.reg-options[b-wvym2bi2bb] {
    position: relative;
}

.reg-options-btn[b-wvym2bi2bb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-wvym2bi2bb],
.reg-options-btn.is-open[b-wvym2bi2bb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-wvym2bi2bb] {
    font-size: .6rem;
}

.reg-options-menu[b-wvym2bi2bb] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 320px;   /* mayor que el de FaltasReiteradas porque incluye input number + textos largos */
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-wvym2bi2bb] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

/* Input numérico de Opciones (cantFaltas) — estilo coherente con .reg-back */
.reg-options-input[b-wvym2bi2bb] {
    border: 1px solid #e3e6ef;
    border-radius: 8px;
    padding: .35rem .55rem;
    font-size: .88rem;
    background: #fff;
    color: #3a3f4d;
    margin-bottom: .75rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.reg-options-input:focus[b-wvym2bi2bb] {
    outline: none;
    border-color: #5F57BF;
    box-shadow: 0 0 0 3px rgba(95, 87, 191, .12);
}

.reg-options-check[b-wvym2bi2bb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-wvym2bi2bb] {
    accent-color: #5F57BF;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-wvym2bi2bb] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;  /* no clipea indicadores 16px de los scrolls */
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;              /* ancla el ScrollHorizont absoluto */
    height: 490px;                   /* gridMaxRows*42 + 38 + 16 + 2 + buffer */
}

/* Forzar todos los anchos pixel-based del grid a 100% del card */
.reg-grid-inner[b-wvym2bi2bb]  #TableGridLocal,
.reg-grid-inner[b-wvym2bi2bb]  #DataGridLocal,
.reg-grid-inner[b-wvym2bi2bb]  #DataGridLocal + div {
    width: 100% !important;
}

/* ScrollHorizont anclado al margen inferior del card */
.reg-grid-inner[b-wvym2bi2bb]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Scroll vertical: estética continua (sin gris bg-secondary, sin border-radius), pegado a la grilla */
.reg-grid-inner[b-wvym2bi2bb]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-wvym2bi2bb]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-wvym2bi2bb]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

/* Scroll horizontal: mismos ajustes que el vertical */
.reg-grid-inner[b-wvym2bi2bb]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* Esquina superior derecha de la grilla redondeada al mismo radio del card */
.reg-grid-inner[b-wvym2bi2bb]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpAlumnosFaltasReiteradas.razor.rz.scp.css */
/* Estética del reporte de Faltas Reiteradas — replicada de SpAlumnosRegistroAsistencia.
   Para deshacer: borrar este archivo + restaurar el markup con las clases Bootstrap originales
   (container-fluid / row col / btn btn-warning / btn btn-outline-dark / dropdown-menu). */

.reg-wrap[b-9cv6oq2gkb] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-9cv6oq2gkb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-9cv6oq2gkb] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-9cv6oq2gkb] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-9cv6oq2gkb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-9cv6oq2gkb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-9cv6oq2gkb] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ----
   Los componentes hijos (Seeker, ScrollPage, FilterJULI) renderizan con width:100% (input-group
   Bootstrap / botón con width:100%), por eso cada uno se envuelve en un slot con flex-basis fijo
   para mantenerlos en una sola fila. flex-wrap=wrap se conserva como fallback para anchos chicos. */
.reg-toolbar[b-9cv6oq2gkb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-9cv6oq2gkb] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-9cv6oq2gkb] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-9cv6oq2gkb] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-9cv6oq2gkb] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF / Sender) */
.reg-icon-btn[b-9cv6oq2gkb] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-9cv6oq2gkb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* Dropdown de Opciones */
.reg-options[b-9cv6oq2gkb] {
    position: relative;
}

.reg-options-btn[b-9cv6oq2gkb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-9cv6oq2gkb],
.reg-options-btn.is-open[b-9cv6oq2gkb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-9cv6oq2gkb] {
    font-size: .6rem;
}

.reg-options-menu[b-9cv6oq2gkb] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-9cv6oq2gkb] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-9cv6oq2gkb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-9cv6oq2gkb] {
    accent-color: #5F57BF;
}

/* ---- Card de grilla ----
   DataGridLocal calcula sus anchos en pixeles via JS (browserWidth*0.967), ignorando el ancho
   del padre. Para que respete el card usamos ::deep para overridear los width inline de los
   divs renderizados por el componente hijo. min-height fija el alto del card para que sea
   consistente independientemente de cuántas filas haya (la última página tiene menos rows). */
.reg-grid-card[b-9cv6oq2gkb] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    /* Esquina inferior izquierda con radio chico: deja ver completos los
       indicadores de los scrolls vertical + horizontal (16px) que se cruzan ahí,
       pero mantiene una leve curva para no romper el look glam. */
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;  /* ancla el ScrollHorizont absoluto (abajo) */
    height: 490px;       /* fits gridMaxRows=10 (≈473px) + scroll (16px) */
}

/* Esquina superior derecha de la grilla redondeada al mismo radio del card,
   para que el header siga la curva en vez de quedar cortado por ella. */
.reg-grid-inner[b-9cv6oq2gkb]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

/* Sacar el ScrollHorizont del flujo interno del wrapper de DataGridLocal y anclarlo
   al borde inferior del card via position:absolute. Esto resuelve el problema de que
   en páginas llenas (10 filas) el contenido excedía levemente el wrapper y el scroll
   quedaba fuera del overflow:hidden del card. Su posición ahora es independiente del
   contenido y del nº de filas — siempre pegado al margen inferior. */
.reg-grid-inner[b-9cv6oq2gkb]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Forzar todos los anchos pixel-based del grid a 100% del card (fix horizontal cortado) */
.reg-grid-inner[b-9cv6oq2gkb]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-9cv6oq2gkb]  #DataGridLocal,
.reg-grid-inner[b-9cv6oq2gkb]  #DataGridLocal + div {
    width: 100% !important;
}

/* Scroll vertical: fondo continuo (sin gris bg-secondary, sin border-radius del track),
   pegado a la grilla (anular me-1) para que el marcador de posición no se vea cortado */
.reg-grid-inner[b-9cv6oq2gkb]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-9cv6oq2gkb]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-9cv6oq2gkb]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

/* Scroll horizontal: mismos ajustes estéticos que el vertical (sin border-radius, track sutil)
   + width 100% para que no exceda el card. Targetea el div root del ScrollHorizont, que es el
   único div directo dentro del wrapper sibling de #DataGridLocal. */
.reg-grid-inner[b-9cv6oq2gkb]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpCajaEgreso.razor.rz.scp.css */
/* ◆ JULI — NEW (2026-05-29): Estética glam del reporte Caja Egreso — clon scoped del CSS de SpCajaIngreso.
   CSS scoped por Blazor: estas reglas .reg-* solo aplican a elementos de este componente. */

.reg-wrap[b-86d5ribqmk] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-86d5ribqmk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-86d5ribqmk] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-86d5ribqmk] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-86d5ribqmk] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-86d5ribqmk] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-86d5ribqmk] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-86d5ribqmk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-86d5ribqmk] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-86d5ribqmk] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-86d5ribqmk] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-86d5ribqmk] {
    margin-left: auto;
}

/* ───── Menú Opciones (dropdown con check "View Voucher") ───── */
.reg-options[b-86d5ribqmk] { position: relative; }

.reg-options-btn[b-86d5ribqmk] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-86d5ribqmk],
.reg-options-btn.is-open[b-86d5ribqmk] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-86d5ribqmk] { font-size: .6rem; }

.reg-options-menu[b-86d5ribqmk] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-86d5ribqmk] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-86d5ribqmk] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-86d5ribqmk] { accent-color: #5F57BF; }

.reg-options-check.is-disabled[b-86d5ribqmk] {
    opacity: .45;
    cursor: not-allowed;
}

.reg-options-hint[b-86d5ribqmk] {
    font-size: .72rem;
    color: #8a91a3;
    font-style: italic;
    margin-top: .3rem;
    padding-left: 1.55rem;
}

/* Botones de icono (XLS / PDF) */
.reg-icon-btn[b-86d5ribqmk] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-86d5ribqmk] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-86d5ribqmk] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-86d5ribqmk]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-86d5ribqmk]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-86d5ribqmk]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-86d5ribqmk]  #DataGridLocal,
.reg-grid-inner[b-86d5ribqmk]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-86d5ribqmk]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-86d5ribqmk]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-86d5ribqmk]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-86d5ribqmk]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* ─────────────────── Modal Voucher (Ver Comprobante) ─────────────────── */
.sp-voucher-overlay[b-86d5ribqmk] {
    position: fixed;
    inset: 0;
    background: rgba(31, 35, 72, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1.5rem;
    overflow-y: auto;
}

.sp-voucher-card[b-86d5ribqmk] {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(31, 35, 72, .35);
    width: 100%;
    max-width: 780px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: sp-voucher-pop-b-86d5ribqmk .25s ease-out;
}

@keyframes sp-voucher-pop-b-86d5ribqmk {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.sp-voucher-close[b-86d5ribqmk] {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    z-index: 2;
}
.sp-voucher-close:hover[b-86d5ribqmk] { background: rgba(255, 255, 255, .45); }

/* Header con gradiente violeta */
.sp-voucher-header[b-86d5ribqmk] {
    background: linear-gradient(135deg, #5F57BF 0%, #8c84e0 100%);
    color: #fff;
    padding: 1.6rem 1.8rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.sp-voucher-logo[b-86d5ribqmk] {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.sp-voucher-center-name[b-86d5ribqmk] {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .15rem;
    letter-spacing: -.01em;
}
.sp-voucher-center-line[b-86d5ribqmk] {
    font-size: .8rem;
    opacity: .92;
    line-height: 1.35;
}

.sp-voucher-header-num[b-86d5ribqmk] { text-align: right; }
.sp-voucher-num[b-86d5ribqmk] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.sp-voucher-num-sub[b-86d5ribqmk] {
    font-size: .85rem;
    opacity: .92;
    margin-top: .1rem;
}
.sp-voucher-date[b-86d5ribqmk] {
    font-size: .78rem;
    opacity: .9;
    margin-top: .35rem;
}
.sp-voucher-date .oi[b-86d5ribqmk] { font-size: .7rem; margin-right: .2rem; }

/* Secciones del body */
.sp-voucher-section[b-86d5ribqmk] {
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid #f0f1f7;
}
.sp-voucher-section:last-of-type[b-86d5ribqmk] { border-bottom: none; }

.sp-voucher-section-title[b-86d5ribqmk] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5F57BF;
    margin-bottom: .7rem;
}

/* Grid de customer info (3 col × 2 fila) */
.sp-voucher-grid[b-86d5ribqmk] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem 1.4rem;
}
@media (max-width: 600px) {
    .sp-voucher-grid[b-86d5ribqmk] { grid-template-columns: repeat(2, 1fr); }
}

.sp-voucher-field[b-86d5ribqmk] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.sp-voucher-field label[b-86d5ribqmk] {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a91a3;
    margin: 0;
}
.sp-voucher-field span[b-86d5ribqmk] {
    font-size: .88rem;
    color: #2b2d42;
    font-weight: 500;
    word-break: break-word;
}

/* Payment method */
.sp-voucher-payment[b-86d5ribqmk] {
    font-size: .85rem;
    color: #3a3f4d;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 10px;
    padding: .65rem .85rem;
    line-height: 1.5;
}

/* Description items */
.sp-voucher-items[b-86d5ribqmk] {
    margin: 0;
    padding-left: 1.1rem;
    color: #3a3f4d;
    font-size: .85rem;
    line-height: 1.6;
}
.sp-voucher-items li[b-86d5ribqmk] { margin: .1rem 0; }

.sp-voucher-desc[b-86d5ribqmk] {
    margin-top: .5rem;
    font-size: .82rem;
    color: #5b6273;
    font-style: italic;
}

/* Total destacado */
.sp-voucher-total[b-86d5ribqmk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.8rem;
    background: linear-gradient(90deg, #f7f6fd 0%, #fff 100%);
    border-top: 2px solid #efeefb;
}
.sp-voucher-total-label[b-86d5ribqmk] {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5b6273;
}
.sp-voucher-total-value[b-86d5ribqmk] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5F57BF;
    letter-spacing: -.02em;
}

/* Actions footer */
.sp-voucher-actions[b-86d5ribqmk] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1.1rem 1.8rem;
    background: #fafbfe;
    border-top: 1px solid #ecedf4;
    border-radius: 0 0 20px 20px;
}
.sp-voucher-btn[b-86d5ribqmk] {
    border: none;
    border-radius: 10px;
    padding: .55rem 1.2rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.sp-voucher-btn-secondary[b-86d5ribqmk] {
    background: #fff;
    color: #5b6273;
    border: 1px solid #e3e6ef;
}
.sp-voucher-btn-secondary:hover[b-86d5ribqmk] {
    background: #f0f1f7;
    color: #2b2d42;
}
.sp-voucher-btn-primary[b-86d5ribqmk] {
    background: #5F57BF;
    color: #fff;
}
.sp-voucher-btn-primary:hover[b-86d5ribqmk] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

/* ─── @media print — al imprimir, oculta todo menos el card y deja un look limpio ─── */
@media print {
    .sp-voucher-overlay[b-86d5ribqmk] {
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        display: block !important;
    }
    .sp-voucher-card[b-86d5ribqmk] {
        box-shadow: none !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 0 !important;
        animation: none !important;
    }
    .sp-voucher-close[b-86d5ribqmk],
    .sp-voucher-actions[b-86d5ribqmk] { display: none !important; }
    .sp-voucher-header[b-86d5ribqmk] {
        background: #5F57BF !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 0 !important;
    }
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpCajaIngreso.razor.rz.scp.css */
/* Estética glam del reporte Caja Ingreso — clon scoped del CSS de SpCajaIngresoDetalle.
   CSS scoped por Blazor: estas reglas .reg-* solo aplican a elementos de este componente.
   Este reporte no tiene menú Opciones, así que .reg-options* quedaron fuera. */

.reg-wrap[b-3ze5oj8cr5] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-3ze5oj8cr5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-3ze5oj8cr5] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-3ze5oj8cr5] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-3ze5oj8cr5] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-3ze5oj8cr5] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-3ze5oj8cr5] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-3ze5oj8cr5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-3ze5oj8cr5] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-3ze5oj8cr5] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-3ze5oj8cr5] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-3ze5oj8cr5] {
    margin-left: auto;
}

/* ───── Menú Opciones (dropdown con check "View Voucher") ───── */
.reg-options[b-3ze5oj8cr5] { position: relative; }

.reg-options-btn[b-3ze5oj8cr5] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-3ze5oj8cr5],
.reg-options-btn.is-open[b-3ze5oj8cr5] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-3ze5oj8cr5] { font-size: .6rem; }

.reg-options-menu[b-3ze5oj8cr5] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-3ze5oj8cr5] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-3ze5oj8cr5] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-3ze5oj8cr5] { accent-color: #5F57BF; }

.reg-options-check.is-disabled[b-3ze5oj8cr5] {
    opacity: .45;
    cursor: not-allowed;
}

.reg-options-hint[b-3ze5oj8cr5] {
    font-size: .72rem;
    color: #8a91a3;
    font-style: italic;
    margin-top: .3rem;
    padding-left: 1.55rem;
}

/* Botones de icono (XLS / PDF) */
.reg-icon-btn[b-3ze5oj8cr5] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-3ze5oj8cr5] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-3ze5oj8cr5] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-3ze5oj8cr5]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-3ze5oj8cr5]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-3ze5oj8cr5]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-3ze5oj8cr5]  #DataGridLocal,
.reg-grid-inner[b-3ze5oj8cr5]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-3ze5oj8cr5]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-3ze5oj8cr5]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-3ze5oj8cr5]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-3ze5oj8cr5]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}

/* ─────────────────── Modal Voucher (Ver Comprobante) ─────────────────── */
.sp-voucher-overlay[b-3ze5oj8cr5] {
    position: fixed;
    inset: 0;
    background: rgba(31, 35, 72, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1.5rem;
    overflow-y: auto;
}

.sp-voucher-card[b-3ze5oj8cr5] {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(31, 35, 72, .35);
    width: 100%;
    max-width: 780px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: sp-voucher-pop-b-3ze5oj8cr5 .25s ease-out;
}

@keyframes sp-voucher-pop-b-3ze5oj8cr5 {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.sp-voucher-close[b-3ze5oj8cr5] {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    z-index: 2;
}
.sp-voucher-close:hover[b-3ze5oj8cr5] { background: rgba(255, 255, 255, .45); }

/* Header con gradiente violeta */
.sp-voucher-header[b-3ze5oj8cr5] {
    background: linear-gradient(135deg, #5F57BF 0%, #8c84e0 100%);
    color: #fff;
    padding: 1.6rem 1.8rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.sp-voucher-logo[b-3ze5oj8cr5] {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.sp-voucher-center-name[b-3ze5oj8cr5] {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .15rem;
    letter-spacing: -.01em;
}
.sp-voucher-center-line[b-3ze5oj8cr5] {
    font-size: .8rem;
    opacity: .92;
    line-height: 1.35;
}

.sp-voucher-header-num[b-3ze5oj8cr5] { text-align: right; }
.sp-voucher-num[b-3ze5oj8cr5] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.sp-voucher-num-sub[b-3ze5oj8cr5] {
    font-size: .85rem;
    opacity: .92;
    margin-top: .1rem;
}
.sp-voucher-date[b-3ze5oj8cr5] {
    font-size: .78rem;
    opacity: .9;
    margin-top: .35rem;
}
.sp-voucher-date .oi[b-3ze5oj8cr5] { font-size: .7rem; margin-right: .2rem; }

/* Secciones del body */
.sp-voucher-section[b-3ze5oj8cr5] {
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid #f0f1f7;
}
.sp-voucher-section:last-of-type[b-3ze5oj8cr5] { border-bottom: none; }

.sp-voucher-section-title[b-3ze5oj8cr5] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5F57BF;
    margin-bottom: .7rem;
}

/* Grid de customer info (3 col × 2 fila) */
.sp-voucher-grid[b-3ze5oj8cr5] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem 1.4rem;
}
@media (max-width: 600px) {
    .sp-voucher-grid[b-3ze5oj8cr5] { grid-template-columns: repeat(2, 1fr); }
}

.sp-voucher-field[b-3ze5oj8cr5] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.sp-voucher-field label[b-3ze5oj8cr5] {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a91a3;
    margin: 0;
}
.sp-voucher-field span[b-3ze5oj8cr5] {
    font-size: .88rem;
    color: #2b2d42;
    font-weight: 500;
    word-break: break-word;
}

/* Payment method */
.sp-voucher-payment[b-3ze5oj8cr5] {
    font-size: .85rem;
    color: #3a3f4d;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 10px;
    padding: .65rem .85rem;
    line-height: 1.5;
}

/* Description items */
.sp-voucher-items[b-3ze5oj8cr5] {
    margin: 0;
    padding-left: 1.1rem;
    color: #3a3f4d;
    font-size: .85rem;
    line-height: 1.6;
}
.sp-voucher-items li[b-3ze5oj8cr5] { margin: .1rem 0; }

.sp-voucher-desc[b-3ze5oj8cr5] {
    margin-top: .5rem;
    font-size: .82rem;
    color: #5b6273;
    font-style: italic;
}

/* Total destacado */
.sp-voucher-total[b-3ze5oj8cr5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.8rem;
    background: linear-gradient(90deg, #f7f6fd 0%, #fff 100%);
    border-top: 2px solid #efeefb;
}
.sp-voucher-total-label[b-3ze5oj8cr5] {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5b6273;
}
.sp-voucher-total-value[b-3ze5oj8cr5] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5F57BF;
    letter-spacing: -.02em;
}

/* Actions footer */
.sp-voucher-actions[b-3ze5oj8cr5] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1.1rem 1.8rem;
    background: #fafbfe;
    border-top: 1px solid #ecedf4;
    border-radius: 0 0 20px 20px;
}
.sp-voucher-btn[b-3ze5oj8cr5] {
    border: none;
    border-radius: 10px;
    padding: .55rem 1.2rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.sp-voucher-btn-secondary[b-3ze5oj8cr5] {
    background: #fff;
    color: #5b6273;
    border: 1px solid #e3e6ef;
}
.sp-voucher-btn-secondary:hover[b-3ze5oj8cr5] {
    background: #f0f1f7;
    color: #2b2d42;
}
.sp-voucher-btn-primary[b-3ze5oj8cr5] {
    background: #5F57BF;
    color: #fff;
}
.sp-voucher-btn-primary:hover[b-3ze5oj8cr5] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

/* ─── @media print — al imprimir, oculta todo menos el card y deja un look limpio ─── */
@media print {
    .sp-voucher-overlay[b-3ze5oj8cr5] {
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        display: block !important;
    }
    .sp-voucher-card[b-3ze5oj8cr5] {
        box-shadow: none !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 0 !important;
        animation: none !important;
    }
    .sp-voucher-close[b-3ze5oj8cr5],
    .sp-voucher-actions[b-3ze5oj8cr5] { display: none !important; }
    .sp-voucher-header[b-3ze5oj8cr5] {
        background: #5F57BF !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 0 !important;
    }
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpCajaIngresoDetalle.razor.rz.scp.css */
/* Estética glam del reporte Caja Ingreso Detalle — replicada de SpAlumnosFaltasReiteradas.
   CSS scoped por Blazor: estas reglas .reg-* solo aplican a elementos de este componente. */

.reg-wrap[b-0xypn4r0rb] {
    padding: 1.5rem 1.75rem 1.5rem;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---- Encabezado ---- */
.reg-header[b-0xypn4r0rb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-title[b-0xypn4r0rb] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-0xypn4r0rb] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-back[b-0xypn4r0rb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-0xypn4r0rb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Alerta de error ---- */
.reg-alert[b-0xypn4r0rb] {
    background: #fde4e6;
    color: #c1314a;
    border: 1px solid #f7c2c6;
    border-radius: 12px;
    padding: .55rem .9rem;
    font-size: .82rem;
    margin-bottom: .9rem;
}

/* ---- Toolbar ---- */
.reg-toolbar[b-0xypn4r0rb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.reg-toolbar-seeker[b-0xypn4r0rb] {
    flex: 2 1 220px;
    min-width: 180px;
}

.reg-toolbar-pager[b-0xypn4r0rb] {
    flex: 0 0 auto;
    min-width: 180px;
}

.reg-toolbar-filter[b-0xypn4r0rb] {
    flex: 1 1 220px;
    min-width: 200px;
}

.reg-toolbar-spacer[b-0xypn4r0rb] {
    margin-left: auto;
}

/* Botones de icono (XLS / PDF) */
.reg-icon-btn[b-0xypn4r0rb] {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.reg-icon-btn:hover[b-0xypn4r0rb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* Dropdown de Opciones */
.reg-options[b-0xypn4r0rb] {
    position: relative;
}

.reg-options-btn[b-0xypn4r0rb] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.reg-options-btn:hover[b-0xypn4r0rb],
.reg-options-btn.is-open[b-0xypn4r0rb] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.reg-options-btn .oi[b-0xypn4r0rb] {
    font-size: .6rem;
}

.reg-options-menu[b-0xypn4r0rb] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(31, 35, 72, .12);
    padding: .9rem 1rem;
    z-index: 1060;
}

.reg-options-title[b-0xypn4r0rb] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

.reg-options-check[b-0xypn4r0rb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .88rem;
    color: #3a3f4d;
    cursor: pointer;
    margin: 0;
}

.reg-options-check input[b-0xypn4r0rb] {
    accent-color: #5F57BF;
}

.reg-options-check.is-disabled[b-0xypn4r0rb] {
    opacity: .45;
    cursor: not-allowed;
}

/* ---- Card de grilla ---- */
.reg-grid-card[b-0xypn4r0rb] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    background: #fff;
    overflow: hidden;
    position: relative;
    height: 490px;
}

.reg-grid-inner[b-0xypn4r0rb]  #DataGridLocal table.table tr:first-child th:last-child {
    border-top-right-radius: 16px;
}

.reg-grid-inner[b-0xypn4r0rb]  #DataGridLocal + div {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.reg-grid-inner[b-0xypn4r0rb]  #TableGridLocal {
    width: 100% !important;
}
.reg-grid-inner[b-0xypn4r0rb]  #DataGridLocal,
.reg-grid-inner[b-0xypn4r0rb]  #DataGridLocal + div {
    width: 100% !important;
}

.reg-grid-inner[b-0xypn4r0rb]  #TableGridLocal td.bg-secondary {
    background: transparent !important;
}
.reg-grid-inner[b-0xypn4r0rb]  .scroll-v-wrap {
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
.reg-grid-inner[b-0xypn4r0rb]  #TableGridLocal .me-1 {
    margin-right: 0 !important;
}

.reg-grid-inner[b-0xypn4r0rb]  #DataGridLocal + div > div {
    width: 100% !important;
    border-radius: 0 !important;
    background-color: #f3f4fa !important;
}
/* /Pages/AppPages/_SchoolPlus/Reports/SpReports.razor.rz.scp.css */
/* Estética glam de SpReports — replicada de SpOptions/_Options.
   Para deshacer: borrar este archivo + restaurar el markup con las clases originales
   (alert alert-info / card-group / card m-2 shadow rounded-3 / btn btn-warning opacity-50). */

.opt-wrap[b-vpudl27wm9] {
    padding: 1.5rem 1.75rem 2rem;
}

.opt-header[b-vpudl27wm9] {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .25rem 0 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #ecedf4;
}

.opt-header > i[b-vpudl27wm9] {
    font-size: 1.6rem;
    color: #5F57BF;
}

.opt-title[b-vpudl27wm9] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b2d42;
    letter-spacing: -.01em;
}

.opt-cards[b-vpudl27wm9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

.opt-card[b-vpudl27wm9] {
    position: relative;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: 1.45rem 1.35rem 1.25rem;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.opt-card:hover[b-vpudl27wm9] {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(95, 87, 191, .15);
    border-color: #d8d4f0;
}

/* Barra superior de acento (gradiente violeta) */
.opt-card-accent[b-vpudl27wm9] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5F57BF 0%, #8c84e0 100%);
}

.opt-card-icon[b-vpudl27wm9] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #efeefb 0%, #e3e0fa 100%);
    color: #5F57BF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.opt-card-title[b-vpudl27wm9] {
    margin: 0 0 .55rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #2b2d42;
    letter-spacing: -.005em;
}

.opt-card-desc[b-vpudl27wm9] {
    margin: 0 0 1.25rem;
    font-size: .85rem;
    color: #6b7384;
    line-height: 1.5;
    flex: 1;
}

.opt-card-btn[b-vpudl27wm9] {
    align-self: flex-start;
    background: #5F57BF;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .52rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.opt-card-btn:hover[b-vpudl27wm9] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

.opt-card-btn:active[b-vpudl27wm9] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(95, 87, 191, .25);
}

.opt-card-btn i[b-vpudl27wm9] {
    font-size: .7rem;
    transition: transform .15s ease;
}

.opt-card:hover .opt-card-btn i[b-vpudl27wm9] {
    transform: translateX(3px);
}
/* /Pages/AppPages/_SchoolPlus/SpHome.razor.rz.scp.css */
/* ── SchoolPlus wrapper ── */
.sp-wrapper[b-81b90hla0i] {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background: #f4f6f9;
}

/* ── Sidebar ── */
.sp-sidebar[b-81b90hla0i] {
    width: 252px;
    min-width: 252px;
    /* ◆ DAVID: altura fija + scroll propio para que NUNCA se desplace verticalmente cuando un
       componente embebido (ej. MenuMembersEdit) scrollea su contenido. */
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    color: #455a64;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e4ea;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

/* ◆ DAVID: brand glam — tile con gradiente violeta + nombre dual tono. */
.sp-brand[b-81b90hla0i] {
    min-height: 68px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e8eaf0;
}

.sp-brand-logo[b-81b90hla0i] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(95, 87, 191, .28));
    transition: transform .18s ease, filter .18s ease;
}

.sp-brand:hover .sp-brand-logo[b-81b90hla0i] {
    transform: translateY(-1px) rotate(-2deg);
    filter: drop-shadow(0 4px 9px rgba(95, 87, 191, .42));
}

.sp-brand-name[b-81b90hla0i] {
    display: inline-flex;
    align-items: baseline;
    /* Serif editorial: Playfair Display ideal; fallback Georgia (Windows) / Times New Roman. */
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: 26px;
    line-height: 1;
    letter-spacing: .3px;
    font-feature-settings: "liga" 1, "kern" 1;
}

.sp-brand-school[b-81b90hla0i],
.sp-brand-plus[b-81b90hla0i] {
    color: #1a1a1a;
    font-weight: 600;
}

/* ── Impersonation context (Center / User) ── */
.sp-context[b-81b90hla0i] {
    padding: 14px 16px;
    border-bottom: 1px solid #e8eaf0;
}

.sp-context-card[b-81b90hla0i] {
    background: linear-gradient(135deg, #f5f4fc 0%, #ebe9f8 100%);
    border: 1px solid #ddd9f3;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(95, 87, 191, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.sp-context-row[b-81b90hla0i] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    min-width: 0;
}

.sp-context-row + .sp-context-row[b-81b90hla0i] {
    border-top: 1px dashed #d4d0ed;
    margin-top: 4px;
    padding-top: 8px;
}

/* ◆ DAVID (2026-06-08): fila clickeable (acceso a config del centro / usuarios según permisos). */
.sp-context-row.sp-clickable[b-81b90hla0i] {
    cursor: pointer;
    border-radius: 8px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    transition: background 0.15s ease;
}

    .sp-context-row.sp-clickable:hover[b-81b90hla0i] {
        background: rgba(95, 87, 191, 0.10);
    }

.sp-context-icon[b-81b90hla0i] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 87, 191, 0.14);
    border-radius: 50%;
    color: #5F57BF;
    font-size: 12px;
}

/* ◆ DAVID (2026-06-08): avatar de Centro/Usuario (foto Azure con ícono de fallback detrás). */
.sp-context-photo[b-81b90hla0i] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 87, 191, 0.14);
    border-radius: 50%;
    overflow: hidden;
    color: #5F57BF;
    font-size: 15px;
}

    .sp-context-photo img[b-81b90hla0i] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sp-context-text[b-81b90hla0i] {
    flex: 1 1 auto;
    min-width: 0;
}

.sp-context-label[b-81b90hla0i] {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #8a86b8;
    font-weight: 600;
    line-height: 1;
}

.sp-context-value[b-81b90hla0i] {
    font-size: 13px;
    color: #2d2860;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-nav[b-81b90hla0i] {
    padding: 10px 0;
    flex: 1;
}

.sp-nav-item[b-81b90hla0i] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    cursor: pointer;
    color: #5F57BF;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    user-select: none;
}

.sp-nav-item:hover[b-81b90hla0i] {
    background: #f3f2fb;
    color: #4a43a0;
}

.sp-nav-item.sp-active[b-81b90hla0i] {
    background: #efeefb;
    color: #4a43a0;
    border-left-color: #5F57BF;
    font-weight: 600;
}

.sp-nav-item i[b-81b90hla0i] {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #5F57BF;
}

.sp-nav-item.sp-active i[b-81b90hla0i],
.sp-nav-item:hover i[b-81b90hla0i] {
    color: #4a43a0;
}

/* ── Exit impersonation button ── */
.sp-exit-wrap[b-81b90hla0i] {
    padding: 14px 16px;
    border-top: 1px solid #e8eaf0;
}

.sp-exit-btn[b-81b90hla0i] {
    width: 100%;
    border: 1px solid #ddd9f3;
    background: linear-gradient(135deg, #f5f4fc 0%, #ebe9f8 100%);
    color: #5F57BF;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.sp-exit-btn:hover[b-81b90hla0i] {
    background: linear-gradient(135deg, #ebe9f8 0%, #ddd9f3 100%);
    color: #4a43a0;
    box-shadow: 0 2px 8px rgba(95, 87, 191, 0.18);
}

.sp-exit-btn:active[b-81b90hla0i] {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(95, 87, 191, 0.20);
}

.sp-exit-btn i[b-81b90hla0i] {
    font-size: 14px;
}

/* ── Main content area ── */
.sp-main[b-81b90hla0i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sp-content-header[b-81b90hla0i] {
    padding: 22px 30px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e8eaf0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.sp-content-header h4[b-81b90hla0i] {
    margin: 0;
    color: #1a2035;
    font-weight: 600;
    font-size: 17px;
}

.sp-content-body[b-81b90hla0i] {
    padding: 26px 30px;
    flex: 1;
}

/* ── Access denied ── */
.sp-denied[b-81b90hla0i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #607d8b;
    gap: 8px;
}

.sp-denied-icon[b-81b90hla0i] {
    font-size: 48px;
    color: #b0bec5;
    margin-bottom: 8px;
}
/* /Pages/AppPages/_SchoolPlus/_Grupos/ScrollVerticalGlam.razor.rz.scp.css */
/* DEVELOPERS DAVID — ScrollVerticalGlam: scroll-thumb estilo SchoolPlus (paleta violeta, track 6px). */

.svg-wrap[b-um54aimknl] {
    position: relative;
    width: 14px;
    height: 100%;   /* responsive: ocupa la altura del padre (gru-scroll-col) */
    cursor: pointer;
    user-select: none;
    flex: 1 1 auto;
}

.svg-track[b-um54aimknl] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    background: #ecedf4;
    border-radius: 3px;
}

.svg-progress[b-um54aimknl] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    background: linear-gradient(180deg, #5F57BF 0%, #4a43a0 100%);
    border-radius: 3px;
    opacity: .35;
    pointer-events: none;
    transition: height .08s ease;
}

.svg-thumb[b-um54aimknl] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 28px;
    background: linear-gradient(180deg, #5F57BF 0%, #4a43a0 100%);
    border-radius: 7px;
    cursor: grab;
    box-shadow: 0 2px 5px rgba(95, 87, 191, .4);
    transition: width .12s ease, box-shadow .12s ease;
}

.svg-wrap:hover .svg-thumb[b-um54aimknl] {
    width: 14px;
    box-shadow: 0 3px 8px rgba(95, 87, 191, .55);
}

.svg-dragging .svg-thumb[b-um54aimknl] {
    cursor: grabbing;
    width: 14px;
    box-shadow: 0 3px 8px rgba(95, 87, 191, .6);
}

.svg-tooltip[b-um54aimknl] {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c2a4a;
    color: #fff;
    padding: .25rem .55rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
    pointer-events: none;
}

.svg-tooltip[b-um54aimknl]::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #2c2a4a;
}
/* /Pages/AppPages/_SchoolPlus/_Grupos/SpGrupos.razor.rz.scp.css */
/* DEVELOPERS DAVID — SpGrupos master-detail (lista grupos + alumnos del seleccionado).
   Estética SchoolPlus violeta, prefijo gru-. */

.gru-wrap[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 1.2rem 1.2rem 1.2rem;
    gap: .8rem;
    background: #f6f5fb;
    overflow: hidden;
}

/* Host de pantalla completa para componentes externos embebidos (MenuMembersEdit, MenuSender):
   provee un viewport con scroll propio para que el contenido crezca libremente sin arrastrar al
   sidebar SchoolPlus. El sidebar queda fijo a la izquierda al hacer scroll dentro de este wrapper. */
.gru-fullpage-host[b-17b69a3epe] {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f4f6f9;
}

/* ---- Header ---- */
.gru-header[b-17b69a3epe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem 0 .6rem 0;
    border-bottom: 1px solid #ecedf4;
}

.gru-title[b-17b69a3epe] {
    margin: 0;
    color: #2c2a4a;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.gru-title .oi[b-17b69a3epe] {
    color: #5F57BF;
}

.gru-header-right[b-17b69a3epe] {
    display: flex;
    gap: .5rem;
}

.gru-tool-btn[b-17b69a3epe] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    border-radius: 10px;
    padding: .5rem 1rem;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
    transition: all .12s ease;
}

.gru-tool-btn:hover:not(:disabled)[b-17b69a3epe] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gru-tool-btn:disabled[b-17b69a3epe] {
    opacity: .4;
    cursor: not-allowed;
}

.gru-tool-primary[b-17b69a3epe] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gru-tool-primary:hover:not(:disabled)[b-17b69a3epe] {
    background: #4a43a0;
    border-color: #4a43a0;
    color: #fff;
}

/* ---- Filter bar ---- */
.gru-filter-bar[b-17b69a3epe] {
    display: flex;
    align-items: end;
    gap: .8rem;
    padding: .6rem .8rem;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    flex-wrap: wrap;
}

.gru-field[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 180px;
}

.gru-field-grow[b-17b69a3epe] {
    flex: 1 1 auto;
}

.gru-field > label[b-17b69a3epe] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c6a8a;
    font-weight: 600;
}

.gru-field input[b-17b69a3epe],
.gru-field select[b-17b69a3epe] {
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 10px;
    padding: .45rem .7rem;
    font-size: .9rem;
    color: #2c2a4a;
}

.gru-daterange[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.gru-daterange span[b-17b69a3epe] {
    color: #6c6a8a;
}

/* ---- Search input wrapper ---- */
.gru-search[b-17b69a3epe] {
    position: relative;
    display: flex;
    align-items: center;
}

.gru-search input[b-17b69a3epe] {
    flex: 1 1 auto;
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 10px;
    padding: .45rem 2rem .45rem .7rem;
    font-size: .9rem;
    color: #2c2a4a;
    width: 100%;
}

.gru-search-clear[b-17b69a3epe] {
    position: absolute;
    right: .35rem;
    background: transparent;
    border: 0;
    color: #8e8caa;
    padding: .2rem .35rem;
    border-radius: 6px;
    font-size: .75rem;
}

.gru-search-clear:hover[b-17b69a3epe] {
    background: #ecedf4;
    color: #2c2a4a;
}

/* ---- Split master-detail ---- */
.gru-split[b-17b69a3epe] {
    display: grid;
    /* +20% al ancho del master (antes 360..420 → ahora 432..504) */
    grid-template-columns: minmax(432px, 504px) 1fr;
    gap: .8rem;
    flex: 1 1 auto;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .gru-split[b-17b69a3epe] {
        grid-template-columns: 1fr;
    }
}

/* ---- Master (lista de grupos) ---- */
.gru-master[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    overflow: hidden;
}

.gru-master-header[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .6rem;
    background: #f3f2fb;
    border-bottom: 1px solid #ecedf4;
}

.gru-toolbar-spacer[b-17b69a3epe] {
    flex: 1 1 auto;
}

.gru-master-title[b-17b69a3epe] {
    font-weight: 700;
    color: #4a43a0;
    font-size: .85rem;
}

.gru-pager-mini[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #4a43a0;
    font-size: .8rem;
    font-weight: 600;
}

.gru-pager-btn[b-17b69a3epe] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}

.gru-pager-btn:hover:not(:disabled)[b-17b69a3epe] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gru-pager-btn:disabled[b-17b69a3epe] {
    opacity: .4;
    cursor: not-allowed;
}

/* Body del master: 2 cols (ScrollVertical + lista). Sin scroll nativo: el wheel cambia página. */
.gru-master-body[b-17b69a3epe] {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

.gru-scroll-col[b-17b69a3epe] {
    flex: 0 0 auto;
    width: 18px;
    padding: .35rem .25rem .35rem 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.gru-list[b-17b69a3epe] {
    flex: 1 1 auto;
    overflow: hidden;
    padding: .5rem .25rem .5rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.gru-grp-card[b-17b69a3epe] {
    background: #fff;
    border: 1px solid #ecedf4;
    border-left: 3px solid transparent;
    border-radius: 10px;
    padding: .5rem .75rem;
    cursor: pointer;
    transition: all .12s ease;
}

.gru-grp-card:hover[b-17b69a3epe] {
    border-color: #d6d4ea;
    background: #fbfafd;
}

.gru-grp-sel[b-17b69a3epe] {
    border-left-color: #5F57BF;
    background: #efeefb !important;
    box-shadow: 0 1px 3px rgba(95, 87, 191, .15);
}

.gru-grp-head[b-17b69a3epe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .15rem;
}

.gru-grp-name[b-17b69a3epe] {
    font-weight: 700;
    color: #2c2a4a;
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

/* Ajustes finos de tamaño según haya descripción, para homogeneizar alturas
   entre cards con/sin observación (y alentar el registro de la descripción). */
.gru-grp-name-sm[b-17b69a3epe] { font-size: .88rem; }
.gru-grp-name-lg[b-17b69a3epe] { font-size: 1.04rem; }

.gru-grp-count[b-17b69a3epe] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #4a43a0;
    font-weight: 600;
    font-size: .78rem;
    background: #f3f2fb;
    padding: .12rem .5rem;
    border-radius: 999px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.gru-grp-count .oi[b-17b69a3epe] {
    font-size: .72rem;
    color: #5F57BF;
}

.gru-grp-obs[b-17b69a3epe] {
    font-size: .78rem;
    color: #6c6a8a;
    margin-bottom: .4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gru-grp-meta[b-17b69a3epe],
.gru-grp-dates[b-17b69a3epe] {
    display: flex;
    gap: .9rem;
    font-size: .76rem;
    color: #4a43a0;
    align-items: center;
    flex-wrap: wrap;
}

.gru-grp-meta .oi[b-17b69a3epe],
.gru-grp-dates .oi[b-17b69a3epe] {
    font-size: .72rem;
    margin-right: .2rem;
    color: #5F57BF;
}

.gru-grp-dates[b-17b69a3epe] {
    color: #6c6a8a;
    margin-top: .15rem;
}

.gru-grp-arrow[b-17b69a3epe] {
    color: #a8a6c4;
    font-weight: 600;
}

/* ---- Detail (alumnos) ---- */
.gru-detail[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    overflow: hidden;
}

.gru-detail-header[b-17b69a3epe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    background: linear-gradient(180deg, #f3f2fb 0%, #fff 100%);
    border-bottom: 1px solid #ecedf4;
    gap: 1rem;
}

.gru-detail-title[b-17b69a3epe] {
    font-weight: 700;
    color: #2c2a4a;
    font-size: 1.05rem;
}

.gru-detail-sub[b-17b69a3epe] {
    font-size: .8rem;
    color: #6c6a8a;
}

.gru-detail-stats[b-17b69a3epe] {
    display: flex;
    gap: .8rem;
}

.gru-stat[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .35rem .9rem;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 10px;
    min-width: 75px;
}

.gru-stat b[b-17b69a3epe] {
    color: #4a43a0;
    font-size: .9rem;
}

.gru-stat span[b-17b69a3epe] {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8e8caa;
    margin-top: .15rem;
}

.gru-stu-toolbar[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .8rem;
    border-bottom: 1px solid #ecedf4;
    flex-wrap: wrap;
}

/* Bloque integrado de filtros del alumno (buscador + estado + pager) */
.gru-stu-filters[b-17b69a3epe] {
    display: flex;
    align-items: stretch;
    background: #f6f5fb;
    border: 1px solid #e6e4f3;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 320px;
    min-width: 240px;
}

.gru-stu-filters > *[b-17b69a3epe] {
    display: flex;
    align-items: center;
}

.gru-stu-filters .gru-search[b-17b69a3epe] {
    flex: 1 1 auto;
}

.gru-stu-filters .gru-search input[b-17b69a3epe] {
    border: none;
    border-radius: 0;
    background: transparent;
    height: 100%;
}

.gru-stu-filters .gru-stu-filter[b-17b69a3epe] {
    border-left: 1px solid #e6e4f3;
    padding: 0 .5rem;
    background: #fff;
}

.gru-stu-filters .gru-stu-filter select[b-17b69a3epe] {
    border: none;
    background: transparent;
    border-radius: 0;
    height: 100%;
    cursor: pointer;
    color: #4a43a0;
    font-weight: 600;
    font-size: .85rem;
}

.gru-stu-filters .gru-pager-mini[b-17b69a3epe] {
    border-left: 1px solid #e6e4f3;
    padding: 0 .4rem;
    background: #fff;
    font-size: .8rem;
    color: #4a43a0;
    font-weight: 600;
    gap: .25rem;
}

.gru-stu-filters .gru-pager-btn[b-17b69a3epe] {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
}

.gru-stu-filters .gru-pager-btn:hover:not(:disabled)[b-17b69a3epe] {
    background: #5F57BF;
    color: #fff;
    border-radius: 6px;
}

.gru-stu-toolbar .gru-search[b-17b69a3epe] {
    flex: 1 1 240px;
    min-width: 200px;
}

.gru-stu-filter[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: #4a43a0;
    font-weight: 600;
}

.gru-stu-filter select[b-17b69a3epe] {
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 8px;
    padding: .35rem .55rem;
    font-size: .85rem;
    color: #2c2a4a;
}

/* Botones de acción del alumno seleccionado en el toolbar (Edit / Send) */
.gru-stu-actbar[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.gru-icon-btn[b-17b69a3epe] {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gru-icon-btn .oi[b-17b69a3epe] {
    font-size: .85rem;
    margin: 0;
}

/* Body de alumnos: 2 cols (ScrollVertical + lista). Sin scroll nativo: el wheel cambia página. */
.gru-stu-body[b-17b69a3epe] {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

.gru-stu-list[b-17b69a3epe] {
    flex: 1 1 auto;
    overflow: hidden;
    padding: .5rem .25rem .5rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.gru-stu-card[b-17b69a3epe] {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid #ecedf4;
    border-left: 3px solid transparent;
    border-radius: 10px;
    padding: .55rem .8rem;
    cursor: pointer;
    transition: all .12s ease;
}

.gru-stu-card:hover[b-17b69a3epe] {
    border-color: #d6d4ea;
    background: #fbfafd;
}

.gru-stu-sel[b-17b69a3epe] {
    border-left-color: #5F57BF;
    background: #efeefb !important;
}

.gru-stu-avatar[b-17b69a3epe] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f3f2fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gru-stu-avatar img[b-17b69a3epe] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gru-stu-initial[b-17b69a3epe] {
    color: #5F57BF;
    font-weight: 700;
    font-size: 1rem;
}

.gru-stu-info[b-17b69a3epe] {
    flex: 1 1 auto;
    min-width: 0;
}

.gru-stu-name[b-17b69a3epe] {
    font-weight: 600;
    color: #2c2a4a;
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* El SQL trae NombreCompleto en LOWER(); capitalizamos la primera letra de cada palabra. */
    text-transform: capitalize;
}

.gru-stu-meta[b-17b69a3epe] {
    display: flex;
    gap: .8rem;
    font-size: .73rem;
    color: #6c6a8a;
    margin-top: .15rem;
    flex-wrap: wrap;
}

.gru-stu-meta .oi[b-17b69a3epe] {
    font-size: .68rem;
    margin-right: .2rem;
    color: #8e8caa;
}

.gru-stu-actions[b-17b69a3epe] {
    display: flex;
    gap: .35rem;
    flex: 0 0 auto;
}

.gru-row-btn[b-17b69a3epe] {
    background: transparent;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    transition: all .12s ease;
}

.gru-row-btn:hover[b-17b69a3epe] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

/* ---- Empty ---- */
.gru-empty[b-17b69a3epe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #8e8caa;
    padding: 2rem 1rem;
    font-size: .9rem;
    text-align: center;
}

.gru-empty .oi[b-17b69a3epe] {
    font-size: 2rem;
    opacity: .4;
}

.gru-empty-big[b-17b69a3epe] {
    flex: 1 1 auto;
    padding: 4rem 2rem;
    font-size: 1rem;
}

.gru-empty-big .oi[b-17b69a3epe] {
    font-size: 3rem;
}
/* /Pages/AppPages/_SchoolPlus/_Options/SpAlumnosRegistroAsistencia.razor.rz.scp.css */
/* DEVELOPERS IGNA — estética del registro de asistencia (SpAlumnosRegistroAsistencia) */

.reg-wrap[b-oie0u8zvxw] {
    padding: 1.5rem 1.75rem 2rem;
}

/* ---- Encabezado ---- */
.reg-header[b-oie0u8zvxw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.reg-title[b-oie0u8zvxw] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.reg-title .oi[b-oie0u8zvxw] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.reg-sub[b-oie0u8zvxw] {
    display: block;
    margin-top: .15rem;
    font-size: .82rem;
    font-weight: 500;
    color: #8a93a6;
}

.reg-back[b-oie0u8zvxw] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.reg-back:hover[b-oie0u8zvxw] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

/* ---- Toolbar de selectores ---- */
.reg-toolbar[b-oie0u8zvxw] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .85rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.reg-field[b-oie0u8zvxw] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.reg-field > label[b-oie0u8zvxw] {
    margin: 0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #9aa2b3;
}

.reg-field select[b-oie0u8zvxw],
.reg-field input[b-oie0u8zvxw] {
    border: 1px solid #e1e5ee;
    border-radius: 10px;
    padding: .42rem .65rem;
    font-size: .88rem;
    background: #fff;
    color: #3a3f4d;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.reg-field select:focus[b-oie0u8zvxw],
.reg-field input:focus[b-oie0u8zvxw] {
    outline: none;
    border-color: #5F57BF;
    box-shadow: 0 0 0 3px rgba(95,87,191,.12);
}

.reg-filter-slot[b-oie0u8zvxw] {
    margin-left: auto;
    align-self: flex-end;
}

/* ---- Tarjeta de la grilla ---- */
.reg-grid-card[b-oie0u8zvxw] {
    border: 1px solid #ecedf4;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(31,35,72,.05);
    overflow: hidden;
    background: #fff;
}

.reg-scroll[b-oie0u8zvxw] {
    overflow-x: auto;
}

.reg-table[b-oie0u8zvxw] {
    width: auto;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    font-size: .85rem;
    color: #3a3f4d;
}

.reg-table thead th[b-oie0u8zvxw] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fbfbfe;
    border-bottom: 2px solid #ecedf4;
    padding: .55rem .5rem;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;   /* Bootstrap Reboot pone th:inherit (izq); forzamos centrado */
}

/* La columna de nombre se mantiene alineada a la izquierda */
.reg-table th.reg-name-col[b-oie0u8zvxw] {
    text-align: left;
}

.reg-table tbody td[b-oie0u8zvxw] {
    padding: .5rem .6rem;
    border-bottom: 1px solid #f1f2f7;
}

.reg-table tbody tr:last-child td[b-oie0u8zvxw] {
    border-bottom: 0;
}

/* Columna nombre fija a la izquierda */
.reg-name-col[b-oie0u8zvxw] {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    min-width: 250px;
    font-weight: 500;
    color: #2b2d42;
    box-shadow: 1px 0 0 #ecedf4;
}

th.reg-name-col[b-oie0u8zvxw] {
    z-index: 4;
    background: #fbfbfe;
}

.reg-day[b-oie0u8zvxw] {
    font-weight: 700;
    color: #2b2d42;
    font-size: .95rem;
}

.reg-num[b-oie0u8zvxw] {
    font-size: .65rem;
    color: #aeb4c2;
    margin-top: -2px;
}

.reg-colbtns[b-oie0u8zvxw] {
    display: flex;
    justify-content: center;
    gap: .25rem;
    margin-top: .35rem;
}

.reg-mini[b-oie0u8zvxw] {
    width: 22px;
    height: 22px;
    line-height: 1;
    padding: 0;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Filas */
.reg-row:hover td[b-oie0u8zvxw] {
    background: #f6f7ff;
}

.reg-row:hover .reg-name-col[b-oie0u8zvxw] {
    background: #f6f7ff;
}

.reg-row-alerta .reg-name-col[b-oie0u8zvxw] { background: #fff8e6; }
.reg-row-libre  .reg-name-col[b-oie0u8zvxw] { background: #fdeef0; }
.reg-row-alerta:hover .reg-name-col[b-oie0u8zvxw] { background: #fdf2d6; }
.reg-row-libre:hover  .reg-name-col[b-oie0u8zvxw] { background: #fbe2e6; }

/* Celdas de marca */
.reg-cell[b-oie0u8zvxw] {
    text-align: center;
    cursor: pointer;
    min-width: 52px;
    user-select: none;
    transition: background .12s ease;
}

.reg-cell:hover[b-oie0u8zvxw] {
    background: #eef0ff;
}

.reg-chip[b-oie0u8zvxw] {
    display: inline-block;
    min-width: 28px;
    padding: .12rem .4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .02em;
}

.reg-chip-pre[b-oie0u8zvxw]    { background: #e4f7ec; color: #1c8a4b; }
.reg-chip-injus[b-oie0u8zvxw]  { background: #fde4e6; color: #c1314a; }
.reg-chip-jus[b-oie0u8zvxw]    { background: #fff1d6; color: #b07d12; }
.reg-chip-other[b-oie0u8zvxw]  { background: #e9ecf5; color: #5b6273; }

.reg-lock[b-oie0u8zvxw] {
    font-size: .58rem;
    color: #aab0bf;
    margin-left: 3px;
}

/* Badge de estado */
.reg-state-col[b-oie0u8zvxw] {
    text-align: center;
}

.reg-badge[b-oie0u8zvxw] {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.reg-badge-normal[b-oie0u8zvxw] { background: #e7f6ec; color: #1c7c43; }
.reg-badge-alerta[b-oie0u8zvxw] { background: #fff3cd; color: #9a7d0a; }
.reg-badge-libre[b-oie0u8zvxw]  { background: #f8d7da; color: #b02a37; }

/* Alta de fecha en encabezado de Estado */
.reg-addbox[b-oie0u8zvxw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    margin-bottom: .35rem;
}

.reg-addbox input[b-oie0u8zvxw] {
    border: 1px solid #e1e5ee;
    border-radius: 8px;
    padding: .25rem .4rem;
    font-size: .78rem;
    width: 135px;
}

/* Leyenda */
.reg-legend[b-oie0u8zvxw] {
    margin-top: 1rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: .8rem;
    color: #6b7384;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.reg-legend .reg-chip[b-oie0u8zvxw] { vertical-align: middle; }

/* Estados vacíos / prompts */
.reg-empty[b-oie0u8zvxw] {
    text-align: center;
    padding: 3rem 1rem;
    color: #9aa2b3;
}

.reg-empty .oi[b-oie0u8zvxw] {
    font-size: 2.4rem;
    color: #cbd0db;
    display: block;
    margin-bottom: .6rem;
}

.reg-empty.warn .oi[b-oie0u8zvxw]  { color: #e3b341; }
.reg-empty.error .oi[b-oie0u8zvxw] { color: #e36a72; }

/* ---- Nombre clickable (abre el popup de alertas) ---- */
.reg-name-click[b-oie0u8zvxw] {
    cursor: pointer;
    transition: color .12s ease;
}

.reg-name-click:hover[b-oie0u8zvxw] {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #5F57BF;
}

/* ---- Modal "Control de Alertas" ---- */
.reg-modal-backdrop[b-oie0u8zvxw] {
    position: fixed;
    inset: 0;
    background: rgba(28, 30, 50, .45);
    z-index: 1099;
}

.reg-modal[b-oie0u8zvxw] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 94vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(28, 30, 50, .25);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reg-modal-header[b-oie0u8zvxw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.2rem;
    border-bottom: 1px solid #ecedf4;
    background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
}

.reg-modal-title[b-oie0u8zvxw] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.reg-modal-title .oi[b-oie0u8zvxw] { color: #5F57BF; }
.reg-modal-name[b-oie0u8zvxw]      { color: #5F57BF; font-weight: 600; }

.reg-modal-x[b-oie0u8zvxw] {
    border: none;
    background: transparent;
    color: #8a93a6;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .12s, color .12s;
}

.reg-modal-x:hover[b-oie0u8zvxw] { background: #f1f2f7; color: #2b2d42; }

.reg-modal-body[b-oie0u8zvxw] {
    padding: 1.1rem 1.2rem;
    overflow-y: auto;
}

.reg-modal-footer[b-oie0u8zvxw] {
    padding: .7rem 1.2rem;
    border-top: 1px solid #ecedf4;
    text-align: right;
    background: #fafbfd;
}

.reg-modal-section + .reg-modal-section[b-oie0u8zvxw] { margin-top: 1.2rem; }

.reg-modal-section-title[b-oie0u8zvxw] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #5F57BF;
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px dashed #e3e5ee;
}

/* Contacto */
.reg-modal-contact[b-oie0u8zvxw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem .9rem;
    font-size: .85rem;
    color: #3a3f4d;
}

.reg-modal-label[b-oie0u8zvxw] {
    color: #8a93a6;
    font-size: .75rem;
    margin-right: .4rem;
}

/* Listado de faltas */
.reg-modal-faltas[b-oie0u8zvxw] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ecedf4;
    border-radius: 10px;
}

.reg-modal-table[b-oie0u8zvxw] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .82rem;
    color: #3a3f4d;
}

.reg-modal-table thead th[b-oie0u8zvxw] {
    position: sticky;
    top: 0;
    background: #fbfbfe;
    border-bottom: 1px solid #ecedf4;
    padding: .45rem .55rem;
    font-weight: 600;
    text-align: left;
    color: #5b6273;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.reg-modal-table tbody td[b-oie0u8zvxw] {
    padding: .4rem .55rem;
    border-bottom: 1px solid #f4f5fa;
    cursor: pointer;
}

.reg-modal-table tbody tr:last-child td[b-oie0u8zvxw] { border-bottom: 0; }
.reg-modal-table tbody tr:hover td[b-oie0u8zvxw]      { background: #f6f7ff; }

.reg-modal-row-sel td[b-oie0u8zvxw] {
    background: #efeefb !important;
    font-weight: 600;
}

.reg-modal-falta-edit[b-oie0u8zvxw] {
    margin-top: .7rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.reg-modal-check[b-oie0u8zvxw] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: #3a3f4d;
    cursor: pointer;
}

.reg-modal-label2[b-oie0u8zvxw] {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #9aa2b3;
    font-weight: 600;
    margin: 0;
}

.reg-modal-textarea[b-oie0u8zvxw] {
    border: 1px solid #e1e5ee;
    border-radius: 10px;
    padding: .5rem .65rem;
    font-size: .85rem;
    width: 100%;
    resize: vertical;
    background: #fff;
}

.reg-modal-textarea:focus[b-oie0u8zvxw] {
    outline: none;
    border-color: #5F57BF;
    box-shadow: 0 0 0 3px rgba(95,87,191,.12);
}

/* Estado y Configuración */
.reg-modal-state[b-oie0u8zvxw] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: .88rem;
    margin-bottom: .85rem;
}

.reg-modal-tol[b-oie0u8zvxw] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.reg-modal-tol-field[b-oie0u8zvxw] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.reg-modal-tol-field label[b-oie0u8zvxw] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #9aa2b3;
    margin: 0;
}

.reg-modal-tol-field input[b-oie0u8zvxw] {
    border: 1px solid #e1e5ee;
    border-radius: 10px;
    padding: .42rem .6rem;
    font-size: .9rem;
    background: #fff;
    color: #3a3f4d;
    text-align: center;
    font-weight: 600;
}

.reg-modal-tol-field input:focus[b-oie0u8zvxw] {
    outline: none;
    border-color: #5F57BF;
    box-shadow: 0 0 0 3px rgba(95,87,191,.12);
}

.reg-modal-empty[b-oie0u8zvxw] {
    text-align: center;
    color: #9aa2b3;
    padding: 1.2rem .5rem;
    font-style: italic;
    font-size: .85rem;
}
/* /Pages/AppPages/_SchoolPlus/_Options/SpGrid.razor.rz.scp.css */
/* DEVELOPERS IGNA — estética del Grid / Constructor de Horarios (SpGrid) — FASE 1 */

.grd-wrap[b-lpwp1xs9y7] {
    padding: 1.5rem 1.75rem 2rem;
}

/* ---- Encabezado ---- */
.grd-header[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.grd-title[b-lpwp1xs9y7] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: baseline;
    gap: .55rem;
    line-height: 1.1;
}

.grd-title .oi[b-lpwp1xs9y7] {
    color: #5F57BF;
    font-size: 1.3rem;
}

.grd-title-sub[b-lpwp1xs9y7] {
    font-size: .9rem;
    font-weight: 500;
    color: #8a93a6;
}

.grd-back[b-lpwp1xs9y7] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.grd-back:hover[b-lpwp1xs9y7] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.grd-alert[b-lpwp1xs9y7] {
    background: #fdecef;
    border: 1px solid #f5c2cb;
    color: #b02a4a;
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: .85rem;
    margin-bottom: 1rem;
}

/* ---- Toolbar (cadena de filtros) ---- */
.grd-toolbar[b-lpwp1xs9y7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .85rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
}

.grd-field[b-lpwp1xs9y7] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.grd-field > label[b-lpwp1xs9y7] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.grd-field select[b-lpwp1xs9y7] {
    min-width: 170px;
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .4rem .6rem;
    font-size: .9rem;
    background: #fff;
}

.grd-filter-slot[b-lpwp1xs9y7] {
    min-width: 220px;
    flex: 0 1 230px;
}

.grd-weeknav[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.grd-weeknav input[type=date][b-lpwp1xs9y7] {
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .4rem .5rem;
    font-size: .9rem;
}

.grd-weeknav button[b-lpwp1xs9y7] {
    border: 1px solid #d9ddea;
    background: #fff;
    border-radius: 8px;
    width: 30px;
    height: 32px;
    color: #5F57BF;
}

.grd-weeknav button:hover[b-lpwp1xs9y7] {
    background: #efeefb;
}

.grd-toolbar-spacer[b-lpwp1xs9y7] {
    flex: 1 1 auto;
}

.grd-tool-btn[b-lpwp1xs9y7] {
    border: 1px solid #5F57BF;
    background: #fff;
    color: #4a43a0;
    border-radius: 10px;
    padding: .5rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
    transition: all .12s ease;
}

.grd-tool-btn:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #5F57BF;
    color: #fff;
}

.grd-tool-btn:disabled[b-lpwp1xs9y7] {
    opacity: .4;
    cursor: not-allowed;
}

.grd-tool-primary[b-lpwp1xs9y7] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.grd-tool-primary:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #4a43a0;
    color: #fff;
}

.grd-tool-danger[b-lpwp1xs9y7] {
    color: #c0392b;
    border-color: #f3d3cf;
}

.grd-tool-danger:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

.grd-btn-danger[b-lpwp1xs9y7] {
    background: #c0392b;
    border-color: #c0392b;
}

.grd-btn-danger:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #a23222;
    border-color: #a23222;
}

.grd-delete-name[b-lpwp1xs9y7] {
    font-weight: 600;
    color: #2c2a4a;
    font-size: 1rem;
    margin-bottom: .75rem;
    padding: .5rem .7rem;
    background: #f3f2fb;
    border-radius: 8px;
    border-left: 3px solid #5F57BF;
}

.grd-delete-warn[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #6b3a06;
    background: #fff7e6;
    border: 1px solid #ffe0a8;
    border-radius: 8px;
    padding: .6rem .8rem;
    font-size: .9rem;
}

.grd-delete-warn .oi[b-lpwp1xs9y7] {
    color: #d97c1a;
}

.grd-delete-block[b-lpwp1xs9y7] {
    color: #6b1410;
    background: #fdecea;
    border: 1px solid #f3c2bd;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .9rem;
}

.grd-delete-block ul[b-lpwp1xs9y7] {
    margin: .4rem 0 0 1rem;
    padding: 0;
}

.grd-delete-block li[b-lpwp1xs9y7] {
    margin-bottom: .15rem;
}

/* ---- Datos del grupo ---- */
.grd-info[b-lpwp1xs9y7] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    padding: .8rem 1.1rem;
    margin-bottom: 1rem;
}

.grd-info-item[b-lpwp1xs9y7] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.grd-info-item span[b-lpwp1xs9y7] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.grd-info-item b[b-lpwp1xs9y7] {
    font-size: .9rem;
    color: #2b2d42;
}

.grd-color-dot[b-lpwp1xs9y7] {
    display: inline-block;
    width: 22px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #d9ddea;
}

/* ---- Calendario semanal (solo lectura) ---- */
.grd-cal-card[b-lpwp1xs9y7] {
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(40, 42, 70, .04);
    overflow: hidden;
}

.grd-cal-weekhead[b-lpwp1xs9y7] {
    padding: .7rem 1rem;
    border-bottom: 1px solid #eef0f6;
    font-weight: 600;
    color: #4a43a0;
    font-size: .9rem;
}

.grd-cal[b-lpwp1xs9y7] {
    display: flex;
    overflow-x: auto;
}

.grd-cal-hours[b-lpwp1xs9y7] {
    flex: 0 0 56px;
    border-right: 1px solid #eef0f6;
}

.grd-cal-hour[b-lpwp1xs9y7] {
    font-size: .7rem;
    color: #8a93a6;
    text-align: right;
    padding-right: .4rem;
    border-top: 1px dashed #f0f1f6;
    box-sizing: border-box;
}

.grd-cal-day[b-lpwp1xs9y7] {
    flex: 1 1 0;
    min-width: 120px;
    border-right: 1px solid #f0f1f6;
}

.grd-cal-dayhead[b-lpwp1xs9y7] {
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eef0f6;
    font-weight: 700;
    color: #2b2d42;
    font-size: .82rem;
    background: #fafbff;
}

.grd-cal-dayhead small[b-lpwp1xs9y7] {
    font-weight: 500;
    color: #9aa0b3;
    font-size: .68rem;
}

.grd-cal-daybody[b-lpwp1xs9y7] {
    position: relative;
    background:
        repeating-linear-gradient(to bottom, transparent, transparent 43px, #f4f5fa 43px, #f4f5fa 44px);
}

/* Feriado (vista de solo lectura): columna sombreada + badge. */
.grd-day-fer .grd-cal-daybody[b-lpwp1xs9y7] {
    background: repeating-linear-gradient(45deg, rgba(192,42,74,.07), rgba(192,42,74,.07) 8px, rgba(192,42,74,.13) 8px, rgba(192,42,74,.13) 16px);
}
.grd-day-fer .grd-cal-dayhead[b-lpwp1xs9y7] { background: #fdecef; color: #b02a4a; }
.grd-fer-badge[b-lpwp1xs9y7] {
    margin-top: 2px;
    font-size: .6rem;
    font-weight: 700;
    color: #b02a4a;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grd-fer-badge .oi[b-lpwp1xs9y7] { font-size: .58rem; }

.grd-class[b-lpwp1xs9y7] {
    position: absolute;
    left: 3px;
    right: 3px;
    border-radius: 6px;
    padding: .2rem .35rem;
    overflow: hidden;
    font-size: .72rem;
    box-shadow: 0 1px 3px rgba(40, 42, 70, .08);
}

.grd-class-mat[b-lpwp1xs9y7] {
    font-weight: 700;
    color: #2b2d42;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grd-class-meta[b-lpwp1xs9y7] {
    color: #5b6273;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grd-empty[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #8a93a6;
    font-size: .9rem;
    padding: 3rem 1rem;
}

.grd-empty .oi[b-lpwp1xs9y7] {
    color: #b9bed0;
}

/* ---- Modales ---- */
.grd-modal-backdrop[b-lpwp1xs9y7] {
    position: fixed;
    inset: 0;
    background: rgba(30, 32, 55, .45);
    z-index: 1040;
}

.grd-modal[b-lpwp1xs9y7] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, 94vw);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(20, 22, 45, .3);
    z-index: 1050;
}

.grd-modal-wide[b-lpwp1xs9y7] {
    width: min(760px, 96vw);
}

.grd-modal-header[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eef0f6;
    position: sticky;
    top: 0;
    background: #fff;
}

.grd-modal-header h5[b-lpwp1xs9y7] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.grd-modal-header .oi[b-lpwp1xs9y7] {
    color: #5F57BF;
}

.grd-modal-x[b-lpwp1xs9y7] {
    border: none;
    background: transparent;
    color: #8a93a6;
    font-size: 1rem;
}

.grd-modal-body[b-lpwp1xs9y7] {
    padding: 1rem 1.2rem;
}

.grd-modal-footer[b-lpwp1xs9y7] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: .8rem 1.2rem 1rem;
    border-top: 1px solid #eef0f6;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.grd-btn-cancel[b-lpwp1xs9y7] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-weight: 600;
    font-size: .88rem;
}

.grd-btn-cancel:hover[b-lpwp1xs9y7] {
    background: #f3f4f8;
}

.grd-btn-ok[b-lpwp1xs9y7] {
    border: none;
    background: #5F57BF;
    color: #fff;
    border-radius: 10px;
    padding: .5rem 1.3rem;
    font-weight: 700;
    font-size: .88rem;
}

.grd-btn-ok:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #4a43a0;
}

.grd-btn-ok:disabled[b-lpwp1xs9y7] {
    opacity: .45;
    cursor: not-allowed;
}

/* Materias-Docentes */
.grd-md-lists[b-lpwp1xs9y7] {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .8rem;
}

.grd-md-col[b-lpwp1xs9y7] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.grd-md-col label[b-lpwp1xs9y7] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8a93a6;
}

.grd-md-col select[b-lpwp1xs9y7] {
    width: 100%;
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .3rem;
    font-size: .85rem;
}

.grd-md-btns[b-lpwp1xs9y7] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.grd-md-btns button[b-lpwp1xs9y7] {
    border: 1px solid #5F57BF;
    background: #efeefb;
    color: #4a43a0;
    border-radius: 8px;
    width: 38px;
    height: 32px;
    font-weight: 700;
}

.grd-md-btns button:hover:not(:disabled)[b-lpwp1xs9y7] {
    background: #5F57BF;
    color: #fff;
}

.grd-md-btns button:disabled[b-lpwp1xs9y7] {
    opacity: .4;
    cursor: not-allowed;
}

/* Formulario de grupo */
.grd-form-grid[b-lpwp1xs9y7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1rem;
}

.grd-param[b-lpwp1xs9y7] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.grd-param-wide[b-lpwp1xs9y7] {
    grid-column: 1 / -1;
}

.grd-param label[b-lpwp1xs9y7] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.grd-param input[b-lpwp1xs9y7],
.grd-param select[b-lpwp1xs9y7],
.grd-param textarea[b-lpwp1xs9y7] {
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .42rem .6rem;
    font-size: .9rem;
    background: #fff;
    width: 100%;
}

.grd-param input[type=color][b-lpwp1xs9y7] {
    padding: .15rem;
    height: 38px;
}

/* Nombre compuesto (solo lectura) */
.grd-name-box[b-lpwp1xs9y7] {
    border: 1px dashed #c7c2ec;
    background: #f3f2fb;
    color: #4a43a0;
    border-radius: 10px;
    padding: .42rem .6rem;
    font-size: .95rem;
    font-weight: 700;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.grd-name-hint[b-lpwp1xs9y7] {
    font-weight: 500;
    text-transform: none;
    color: #9aa0b3;
    letter-spacing: 0;
}

/* Bloque "código del grupo" — agrupa los campos que componen el nombre */
.grd-namegroup[b-lpwp1xs9y7] {
    border: 1px solid #d8d4f0;
    border-left: 4px solid #5F57BF;
    border-radius: 14px;
    padding: .9rem 1rem 1rem;
    margin: 0;
    background: linear-gradient(180deg, #faf9ff 0%, #ffffff 60%);
}

.grd-namegroup > legend[b-lpwp1xs9y7] {
    float: none;
    width: auto;
    margin: 0 0 .4rem;
    padding: .1rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #4a43a0;
    background: #efeefb;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.grd-namegroup > legend .oi[b-lpwp1xs9y7] {
    font-size: .8rem;
}

/* la fila del nombre dentro del bloque ocupa todo el ancho y se separa con una línea superior */
.grd-name-row[b-lpwp1xs9y7] {
    border-top: 1px dashed #d8d4f0;
    padding-top: .6rem;
    margin-top: .2rem;
}

.grd-name-count[b-lpwp1xs9y7] {
    float: right;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #9aa0b3;
    font-size: .72rem;
}

.grd-name-over[b-lpwp1xs9y7] {
    color: #b02a4a;
}

.grd-param input:disabled[b-lpwp1xs9y7],
.grd-param select:disabled[b-lpwp1xs9y7] {
    background: #f1f2f6;
    color: #9aa0b3;
    cursor: not-allowed;
}
/* /Pages/AppPages/_SchoolPlus/_Options/SpGridEditor.razor.rz.scp.css */
/* DEVELOPERS IGNA — editor de estructura de clases (SpGridEditor, Grid Fase 2a) */

.gre-overlay[b-a24cahxdu5] {
    position: fixed;
    inset: 0;
    background: rgba(30, 32, 55, .5);
    z-index: 1060;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 1.2rem;
}

.gre-panel[b-a24cahxdu5] {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(20, 22, 45, .35);
    width: min(1180px, 98vw);
    padding: 1.1rem 1.25rem 1.4rem;
    position: relative;
}

.gre-header[b-a24cahxdu5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.gre-title[b-a24cahxdu5] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.gre-title .oi[b-a24cahxdu5] { color: #5F57BF; }
.gre-grp[b-a24cahxdu5] { color: #4a43a0; }

.gre-back[b-a24cahxdu5] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
}

.gre-back:hover[b-a24cahxdu5] { background: #5F57BF; border-color: #5F57BF; color: #fff; }

/* Guardar (commit transaccional del TMP a las tablas reales). */
.gre-save[b-a24cahxdu5] {
    border: none;
    background: #1e7e34;
    color: #fff;
    border-radius: 10px;
    padding: .45rem 1rem;
    font-weight: 700;
    font-size: .85rem;
    margin-right: .4rem;
}
.gre-save:hover:not(:disabled)[b-a24cahxdu5] { background: #19682b; }
.gre-save:disabled[b-a24cahxdu5] { opacity: .45; cursor: not-allowed; }

.gre-alert[b-a24cahxdu5] {
    background: #fdecef;
    border: 1px solid #f5c2cb;
    color: #b02a4a;
    border-radius: 12px;
    padding: .6rem .9rem;
    font-size: .85rem;
    margin-bottom: .8rem;
}

.gre-toolbar[b-a24cahxdu5] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .85rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    padding: .8rem 1rem;
    margin-bottom: 1rem;
}

.gre-field[b-a24cahxdu5] { display: flex; flex-direction: column; gap: .25rem; }

.gre-field > label[b-a24cahxdu5] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.gre-field select[b-a24cahxdu5], .gre-weeknav input[type=date][b-a24cahxdu5] {
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .4rem .6rem;
    font-size: .9rem;
    background: #fff;
    min-width: 160px;
}

.gre-weeknav[b-a24cahxdu5] { display: flex; align-items: center; gap: .25rem; }
.gre-weeknav input[type=date][b-a24cahxdu5] { min-width: 140px; }

.gre-weeknav button[b-a24cahxdu5] {
    border: 1px solid #d9ddea;
    background: #fff;
    border-radius: 8px;
    width: 30px; height: 32px;
    color: #5F57BF;
}

.gre-weeknav button:hover:not(:disabled)[b-a24cahxdu5] { background: #efeefb; }
.gre-weeknav button:disabled[b-a24cahxdu5] { opacity: .4; cursor: not-allowed; }

/* Buscador de proyección: mismo estilo que la nav de semana, acentuado en verde para distinguirlo. */
.gre-projnav button[b-a24cahxdu5] { color: #1e7e34; border-color: #cfe6d6; }
.gre-projnav button:hover:not(:disabled)[b-a24cahxdu5] { background: #e9f6ee; }

.gre-toolbar-spacer[b-a24cahxdu5] { flex: 1 1 auto; }

.gre-add-btn[b-a24cahxdu5] {
    border: none;
    background: #5F57BF;
    color: #fff;
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-weight: 700;
    font-size: .85rem;
}

.gre-add-btn:hover:not(:disabled)[b-a24cahxdu5] { background: #4a43a0; }
.gre-add-btn:disabled[b-a24cahxdu5] { opacity: .45; cursor: not-allowed; }

.gre-proj-btn[b-a24cahxdu5] {
    border: 1px solid #1f8f4e;
    background: #eaf7ef;
    color: #1f8f4e;
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-weight: 700;
    font-size: .85rem;
}

.gre-proj-btn:hover:not(:disabled)[b-a24cahxdu5] { background: #1f8f4e; color: #fff; }
.gre-proj-btn:disabled[b-a24cahxdu5] { opacity: .45; cursor: not-allowed; }

.gre-proj-calc[b-a24cahxdu5] { display: flex; align-items: center; gap: .8rem; margin-top: .7rem; }
.gre-proj-totals[b-a24cahxdu5] { font-size: .85rem; color: #2b2d42; }
.gre-proj-totals b[b-a24cahxdu5] { color: #4a43a0; }

.gre-coll[b-a24cahxdu5] {
    margin-top: .8rem;
    border: 1px solid #f5c2cb;
    background: #fdecef;
    border-radius: 10px;
    padding: .6rem .8rem;
}

.gre-coll-title[b-a24cahxdu5] {
    display: flex; align-items: center; gap: .4rem;
    color: #b02a4a; font-weight: 700; font-size: .82rem; margin-bottom: .35rem;
}

.gre-coll-list[b-a24cahxdu5] { max-height: 160px; overflow: auto; }
.gre-coll-item[b-a24cahxdu5] { font-size: .78rem; color: #7a2233; padding: .15rem 0; border-top: 1px dashed #f5c2cb; }

/* calendario */
.gre-cal[b-a24cahxdu5] {
    display: flex;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    overflow: hidden;
}

.gre-hours[b-a24cahxdu5] { flex: 0 0 56px; border-right: 1px solid #eef0f6; }

.gre-hour[b-a24cahxdu5] {
    font-size: .7rem;
    color: #8a93a6;
    text-align: right;
    padding-right: .35rem;
    border-top: 1px dashed #eef0f4;
    box-sizing: border-box;
}

.gre-day[b-a24cahxdu5] { flex: 1 1 0; min-width: 110px; border-right: 1px solid #f0f1f6; }
.gre-day:last-child[b-a24cahxdu5] { border-right: none; }

.gre-dayhead[b-a24cahxdu5] {
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eef0f6;
    font-weight: 700;
    color: #2b2d42;
    font-size: .8rem;
    background: #fafbff;
}

.gre-dayhead small[b-a24cahxdu5] { font-weight: 500; color: #9aa0b3; font-size: .66rem; }

.gre-daybody[b-a24cahxdu5] {
    position: relative;
    cursor: copy;
    background: repeating-linear-gradient(to bottom, transparent, transparent 45px, #f4f5fa 45px, #f4f5fa 46px);
}

/* Feriado: columna sombreada (no se proyecta) + badge en el encabezado. */
.gre-day-fer .gre-daybody[b-a24cahxdu5] {
    background:
        repeating-linear-gradient(45deg, rgba(192,42,74,.07), rgba(192,42,74,.07) 8px, rgba(192,42,74,.13) 8px, rgba(192,42,74,.13) 16px);
    cursor: not-allowed;
}
.gre-day-fer .gre-dayhead[b-a24cahxdu5] { background: #fdecef; color: #b02a4a; }
.gre-fer-badge[b-a24cahxdu5] {
    margin-top: 2px;
    font-size: .6rem;
    font-weight: 700;
    color: #b02a4a;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gre-fer-badge .oi[b-a24cahxdu5] { font-size: .58rem; }

.gre-class[b-a24cahxdu5] {
    position: absolute;
    left: 3px;
    right: 3px;
    min-height: 16px;
    border-radius: 7px;
    padding: .2rem .35rem;
    overflow: hidden;
    font-size: .72rem;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(40, 42, 70, .12);
    touch-action: none;
    user-select: none;
}

/* tooltip de horario en vivo durante drag/resize */
.gre-droptip[b-a24cahxdu5] {
    position: fixed;
    z-index: 2000;
    background: #2b2d42;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: .25rem .5rem;
    border-radius: 7px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(20, 22, 45, .35);
    white-space: nowrap;
    display: none;
}

.gre-class.gre-dragging[b-a24cahxdu5] { cursor: grabbing; opacity: .85; box-shadow: 0 6px 16px rgba(40, 42, 70, .25); }
.gre-class.gre-locked[b-a24cahxdu5] { cursor: not-allowed; opacity: .8; }

/* Modo edición (provisional): relleno blanco + borde punteado (no proyectada). */
.gre-class.gre-prov[b-a24cahxdu5] {
    background: #fff !important;
    border: 2px dashed #5F57BF !important;
}

.gre-header-right[b-a24cahxdu5] { display: flex; align-items: center; gap: .6rem; }

.gre-bell[b-a24cahxdu5] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 10px;
    padding: .35rem .6rem;
    font-weight: 700;
    font-size: .82rem;
    cursor: help;
}

/* 🔴 Rojo (prioridad): faltan materias → no se puede proyectar. */
.gre-bell-red[b-a24cahxdu5] { background: #fdecef; color: #b02a4a; border: 1px solid #f5c2cb; }
.gre-bell-red .oi[b-a24cahxdu5] { color: #b02a4a; }

/* 🟠 Naranja: hay clases sin proyectar (aviso, no bloquea). */
.gre-bell-orange[b-a24cahxdu5] { background: #fff4e5; color: #9a5b00; border: 1px solid #f6d39a; }
.gre-bell-orange .oi[b-a24cahxdu5] { color: #c9760a; }

/* Switch "asignar solo esta clase" en el modal de docente. */
.gre-doc-switch[b-a24cahxdu5] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: #2b2d42;
    cursor: pointer;
}
.gre-doc-switch input[b-a24cahxdu5] { width: 18px; height: 18px; cursor: pointer; }
.gre-doc-switch small[b-a24cahxdu5] { font-weight: 400; color: #9aa0b3; font-size: .72rem; }

/* Bloqueo de edición (otra sesión editando el grupo). */
.gre-locked[b-a24cahxdu5] {
    display: flex; align-items: center; gap: .9rem;
    background: #fdecef; border: 1px solid #f5c2cb; color: #8a2433;
    border-radius: 12px; padding: 1rem 1.2rem; margin: .5rem 0 1rem;
    font-size: .92rem;
}
.gre-locked .oi[b-a24cahxdu5] { font-size: 1.8rem; color: #b02a4a; }
.gre-locked-title[b-a24cahxdu5] { font-weight: 800; font-size: 1.02rem; margin-bottom: .15rem; }
.gre-locked-hint[b-a24cahxdu5] { color: #9a5b66; font-size: .82rem; margin-top: .2rem; }

.gre-prov-note[b-a24cahxdu5] {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: #f3f2fb;
    border: 1px solid #e0ddf3;
    color: #4a43a0;
    border-radius: 10px;
    padding: .5rem .8rem;
    font-size: .8rem;
    margin-bottom: .9rem;
}

.gre-prov-note .oi[b-a24cahxdu5] { color: #5F57BF; }

.gre-class-mat[b-a24cahxdu5] {
    font-weight: 700;
    color: #2b2d42;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gre-class-meta[b-a24cahxdu5] { color: #5b6273; }
/* Línea-botón del docente (clickeable, visible) */
.gre-doc-line[b-a24cahxdu5] {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    max-width: calc(100% - 6px);
    font-size: .7rem;
    font-weight: 700;
    color: #4a43a0;
    background: #efeefb;
    border: 1px solid #d8d4f0;
    border-radius: 6px;
    padding: .08rem .3rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.gre-doc-line .oi[b-a24cahxdu5] { font-size: .68rem; }
.gre-doc-line span[b-a24cahxdu5] { overflow: hidden; text-overflow: ellipsis; }
.gre-doc-line:hover[b-a24cahxdu5] { background: #5F57BF; color: #fff; border-color: #5F57BF; }
.gre-doc-empty[b-a24cahxdu5] { color: #8a93a6; background: #fff; border-style: dashed; font-weight: 500; }

.gre-del[b-a24cahxdu5] {
    position: absolute;
    top: 1px;
    right: 2px;
    border: none;
    background: transparent;
    color: #b02a4a;
    font-weight: 700;
    font-size: .85rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .15rem;
}

.gre-del:hover[b-a24cahxdu5] { color: #fff; background: #b02a4a; border-radius: 4px; }

.gre-resize[b-a24cahxdu5] {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 8px;
    cursor: ns-resize;
    background: linear-gradient(to bottom, transparent, rgba(95, 87, 191, .25));
}

.gre-lockico[b-a24cahxdu5] { position: absolute; bottom: 2px; right: 3px; color: #8a93a6; font-size: .7rem; }
.gre-editico[b-a24cahxdu5] { position: absolute; top: 3px; right: 4px; color: #5F57BF; font-size: .68rem; opacity: .7; }
.gre-class:not(.gre-prov):not(.gre-locked)[b-a24cahxdu5] { cursor: pointer; }

.gre-legend[b-a24cahxdu5] {
    margin-top: .6rem;
    font-size: .78rem;
    color: #8a93a6;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.gre-legend .oi[b-a24cahxdu5] { color: #5F57BF; }

.gre-empty[b-a24cahxdu5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #8a93a6;
    font-size: .9rem;
    padding: 3rem 1rem;
}

.gre-empty .oi[b-a24cahxdu5] { color: #b9bed0; }

/* modal agregar */
.gre-modal-backdrop[b-a24cahxdu5] { position: fixed; inset: 0; background: rgba(30, 32, 55, .45); z-index: 1070; }

.gre-modal[b-a24cahxdu5] {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(20, 22, 45, .35);
    z-index: 1080;
}

.gre-modal-header[b-a24cahxdu5] {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 1.1rem; border-bottom: 1px solid #eef0f6;
}

.gre-modal-header h5[b-a24cahxdu5] { margin: 0; font-size: 1.05rem; font-weight: 700; color: #2b2d42; display: flex; align-items: center; gap: .5rem; }
.gre-modal-header .oi[b-a24cahxdu5] { color: #5F57BF; }
.gre-modal-x[b-a24cahxdu5] { border: none; background: transparent; color: #8a93a6; }

.gre-modal-body[b-a24cahxdu5] { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; }

.gre-param[b-a24cahxdu5] { display: flex; flex-direction: column; gap: .25rem; }
.gre-param-row[b-a24cahxdu5] { display: flex; gap: .7rem; }
.gre-param-row > .gre-param[b-a24cahxdu5] { flex: 1 1 0; }

.gre-param label[b-a24cahxdu5] { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #8a93a6; }

.gre-param select[b-a24cahxdu5], .gre-param input[b-a24cahxdu5] {
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .42rem .6rem;
    font-size: .9rem;
    background: #fff;
    width: 100%;
}

.gre-modal-footer[b-a24cahxdu5] {
    display: flex; justify-content: flex-end; gap: .6rem;
    padding: .8rem 1.1rem 1rem; border-top: 1px solid #eef0f6;
}

.gre-btn-cancel[b-a24cahxdu5] {
    border: 1px solid #e3e6ef; background: #fff; color: #5b6273;
    border-radius: 10px; padding: .5rem 1.1rem; font-weight: 600; font-size: .88rem;
}

.gre-btn-cancel:hover[b-a24cahxdu5] { background: #f3f4f8; }

.gre-btn-ok[b-a24cahxdu5] {
    border: none; background: #5F57BF; color: #fff;
    border-radius: 10px; padding: .5rem 1.3rem; font-weight: 700; font-size: .88rem;
}

.gre-btn-ok:hover[b-a24cahxdu5] { background: #4a43a0; }
/* /Pages/AppPages/_SchoolPlus/_Options/SpGridPlan.razor.rz.scp.css */
/* DEVELOPERS DAVID — SpGridPlan (Cuotas Predefinidas del Grupo del Grid). Estética SchoolPlus, prefijo gpl-. */

.gpl-overlay[b-8wq0c4onu3] {
    position: fixed;
    inset: 0;
    background: rgba(46, 41, 91, 0.5);
    /* 1040: debajo del SweetAlert (.swal2-container @ 1060), así los carteles de confirmación
       (Eliminar todo, etc.) quedan visualmente arriba del overlay. */
    z-index: 1040;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.gpl-panel[b-8wq0c4onu3] {
    position: relative;
    background: #f6f5fb;
    width: 100%;
    max-width: 1500px;
    margin: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(46, 41, 91, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- Header ---- */
.gpl-header[b-8wq0c4onu3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid #ecedf4;
}

.gpl-title[b-8wq0c4onu3] {
    margin: 0;
    color: #2c2a4a;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.gpl-title .oi[b-8wq0c4onu3] {
    color: #5F57BF;
}

.gpl-grp[b-8wq0c4onu3] {
    color: #4a43a0;
    font-weight: 600;
}

.gpl-header-right[b-8wq0c4onu3] {
    display: flex;
    gap: .5rem;
}

.gpl-back[b-8wq0c4onu3] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .12s ease;
}

.gpl-back:hover[b-8wq0c4onu3] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

/* ---- Toolbar ---- */
.gpl-toolbar[b-8wq0c4onu3] {
    display: flex;
    align-items: end;
    gap: .8rem;
    padding: 1rem 1.2rem .6rem 1.2rem;
    flex-wrap: wrap;
}

.gpl-field[b-8wq0c4onu3] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 240px;
}

.gpl-field label[b-8wq0c4onu3] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c6a8a;
    font-weight: 600;
}

.gpl-field select[b-8wq0c4onu3],
.gpl-field input[b-8wq0c4onu3] {
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 10px;
    padding: .45rem .7rem;
    font-size: .9rem;
    color: #2c2a4a;
}

.gpl-toolbar-spacer[b-8wq0c4onu3] {
    flex: 1 1 auto;
}

.gpl-tool-btn[b-8wq0c4onu3] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    border-radius: 10px;
    padding: .5rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
    transition: all .12s ease;
}

.gpl-tool-btn:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #5F57BF;
    color: #fff;
}

.gpl-tool-btn:disabled[b-8wq0c4onu3] {
    opacity: .4;
    cursor: not-allowed;
}

.gpl-tool-primary[b-8wq0c4onu3] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gpl-tool-primary:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #4a43a0;
    color: #fff;
}

.gpl-tool-danger[b-8wq0c4onu3] {
    color: #c0392b;
    border-color: #f3d3cf;
}

.gpl-tool-danger:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

/* ---- Lista ---- */
.gpl-list-card[b-8wq0c4onu3] {
    background: #fff;
    margin: .5rem 1.2rem 1.2rem 1.2rem;
    border: 1px solid #ecedf4;
    border-radius: 14px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gpl-list-head[b-8wq0c4onu3],
.gpl-row[b-8wq0c4onu3] {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr 1.6fr 1.6fr 1fr .8fr;
    gap: .6rem;
    padding: .55rem .9rem;
    align-items: center;
}

.gpl-list-head[b-8wq0c4onu3] {
    background: #f3f2fb;
    color: #4a43a0;
    font-weight: 600;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #e6e4f3;
}

.gpl-list-body[b-8wq0c4onu3] {
    overflow-y: auto;
    flex: 1 1 auto;
}

.gpl-row[b-8wq0c4onu3] {
    border-bottom: 1px solid #f0eff7;
    cursor: pointer;
    transition: background .1s ease;
    font-size: .88rem;
    color: #2c2a4a;
}

.gpl-row:hover[b-8wq0c4onu3] {
    background: #fbfafd;
}

.gpl-row-sel[b-8wq0c4onu3] {
    background: #efeefb !important;
    border-left: 3px solid #5F57BF;
}

.gpl-c-imp[b-8wq0c4onu3] {
    text-align: right;
    font-weight: 600;
    color: #2c2a4a;
}

.gpl-c-mon[b-8wq0c4onu3] {
    text-transform: capitalize;
}

.gpl-c-act[b-8wq0c4onu3] {
    display: flex;
    gap: .3rem;
    justify-content: flex-end;
}

.gpl-row-btn[b-8wq0c4onu3] {
    background: transparent;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    transition: all .12s ease;
}

.gpl-row-btn:hover[b-8wq0c4onu3] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gpl-row-btn-danger[b-8wq0c4onu3] {
    color: #c0392b;
    border-color: #f3d3cf;
}

.gpl-row-btn-danger:hover[b-8wq0c4onu3] {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.gpl-empty[b-8wq0c4onu3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #8e8caa;
    padding: 3rem 1rem;
    font-size: .9rem;
}

.gpl-empty .oi[b-8wq0c4onu3] {
    font-size: 2rem;
    opacity: .4;
}

/* ---- Pager ---- */
.gpl-pager[b-8wq0c4onu3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .6rem;
    border-top: 1px solid #f0eff7;
    background: #fafaff;
}

.gpl-pager-btn[b-8wq0c4onu3] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gpl-pager-btn:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #5F57BF;
    color: #fff;
    border-color: #5F57BF;
}

.gpl-pager-btn:disabled[b-8wq0c4onu3] {
    opacity: .4;
    cursor: not-allowed;
}

.gpl-pager-label[b-8wq0c4onu3] {
    font-size: .85rem;
    color: #4a43a0;
    font-weight: 600;
}

/* ---- Modales internos ---- */
.gpl-modal-backdrop[b-8wq0c4onu3] {
    position: absolute;
    inset: 0;
    background: rgba(46, 41, 91, .45);
    z-index: 5;
}

.gpl-modal[b-8wq0c4onu3] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(46, 41, 91, .3);
    width: min(560px, 92%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 6;
}

.gpl-modal-wide[b-8wq0c4onu3] {
    width: min(900px, 95%);
}

.gpl-modal-header[b-8wq0c4onu3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    background: #f3f2fb;
    border-bottom: 1px solid #ecedf4;
}

.gpl-modal-header h5[b-8wq0c4onu3] {
    margin: 0;
    color: #2c2a4a;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.gpl-modal-header h5 .oi[b-8wq0c4onu3] {
    color: #5F57BF;
}

.gpl-modal-x[b-8wq0c4onu3] {
    background: transparent;
    border: 0;
    color: #6c6a8a;
    font-size: .9rem;
    padding: .2rem .5rem;
    border-radius: 6px;
}

.gpl-modal-x:hover[b-8wq0c4onu3] {
    background: #ecedf4;
    color: #2c2a4a;
}

.gpl-modal-body[b-8wq0c4onu3] {
    padding: 1rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.gpl-modal-footer[b-8wq0c4onu3] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .8rem 1rem;
    border-top: 1px solid #ecedf4;
    background: #fafaff;
}

.gpl-btn-cancel[b-8wq0c4onu3] {
    background: #fff;
    border: 1px solid #d6d4ea;
    color: #4a43a0;
    border-radius: 10px;
    padding: .45rem 1rem;
    font-weight: 600;
    font-size: .85rem;
}

.gpl-btn-cancel:hover[b-8wq0c4onu3] {
    background: #ecedf4;
}

.gpl-btn-ok[b-8wq0c4onu3] {
    background: #5F57BF;
    border: 1px solid #5F57BF;
    color: #fff;
    border-radius: 10px;
    padding: .45rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
}

.gpl-btn-ok:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #4a43a0;
    border-color: #4a43a0;
}

.gpl-btn-ok:disabled[b-8wq0c4onu3] {
    opacity: .5;
    cursor: not-allowed;
}

.gpl-btn-danger[b-8wq0c4onu3] {
    background: #c0392b;
    border-color: #c0392b;
}

.gpl-btn-danger:hover:not(:disabled)[b-8wq0c4onu3] {
    background: #a23222;
    border-color: #a23222;
}

/* ---- Form ---- */
.gpl-form-grid[b-8wq0c4onu3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.gpl-param[b-8wq0c4onu3] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.gpl-param-wide[b-8wq0c4onu3] {
    grid-column: 1 / -1;
}

.gpl-param label[b-8wq0c4onu3] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c6a8a;
    font-weight: 600;
}

.gpl-param input[b-8wq0c4onu3],
.gpl-param select[b-8wq0c4onu3] {
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 10px;
    padding: .45rem .7rem;
    font-size: .9rem;
    color: #2c2a4a;
}

/* ---- Delete bloque ---- */
.gpl-delete-name[b-8wq0c4onu3] {
    font-weight: 600;
    color: #2c2a4a;
    font-size: .95rem;
    margin-bottom: .75rem;
    padding: .5rem .7rem;
    background: #f3f2fb;
    border-radius: 8px;
    border-left: 3px solid #5F57BF;
}

.gpl-delete-warn[b-8wq0c4onu3] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #6b3a06;
    background: #fff7e6;
    border: 1px solid #ffe0a8;
    border-radius: 8px;
    padding: .6rem .8rem;
    font-size: .88rem;
}

.gpl-delete-warn .oi[b-8wq0c4onu3] {
    color: #d97c1a;
}

.gpl-delete-block[b-8wq0c4onu3] {
    color: #6b1410;
    background: #fdecea;
    border: 1px solid #f3c2bd;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .88rem;
}

.gpl-delete-block strong[b-8wq0c4onu3] {
    display: block;
    margin-bottom: .25rem;
}

/* ---- Import ---- */
.gpl-import-search[b-8wq0c4onu3] {
    margin-bottom: .8rem;
}

.gpl-import-search input[b-8wq0c4onu3] {
    width: 100%;
    border: 1px solid #d6d4ea;
    background: #fff;
    border-radius: 10px;
    padding: .5rem .8rem;
    font-size: .9rem;
}

.gpl-import-list[b-8wq0c4onu3] {
    border: 1px solid #ecedf4;
    border-radius: 10px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
}

.gpl-import-row[b-8wq0c4onu3] {
    padding: .55rem .8rem;
    border-bottom: 1px solid #f0eff7;
    cursor: pointer;
    transition: background .1s ease;
}

.gpl-import-row:last-child[b-8wq0c4onu3] {
    border-bottom: none;
}

.gpl-import-row:hover[b-8wq0c4onu3] {
    background: #fbfafd;
}

.gpl-import-name[b-8wq0c4onu3] {
    font-weight: 600;
    color: #2c2a4a;
    font-size: .9rem;
}

.gpl-import-obs[b-8wq0c4onu3] {
    font-size: .78rem;
    color: #6c6a8a;
    margin-top: .15rem;
}
/* /Pages/AppPages/_SchoolPlus/_Options/SpOptions.razor.rz.scp.css */
/* DEVELOPERS IGNA — estética glam de SpOptions (consistente con SpAlumnosRegistroAsistencia).
   Para deshacer: borrar este archivo + restaurar el markup con las clases originales
   (alert alert-info / card-group / card m-2 shadow rounded-3 / btn btn-warning opacity-50). */

.opt-wrap[b-scefxv8j6j] {
    padding: 1.5rem 1.75rem 2rem;
}

.opt-header[b-scefxv8j6j] {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .25rem 0 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #ecedf4;
}

.opt-header > i[b-scefxv8j6j] {
    font-size: 1.6rem;
    color: #5F57BF;
}

.opt-title[b-scefxv8j6j] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b2d42;
    letter-spacing: -.01em;
}

.opt-cards[b-scefxv8j6j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

.opt-card[b-scefxv8j6j] {
    position: relative;
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: 1.45rem 1.35rem 1.25rem;
    box-shadow: 0 1px 4px rgba(31, 35, 72, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.opt-card:hover[b-scefxv8j6j] {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(95, 87, 191, .15);
    border-color: #d8d4f0;
}

/* Barra superior de acento (gradiente violeta) */
.opt-card-accent[b-scefxv8j6j] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5F57BF 0%, #8c84e0 100%);
}

.opt-card-icon[b-scefxv8j6j] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #efeefb 0%, #e3e0fa 100%);
    color: #5F57BF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.opt-card-title[b-scefxv8j6j] {
    margin: 0 0 .55rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #2b2d42;
    letter-spacing: -.005em;
}

.opt-card-desc[b-scefxv8j6j] {
    margin: 0 0 1.25rem;
    font-size: .85rem;
    color: #6b7384;
    line-height: 1.5;
    flex: 1;
}

.opt-card-btn[b-scefxv8j6j] {
    align-self: flex-start;
    background: #5F57BF;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .52rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.opt-card-btn:hover[b-scefxv8j6j] {
    background: #4a43a0;
    box-shadow: 0 6px 14px rgba(95, 87, 191, .28);
    transform: translateY(-1px);
}

.opt-card-btn:active[b-scefxv8j6j] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(95, 87, 191, .25);
}

.opt-card-btn i[b-scefxv8j6j] {
    font-size: .7rem;
    transition: transform .15s ease;
}

.opt-card:hover .opt-card-btn i[b-scefxv8j6j] {
    transform: translateX(3px);
}
/* /Pages/AppPages/_SchoolPlus/_Options/SpRecalcularCuotas.razor.rz.scp.css */
/* DEVELOPERS IGNA — estética del recálculo de plan de cobro (SpRecalcularCuotas) */

.rcc-wrap[b-7kl4ye8za7] {
    padding: 1.5rem 1.75rem 2rem;
}

/* ---- Encabezado ---- */
.rcc-header[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.rcc-title[b-7kl4ye8za7] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.1;
}

.rcc-title .oi[b-7kl4ye8za7] {
    color: #5F57BF;
    font-size: 1.4rem;
}

.rcc-back[b-7kl4ye8za7] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .45rem .9rem;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s ease;
    white-space: nowrap;
}

.rcc-back:hover[b-7kl4ye8za7] {
    background: #5F57BF;
    border-color: #5F57BF;
    color: #fff;
}

.rcc-alert[b-7kl4ye8za7] {
    background: #fdecef;
    border: 1px solid #f5c2cb;
    color: #b02a4a;
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: .85rem;
    margin-bottom: 1rem;
}

/* ---- Toolbar (estado grupo + filtro) ---- */
.rcc-toolbar[b-7kl4ye8za7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .85rem;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.rcc-field[b-7kl4ye8za7] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.rcc-field label[b-7kl4ye8za7] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.rcc-field select[b-7kl4ye8za7] {
    min-width: 150px;
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .4rem .6rem;
    font-size: .9rem;
    background: #fff;
}

.rcc-filter-slot[b-7kl4ye8za7] {
    min-width: 230px;
    flex: 1 1 230px;
}

/* ---- Cuerpo: dos columnas ---- */
.rcc-body[b-7kl4ye8za7] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: stretch;
}

.rcc-groups-card[b-7kl4ye8za7],
.rcc-params-card[b-7kl4ye8za7] {
    background: #fff;
    border: 1px solid #ecedf4;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(40, 42, 70, .04);
    display: flex;
    flex-direction: column;
}

.rcc-groups-card[b-7kl4ye8za7] {
    flex: 1 1 320px;
    min-width: 300px;
}

.rcc-params-card[b-7kl4ye8za7] {
    flex: 1 1 380px;
    min-width: 340px;
    padding-bottom: .5rem;
}

.rcc-section-head[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #eef0f6;
    font-weight: 700;
    color: #4a43a0;
    font-size: .95rem;
}

.rcc-checkall[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: #5b6273;
    cursor: pointer;
    text-transform: none;
}

/* ---- Lista de grupos ---- */
.rcc-groups-scroll[b-7kl4ye8za7] {
    overflow-y: auto;
    max-height: 420px;
    min-height: 220px;
    padding: .35rem;
}

.rcc-group-row[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .6rem;
    border-radius: 9px;
    cursor: pointer;
    font-size: .9rem;
    color: #2b2d42;
    transition: background .12s ease;
}

.rcc-group-row:hover[b-7kl4ye8za7] {
    background: #f3f2fb;
}

.rcc-group-sel[b-7kl4ye8za7] {
    background: #efeefb;
    color: #4a43a0;
    font-weight: 600;
}

.rcc-groups-foot[b-7kl4ye8za7] {
    border-top: 1px solid #eef0f6;
    padding: .5rem 1rem;
    font-size: .78rem;
    color: #8a93a6;
    text-align: right;
}

.rcc-empty[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #8a93a6;
    font-size: .88rem;
    padding: 1.5rem 1rem;
    justify-content: center;
}

.rcc-empty .oi[b-7kl4ye8za7] {
    color: #b9bed0;
}

/* ---- Panel de parámetros ---- */
.rcc-param[b-7kl4ye8za7] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .55rem 1rem 0;
}

.rcc-param-row[b-7kl4ye8za7] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.rcc-param-row > .rcc-param[b-7kl4ye8za7] {
    flex: 1 1 150px;
}

.rcc-param label[b-7kl4ye8za7] {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a93a6;
}

.rcc-param select[b-7kl4ye8za7],
.rcc-param input[type=date][b-7kl4ye8za7],
.rcc-param input[type=number][b-7kl4ye8za7] {
    border: 1px solid #d9ddea;
    border-radius: 10px;
    padding: .42rem .6rem;
    font-size: .9rem;
    background: #fff;
    width: 100%;
}

.rcc-param-check[b-7kl4ye8za7] {
    justify-content: flex-start;
}

.rcc-inline-check[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 600;
    color: #5b6273;
    cursor: pointer;
}

/* Importe + toggle moneda/% */
.rcc-amount[b-7kl4ye8za7] {
    display: flex;
    gap: .4rem;
}

.rcc-amount input[b-7kl4ye8za7] {
    flex: 1 1 auto;
}

.rcc-mode-btn[b-7kl4ye8za7] {
    flex: 0 0 auto;
    min-width: 54px;
    border: 1px solid #5F57BF;
    background: #efeefb;
    color: #4a43a0;
    font-weight: 700;
    border-radius: 10px;
    padding: .42rem .55rem;
    font-size: .9rem;
    transition: all .12s ease;
}

.rcc-mode-btn:hover[b-7kl4ye8za7] {
    background: #5F57BF;
    color: #fff;
}

.rcc-checks[b-7kl4ye8za7] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .9rem 1rem .2rem;
}

.rcc-note[b-7kl4ye8za7] {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    background: #f7f8fc;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    margin: .9rem 1rem;
    padding: .65rem .8rem;
    font-size: .8rem;
    color: #5b6273;
    line-height: 1.35;
}

.rcc-note .oi[b-7kl4ye8za7] {
    color: #5F57BF;
    margin-top: .1rem;
}

.rcc-actions[b-7kl4ye8za7] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: .4rem 1rem .6rem;
}

.rcc-btn-cancel[b-7kl4ye8za7] {
    border: 1px solid #e3e6ef;
    background: #fff;
    color: #5b6273;
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-weight: 600;
    font-size: .88rem;
}

.rcc-btn-cancel:hover[b-7kl4ye8za7] {
    background: #f3f4f8;
}

.rcc-btn-start[b-7kl4ye8za7] {
    border: none;
    background: #5F57BF;
    color: #fff;
    border-radius: 10px;
    padding: .5rem 1.3rem;
    font-weight: 700;
    font-size: .88rem;
    transition: background .12s ease;
}

.rcc-btn-start:hover:not(:disabled)[b-7kl4ye8za7] {
    background: #4a43a0;
}

.rcc-btn-start:disabled[b-7kl4ye8za7] {
    opacity: .45;
    cursor: not-allowed;
}

/* ---- Modal preview ---- */
.rcc-modal-backdrop[b-7kl4ye8za7] {
    position: fixed;
    inset: 0;
    background: rgba(30, 32, 55, .45);
    z-index: 1040;
}

.rcc-modal[b-7kl4ye8za7] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 92vw);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(20, 22, 45, .3);
    z-index: 1050;
    overflow: hidden;
}

.rcc-modal-header[b-7kl4ye8za7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eef0f6;
}

.rcc-modal-header h5[b-7kl4ye8za7] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rcc-modal-header .oi[b-7kl4ye8za7] {
    color: #e0a800;
}

.rcc-modal-x[b-7kl4ye8za7] {
    border: none;
    background: transparent;
    color: #8a93a6;
    font-size: 1rem;
}

.rcc-modal-body[b-7kl4ye8za7] {
    padding: 1rem 1.2rem;
}

.rcc-modal-table[b-7kl4ye8za7] {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.rcc-modal-table td[b-7kl4ye8za7] {
    padding: .5rem .25rem;
    border-bottom: 1px solid #f1f2f7;
    color: #4a4f63;
}

.rcc-num[b-7kl4ye8za7] {
    text-align: right;
    white-space: nowrap;
}

.rcc-delta td[b-7kl4ye8za7] {
    font-weight: 700;
    border-bottom: none;
}

.rcc-delta-up td[b-7kl4ye8za7] {
    color: #1f8f4e;
}

.rcc-delta-down td[b-7kl4ye8za7] {
    color: #b02a4a;
}

.rcc-modal-warn[b-7kl4ye8za7] {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin-top: .9rem;
    background: #fff8e6;
    border: 1px solid #ffe3a3;
    border-radius: 12px;
    padding: .65rem .8rem;
    font-size: .8rem;
    color: #8a6d1f;
    line-height: 1.35;
}

.rcc-modal-warn .oi[b-7kl4ye8za7] {
    color: #e0a800;
    margin-top: .1rem;
}

.rcc-modal-footer[b-7kl4ye8za7] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: .8rem 1.2rem 1rem;
    border-top: 1px solid #eef0f6;
}
/* /Pages/ColorPalette.razor.rz.scp.css */
.color-palette[b-sqvunnxr8j] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.color-row[b-sqvunnxr8j] {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.color-button[b-sqvunnxr8j] {
    width: 3.3em;
    height: 3.3em;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .color-button:hover[b-sqvunnxr8j] {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        border: 2px solid #000;
    }

    .color-button:active[b-sqvunnxr8j] {
        transform: scale(0.95);
    }
/* /Services/Azure/AudioRecorder.razor.rz.scp.css */


.audio-recorder-container[b-g47drlr1k7] {
    overflow: hidden;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.audio-visualizer[b-g47drlr1k7] {
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 50px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wave-container[b-g47drlr1k7] {
    position: relative;
    height: 50px;
    flex-grow: 1;
    margin: 0 15px;
    overflow: hidden;
}

.wave-bar[b-g47drlr1k7] {
    position: absolute;
    width: 3px;
    background: #0d6efd;
    bottom: 0;
    border-radius: 3px;
    transition: height 0.15s ease-out;
}

.progress-indicator[b-g47drlr1k7] {
    overflow: hidden;
    position: absolute;
    width: 2px;
    height: 100%;
    background: #ff4757;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.play-pause-btn[b-g47drlr1k7] {
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    border: none;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

    .play-pause-btn:hover[b-g47drlr1k7] {
        background: #0b5ed7;
        transform: scale(1.05);
    }

.time-display[b-g47drlr1k7] {
    min-width: 100px;
    font-family: monospace;
    font-size: 14px;
    color: #495057;
    text-align: center;
}

.controls[b-g47drlr1k7] {
    overflow: hidden;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.btn[b-g47drlr1k7] {
    overflow: hidden;
    min-width: 120px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn i[b-g47drlr1k7] {
        font-size: 14px;
    }

.record-btn[b-g47drlr1k7] {
    background: #dc3545;
    color: white;
}

    .record-btn:hover[b-g47drlr1k7] {
        background: #bb2d3b;
    }

.stop-btn[b-g47drlr1k7] {
    background: #28a745;
    color: white;
}

    .stop-btn:hover[b-g47drlr1k7] {
        background: #218838;
    }

.play-btn[b-g47drlr1k7] {
    background: #17a2b8;
    color: white;
}

    .play-btn:hover[b-g47drlr1k7] {
        background: #138496;
    }

.upload-btn[b-g47drlr1k7] {
    background: #6c757d;
    color: white;
}

    .upload-btn:hover[b-g47drlr1k7] {
        background: #5c636a;
    }
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-qqjptoztbt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qqjptoztbt] {
    flex: 1;
}

.sidebar[b-qqjptoztbt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qqjptoztbt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    /*justify-content: flex-end;*/
    height: 3.5rem;
    /*display: flex;*/
    /*align-items: center;*/    
}

    .top-row[b-qqjptoztbt]  a, .top-row .btn-link[b-qqjptoztbt] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-qqjptoztbt] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-qqjptoztbt] {
        display: none;
    }

    .top-row.auth[b-qqjptoztbt] {
        justify-content: space-between;
    }

    .top-row a[b-qqjptoztbt], .top-row .btn-link[b-qqjptoztbt] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qqjptoztbt] {
        flex-direction: row;
    }

    .sidebar[b-qqjptoztbt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qqjptoztbt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-qqjptoztbt], article[b-qqjptoztbt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pqhe3h7mhe] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-pqhe3h7mhe] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pqhe3h7mhe] {
    font-size: 1.1rem;
}

.oi[b-pqhe3h7mhe] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-pqhe3h7mhe] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pqhe3h7mhe] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pqhe3h7mhe] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pqhe3h7mhe]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-pqhe3h7mhe]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-pqhe3h7mhe]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pqhe3h7mhe] {
        display: none;
    }

    .collapse[b-pqhe3h7mhe] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
