@import '_content/Toolbelt.Blazor.PWA.Updater/Toolbelt.Blazor.PWA.Updater.bundle.scp.css';

/* /Layout/LoginLayout.razor.rz.scp.css */
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-1md617dwrl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1md617dwrl] {
    flex: 1;
}

.sidebar[b-1md617dwrl] {
    background-color: #159A9C;
}

.top-row[b-1md617dwrl] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1md617dwrl]  a, .top-row[b-1md617dwrl]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1md617dwrl]  a:hover, .top-row[b-1md617dwrl]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1md617dwrl]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1md617dwrl] {
        justify-content: space-between;
    }

    .top-row[b-1md617dwrl]  a, .top-row[b-1md617dwrl]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1md617dwrl] {
        flex-direction: row;
    }

    .sidebar[b-1md617dwrl] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1md617dwrl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1md617dwrl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1md617dwrl], article[b-1md617dwrl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.sidebar .navbar-toggler[b-yddl70701l] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-yddl70701l] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-yddl70701l] {
    font-size: 1.1rem;
}

.bi[b-yddl70701l] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-yddl70701l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-yddl70701l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-yddl70701l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}



.bi-house-nav-menu[b-yddl70701l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z'%3E%3Cpath d='m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z'/%3E %3C/svg%3E");
}



.nav-item[b-yddl70701l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-yddl70701l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-yddl70701l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-yddl70701l]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-yddl70701l]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-yddl70701l]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-yddl70701l] {
        display: none;
    }

    .collapse[b-yddl70701l] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-yddl70701l] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/EmisionesDTE/ConstanciaISR/ComprobanteRenta.razor.rz.scp.css */
/* ══════════════════════════════════════════════
   ComprobanteRenta — CSS Isolation
   ══════════════════════════════════════════════ */

/* ── Badge de mes en la barra superior ── */
.badge-mes[b-yswjanzi6k] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--rz-primary-lighter, #e0f0ff);
    color: var(--rz-primary-dark, #1a5fa8);
    white-space: nowrap;
}

/* ── Tarjeta de sección interna ── */
.cr-section-card[b-yswjanzi6k] {
    border-left: 3px solid var(--rz-primary);
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    background: var(--rz-base-background-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ── Título de sección ── */
.cr-section-title[b-yswjanzi6k] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rz-text-secondary-color);
    margin-bottom: 0.6rem;
}

/* ── Etiqueta de campo ── */
.cr-field-label[b-yswjanzi6k] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--rz-text-terciary-color);
    margin: 0 0 3px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Campo de solo lectura ── */
.cr-readonly-field[b-yswjanzi6k] {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--rz-border-color);
    background: var(--rz-base-300, #f5f5f5);
    font-size: 0.85rem;
    color: var(--rz-text-color);
    font-variant-numeric: tabular-nums;
}

/* ── Monto retenido destacado ── */
.cr-monto-retenido[b-yswjanzi6k] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rz-danger);
    font-variant-numeric: tabular-nums;
}

/* ══ PANEL LATERAL — CONSTANCIAS RECIENTES ══ */

/* ── Fila de constancia reciente ── */
.cr-reciente-row[b-yswjanzi6k] {
    padding: 0.55rem 0.7rem;
    border-radius: 6px;
    border: 1px solid var(--rz-border-color);
    margin-bottom: 0.45rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    background: var(--rz-base-background-color);
}

.cr-reciente-row:hover[b-yswjanzi6k] {
    background: var(--rz-primary-lighter, #e8f4ff);
    border-color: var(--rz-primary-light, #90c4f5);
    transform: translateX(2px);
}

.cr-reciente-row:last-child[b-yswjanzi6k] {
    margin-bottom: 0;
}

/* ── Fila anulada ── */
.cr-reciente-row.cr-anulado[b-yswjanzi6k] {
    opacity: 0.5;
    text-decoration: line-through;
    background: var(--rz-base-200, #f9f9f9);
    border-color: var(--rz-base-400, #e0e0e0);
}

.cr-reciente-row.cr-anulado:hover[b-yswjanzi6k] {
    background: var(--rz-base-200, #f9f9f9);
    border-color: var(--rz-base-400, #e0e0e0);
    transform: none;
}

/* ── Etiqueta secundaria en la fila ── */
.cr-reciente-label[b-yswjanzi6k] {
    font-size: 0.72rem;
    color: var(--rz-text-terciary-color);
    font-variant-numeric: tabular-nums;
}

/* ── Valor principal en la fila ── */
.cr-reciente-valor[b-yswjanzi6k] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rz-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* ── Badge de estado anulado ── */
.cr-anulado-badge[b-yswjanzi6k] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--rz-warning-lighter, #fffbeb);
    color: var(--rz-warning-dark, #b45309);
    border: 1px solid var(--rz-warning-light, #fde68a);
    white-space: nowrap;
    text-decoration: none;
}

/* ══ SKELETON / LOADING ══ */

.cr-skeleton[b-yswjanzi6k] {
    width: 100%;
    height: 52px;
    border-radius: 6px;
    background: var(--rz-base-300, #f0f0f0);
    animation: cr-pulse-b-yswjanzi6k 1.4s ease-in-out infinite;
    margin-bottom: 0.45rem;
}

@keyframes cr-pulse-b-yswjanzi6k {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* Overlay de carga global */
.cr-page-loader[b-yswjanzi6k] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

/* fondo semitransparente + blur sutil */
.cr-page-loader-backdrop[b-yswjanzi6k] {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 28, 0.48);
    backdrop-filter: blur(4px);
}

/* tarjeta centrada */
.cr-page-loader-card[b-yswjanzi6k] {
    position: relative;
    z-index: 2001;
    width: min(560px, 92%);
    background: var(--rz-base-background-color);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.45);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    outline: none;
}

/* header: icono + textos */
.cr-page-loader-header[b-yswjanzi6k] {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.cr-loader-icon[b-yswjanzi6k] {
    font-size: 2.3rem;
    color: var(--rz-primary);
    flex: 0 0 auto;
}

/* título y subtítulo */
.cr-page-loader-titlegroup[b-yswjanzi6k] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* cuerpo: spinner + dots */
.cr-page-loader-body[b-yswjanzi6k] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

/* spinner spacing */
.cr-loader-spinner[b-yswjanzi6k] {
    --rz-progress-size: 64px;
}

/* puntos animados para indicar actividad */
.cr-loader-dots[b-yswjanzi6k] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
}

.cr-loader-dots span[b-yswjanzi6k] {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--rz-primary);
    opacity: 0.85;
    transform: translateY(0);
    animation: cr-dots-b-yswjanzi6k 1s infinite ease-in-out;
}

.cr-loader-dots span:nth-child(2)[b-yswjanzi6k] { animation-delay: 0.15s; }
.cr-loader-dots span:nth-child(3)[b-yswjanzi6k] { animation-delay: 0.30s; }

@keyframes cr-dots-b-yswjanzi6k {
    0%   { transform: translateY(0); opacity: 0.6; }
    50%  { transform: translateY(-8px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.6; }
}
/* /Pages/EmisionesDTE/ConstanciaISR/CrudClasificacionesDialog.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   Contenedor raíz
═══════════════════════════════════════════════ */
.cls-root[b-5pb0ko03br] {
    display: flex;
    flex-direction: column;
    width: 860px;
    max-width: 100%;
    gap: 0;
}

/* ═══════════════════════════════════════════════
   Encabezado con gradiente
═══════════════════════════════════════════════ */
.cls-header[b-5pb0ko03br] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, var(--rz-primary) 0%, var(--rz-primary-dark, #1a56db) 100%);
    border-radius: 6px 6px 0 0;
    padding: 0.9rem 1.1rem;
    flex-wrap: wrap;
}

.cls-header-left[b-5pb0ko03br] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cls-header-icon[b-5pb0ko03br] {
    font-size: 1.6rem;
    color: #fff;
    opacity: 0.9;
}

.cls-header-title[b-5pb0ko03br] {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.cls-header-sub[b-5pb0ko03br] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    margin-top: 1px;
}

.cls-header-right[b-5pb0ko03br] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

/* Tarjetas de estadística en el header */
.cls-stat-chip[b-5pb0ko03br] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0.3rem 0.75rem;
    min-width: 54px;
}

.cls-stat-chip--green .cls-stat-val[b-5pb0ko03br] {
    color: #86efac;
}

.cls-stat-val[b-5pb0ko03br] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.cls-stat-lbl[b-5pb0ko03br] {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════
   Cuerpo (debajo del header)
═══════════════════════════════════════════════ */
.cls-body[b-5pb0ko03br] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1rem 0.25rem;
    border: 1px solid var(--rz-border-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
    background: var(--rz-base-background-color);
}

/* ═══════════════════════════════════════════════
   Panel formulario
═══════════════════════════════════════════════ */
.cls-form-panel[b-5pb0ko03br] {
    position: relative;
    border-radius: 8px;
    padding: 1rem 1.1rem 0.85rem;
    margin-top: 0.5rem;
}

.cls-form-panel--new[b-5pb0ko03br] {
    border: 1.5px solid var(--rz-primary-light, #bfdbfe);
    background: var(--rz-primary-lighter, #eff6ff);
}

.cls-form-panel--edit[b-5pb0ko03br] {
    border: 1.5px solid var(--rz-success-light, #86efac);
    background: var(--rz-success-lighter, #f0fdf4);
}

/* Etiqueta flotante sobre el borde superior */
.cls-form-badge[b-5pb0ko03br] {
    position: absolute;
    top: -11px;
    left: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 20px;
    padding: 2px 12px;
}

.cls-form-badge--new[b-5pb0ko03br] {
    background: var(--rz-primary);
    color: #fff;
}

.cls-form-badge--edit[b-5pb0ko03br] {
    background: var(--rz-success, #22c55e);
    color: #fff;
}

/* Fila de campos con flex-wrap */
.cls-form-fields[b-5pb0ko03br] {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 0.75rem;
}

/* Pie del formulario */
.cls-form-footer[b-5pb0ko03br] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Campo de solo lectura (código en edición) */
.cls-field-lbl[b-5pb0ko03br] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rz-text-terciary-color);
    margin-bottom: 4px;
}

.cls-readonly-box[b-5pb0ko03br] {
    background: var(--rz-base-300, #f0f0f0);
    border: 1px solid var(--rz-border-color);
    border-radius: 4px;
    padding: 0.42rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rz-text-color);
    min-height: 36px;
    display: flex;
    align-items: center;
}

/* Error inline dentro del formulario */
.cls-error-inline[b-5pb0ko03br] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--rz-danger-lighter, #fff5f5);
    border: 1px solid var(--rz-danger-light, #fca5a5);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--rz-danger);
}

/* ═══════════════════════════════════════════════
   Panel de confirmación de eliminación
═══════════════════════════════════════════════ */
.cls-confirm-panel[b-5pb0ko03br] {
    border: 1.5px solid var(--rz-danger-light, #fca5a5);
    border-radius: 8px;
    background: var(--rz-danger-lighter, #fff5f5);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cls-confirm-top[b-5pb0ko03br] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.cls-confirm-icon[b-5pb0ko03br] {
    font-size: 1.4rem;
    color: var(--rz-danger);
    flex-shrink: 0;
    margin-top: 1px;
}

.cls-confirm-title[b-5pb0ko03br] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rz-danger);
    line-height: 1.3;
}

.cls-confirm-sub[b-5pb0ko03br] {
    font-size: 0.76rem;
    color: var(--rz-text-terciary-color);
    margin-top: 2px;
}

.cls-confirm-actions[b-5pb0ko03br] {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

/* ═══════════════════════════════════════════════
   Chips en el grid
═══════════════════════════════════════════════ */
.cls-chip-codigo[b-5pb0ko03br] {
    display: inline-flex;
    align-items: center;
    background: var(--rz-primary-lighter, #eff6ff);
    color: var(--rz-primary);
    border: 1px solid var(--rz-primary-light, #bfdbfe);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.cls-chip-pct[b-5pb0ko03br] {
    display: inline-flex;
    align-items: center;
    background: var(--rz-warning-lighter, #fffbeb);
    color: var(--rz-warning-dark, #b45309);
    border: 1px solid var(--rz-warning-light, #fde68a);
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════
   Estado vacío / cargando
═══════════════════════════════════════════════ */
.cls-empty-state[b-5pb0ko03br] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 2.5rem 1rem;
}

.cls-empty-icon[b-5pb0ko03br] {
    font-size: 3rem;
    color: var(--rz-text-terciary-color);
    opacity: 0.4;
}

.cls-empty-text[b-5pb0ko03br] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rz-text-terciary-color);
}

.cls-empty-sub[b-5pb0ko03br] {
    font-size: 0.78rem;
    color: var(--rz-text-terciary-color);
}

/* ═══════════════════════════════════════════════
   Pie del dialog
═══════════════════════════════════════════════ */
.cls-footer[b-5pb0ko03br] {
    display: flex;
    justify-content: flex-end;
    padding: 0.65rem 0 0.1rem;
}
