/* /Layout/MainLayout.razor.rz.scp.css */
.app-main[b-3hj52kvrtl] {
    width: 100%;
    min-height: 100vh;
    display: block;
}
/* /Pages/Home.razor.rz.scp.css */
/* ===========================================================
   Layout principal de la pagina
=========================================================== */
.office-ribbon-page[b-rs5d35l1ti] {
    min-height: 100vh;
    background: #e8e8e8;
    padding: 12px;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===========================================================
   Ribbon (PatronRibbon)
=========================================================== */
.ribbon-outer-container[b-rs5d35l1ti] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.custom-ribbon[b-rs5d35l1ti] {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 209, 209, 0.5);
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
}

.ribbon-tabs[b-rs5d35l1ti] {
    display: flex;
    background: rgba(240, 240, 240, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(209, 209, 209, 0.5);
    gap: 2px;
    overflow-x: auto;
    border-radius: 8px 8px 0 0;
}

.ribbon-tab[b-rs5d35l1ti] {
    background: rgba(224, 224, 224, 0.5);
    border: 1px solid transparent;
    border-bottom: none;
    padding: 4px 16px;
    font-size: 11px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ribbon-tab.active[b-rs5d35l1ti] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(209, 209, 209, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ribbon-content[b-rs5d35l1ti] {
    display: flex;
    padding: 8px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    min-height: 88px;
    gap: 3px;
    overflow-x: auto;
}

.ribbon-group[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d4d4d4;
    padding: 3px 6px;
    min-height: 80px;
    flex-shrink: 0;
}

.ribbon-group:last-child[b-rs5d35l1ti] {
    border-right: none;
}

.ribbon-group-right[b-rs5d35l1ti] {
    margin-left: auto;
    border-right: none;
    border-left: 1px solid #d4d4d4;
}

.ribbon-group-items[b-rs5d35l1ti] {
    display: flex;
    gap: 6px;
    flex: 1;
    align-items: flex-start;
    padding: 4px 0 2px 0;
}

.ribbon-group-label[b-rs5d35l1ti] {
    font-size: 9px;
    color: #666;
    text-align: center;
    padding: 3px;
    border-top: 1px solid #e8e8e8;
    margin: 0 -6px;
    background: #f8f8f8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ribbon-btn[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 80px;
    min-width: 80px;
    min-height: 62px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}

.ribbon-btn i[b-rs5d35l1ti] {
    font-size: 24px;
    margin-bottom: 4px;
    color: #444;
    line-height: 1;
}

.ribbon-btn span[b-rs5d35l1ti] {
    font-size: 10px;
    color: #444;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    max-width: 76px;
}

.ribbon-btn:hover:not(:disabled)[b-rs5d35l1ti] {
    background: #f8eef0;
    border-color: #e3c4cb;
}

.ribbon-btn:active:not(:disabled)[b-rs5d35l1ti] {
    background: #f0dfe4;
    border-color: #7a1f33;
}

.ribbon-btn-active[b-rs5d35l1ti] {
    background: #f8eef0;
    border-color: #7a1f33 !important;
    box-shadow: inset 0 -3px 0 #7a1f33;
}

.ribbon-btn-active i[b-rs5d35l1ti] { color: #7a1f33 !important; }
.ribbon-btn-active span[b-rs5d35l1ti] { color: #7a1f33 !important; font-weight: 600; }

.ribbon-btn:disabled[b-rs5d35l1ti] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===========================================================
   Panel de contenido (debajo del ribbon)
=========================================================== */
.content-panel[b-rs5d35l1ti] {
    background: #f5f5f5;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 16px 20px 20px 20px;
}

.content-panel-title[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #323130;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.content-panel-title i[b-rs5d35l1ti] {
    color: #7a1f33;
    font-size: 22px;
}

/* Estado vacio inicial */
.empty-state[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    color: #605e5c;
    text-align: center;
    border: 1px dashed #d2d0ce;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.empty-state i[b-rs5d35l1ti] {
    font-size: 56px;
    color: #c8c6c4;
    margin-bottom: 18px;
}

.empty-state-message[b-rs5d35l1ti] {
    font-size: 14px;
    color: #605e5c;
}

.empty-state-message strong[b-rs5d35l1ti] {
    color: #323130;
}

/* Spinner de carga centrado */
.consulta-loading[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid #e1dfdd;
}

.consulta-loading .spinner-border[b-rs5d35l1ti] {
    width: 32px;
    height: 32px;
    border-width: 3px;
    color: #7a1f33;
}

.consulta-loading p[b-rs5d35l1ti] {
    margin: 0;
    color: #605e5c;
    font-size: 14px;
}

/* ===========================================================
   Infobar azul (periodo + badge contador)
=========================================================== */
.info-bar[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8eef0;
    border: 1px solid #e3c4cb;
    border-radius: 6px;
    margin-bottom: 12px;
    gap: 12px;
}

.info-bar-text[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a0f1d;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-bar-text i[b-rs5d35l1ti] {
    color: #7a1f33;
    font-size: 16px;
    flex-shrink: 0;
}

.info-bar-badge[b-rs5d35l1ti] {
    background: #7a1f33;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.info-bar-actions[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-exportar-consulta[b-rs5d35l1ti] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #7a1f33;
    background: #fff;
    color: #7a1f33;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-exportar-consulta:hover[b-rs5d35l1ti] {
    background: #7a1f33;
    color: #fff;
}

.btn-exportar-consulta i[b-rs5d35l1ti] {
    font-size: 14px;
}

/* ===========================================================
   Tabs horizontales (una pestania por tabla del SP)
=========================================================== */
.consulta-tabs[b-rs5d35l1ti] {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #d2d0ce;
    padding: 0;
    overflow-x: auto;
    margin-bottom: 0;
}

.consulta-tab[b-rs5d35l1ti] {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #605e5c;
    transition: all 0.15s;
    white-space: nowrap;
    margin-bottom: -2px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consulta-tab:hover:not(.active)[b-rs5d35l1ti] {
    background: #f3f2f1;
    color: #323130;
}

.consulta-tab.active[b-rs5d35l1ti] {
    background: #fff;
    border-color: #d2d0ce;
    border-bottom: 2px solid #fff;
    color: #7a1f33;
    font-weight: 600;
}

.tab-count[b-rs5d35l1ti] {
    font-size: 11px;
    padding: 2px 8px;
    background: #f3f2f1;
    color: #605e5c;
    border-radius: 10px;
    font-weight: 600;
}

.consulta-tab.active .tab-count[b-rs5d35l1ti] {
    background: #f8eef0;
    color: #7a1f33;
}

/* ===========================================================
   Acordeones (una sección por tabla del SP)
=========================================================== */
.acordeon-list[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acordeon-item[b-rs5d35l1ti] {
    border: 1px solid #d2d0ce;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    animation: fadeIn-b-rs5d35l1ti 0.3s ease-out;
}

.acordeon-item-resumen[b-rs5d35l1ti] {
    border-color: #7a1f33;
}

.acordeon-header[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #323130;
    text-align: left;
    transition: background 0.15s;
}

.acordeon-header:hover[b-rs5d35l1ti] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
}

.acordeon-header.open[b-rs5d35l1ti] {
    color: #7a1f33;
    border-bottom-color: #d2d0ce;
}

.acordeon-item-resumen .acordeon-header[b-rs5d35l1ti] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    color: #4a0f1d;
}

.acordeon-chevron[b-rs5d35l1ti] {
    font-size: 12px;
    color: #605e5c;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.acordeon-header.open .acordeon-chevron[b-rs5d35l1ti] {
    transform: rotate(90deg);
    color: #7a1f33;
}

.acordeon-title[b-rs5d35l1ti] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acordeon-count[b-rs5d35l1ti] {
    flex-shrink: 0;
    font-size: 11px;
    padding: 2px 10px;
    background: #f8eef0;
    color: #7a1f33;
    border-radius: 10px;
    font-weight: 600;
}

.acordeon-body[b-rs5d35l1ti] {
    padding: 0;
}

/* La tabla dentro de un acordeón no necesita las esquinas/borde de la variante tabs */
.acordeon-body .results-container[b-rs5d35l1ti] {
    border: none;
    border-radius: 0;
    animation: none;
}

/* ===========================================================
   Tabla de resultados (PatronTablas - inline + selector pagina)
=========================================================== */
.results-container[b-rs5d35l1ti] {
    background: #fff;
    border: 1px solid #d2d0ce;
    border-top: none;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    animation: fadeIn-b-rs5d35l1ti 0.3s ease-out;
}

@keyframes fadeIn-b-rs5d35l1ti {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.results-table-scroll[b-rs5d35l1ti] {
    max-height: 55vh;
    overflow: auto;
}

.results-table[b-rs5d35l1ti] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    color: #323130;
}

.results-table thead[b-rs5d35l1ti] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.results-table thead tr:first-child th[b-rs5d35l1ti] {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #605e5c;
    border-bottom: 1px solid #d2d0ce;
    cursor: pointer;
    user-select: none;
    text-align: left;
    white-space: nowrap;
}

.results-table thead tr:first-child th:hover[b-rs5d35l1ti] {
    background: linear-gradient(180deg, #e8e8e8 0%, #e1dfdd 100%);
}

.th-content[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-icon[b-rs5d35l1ti] {
    font-size: 10px;
    color: #7a1f33;
}

.results-table thead tr.filter-row th[b-rs5d35l1ti] {
    background: #fff;
    padding: 6px 10px;
    border-bottom: 1px solid #e1dfdd;
}

.col-filter-input[b-rs5d35l1ti] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 11px;
    font-family: inherit;
    background: #fff;
    color: #323130;
    box-sizing: border-box;
}

.col-filter-input:focus[b-rs5d35l1ti] {
    outline: none;
    border-color: #7a1f33;
    box-shadow: 0 0 0 1px rgba(122, 31, 51, 0.3);
}

.col-filter-input[b-rs5d35l1ti]::placeholder {
    color: #a19f9d;
    font-style: italic;
}

.results-table tbody tr[b-rs5d35l1ti] {
    border-bottom: 1px solid #f3f2f1;
}

.results-table tbody tr:nth-child(even)[b-rs5d35l1ti] {
    background: rgba(0, 0, 0, 0.02);
}

.results-table tbody tr:hover[b-rs5d35l1ti] {
    background: rgba(122, 31, 51, 0.06);
}

.results-table tbody td[b-rs5d35l1ti] {
    padding: 8px 12px;
    color: #323130;
    white-space: nowrap;
}

.no-results-cell[b-rs5d35l1ti] {
    text-align: center !important;
    padding: 32px 16px !important;
    color: #a19f9d;
    font-style: italic;
}

/* Columna de importe (última): alineada a la derecha y con cifras tabulares */
.results-table td.celda-importe[b-rs5d35l1ti] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.results-table th.celda-importe .th-content[b-rs5d35l1ti] {
    justify-content: flex-end;
}

/* ===========================================================
   Fila de totales (tfoot) — Totalizador por columna de Importe
=========================================================== */
.results-table tfoot[b-rs5d35l1ti] {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.results-table tfoot tr.totals-row[b-rs5d35l1ti] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    border-top: 2px solid #7a1f33;
}

.results-table tfoot td[b-rs5d35l1ti] {
    padding: 10px 12px;
    font-weight: 600;
    color: #323130;
    border-top: 2px solid #7a1f33;
    border-bottom: none;
    white-space: nowrap;
}

.results-table tfoot td.total-label-cell[b-rs5d35l1ti] {
    text-align: right;
    color: #605e5c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table tfoot td.total-cell[b-rs5d35l1ti] {
    color: #7a1f33;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Paginacion */
.results-pagination[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e1dfdd;
    background: #fafafa;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #605e5c;
}

.pager-info[b-rs5d35l1ti] {
    flex: 1;
    min-width: 0;
}

.pager-controls[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn[b-rs5d35l1ti] {
    width: 32px;
    height: 32px;
    border: 1px solid #d2d0ce;
    border-radius: 6px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.15s;
    font-family: inherit;
}

.page-btn:hover:not(:disabled)[b-rs5d35l1ti] {
    background: #f3f2f1;
    border-color: #7a1f33;
    color: #7a1f33;
}

.page-btn:disabled[b-rs5d35l1ti] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info[b-rs5d35l1ti] {
    padding: 0 12px;
    font-size: 12px;
    color: #323130;
    font-weight: 500;
}

.pager-size[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pager-size label[b-rs5d35l1ti] {
    font-size: 12px;
    color: #605e5c;
}

.pager-size select[b-rs5d35l1ti] {
    padding: 4px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    font-family: inherit;
}

.pager-size select:focus[b-rs5d35l1ti] {
    outline: none;
    border-color: #7a1f33;
}

/* ===========================================================
   Custom Dropdown (combo no nativo con ellipsis y tooltip)
   - Respeta el ancho del contenedor (no se autoexpande como <select>)
   - Texto truncado con ellipsis; al hover el tooltip nativo muestra completo
=========================================================== */
.custom-dropdown[b-rs5d35l1ti] {
    position: relative;
    width: 100%;
}

.dropdown-trigger[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    color: #323130;
    font-size: 0.9375rem;
    font-family: inherit;
    padding: 10px 14px;
    border: 1px solid #8a8886;
    border-radius: 2px;
    transition: border-color 0.1s;
    box-sizing: border-box;
}

.dropdown-trigger:hover:not(:disabled)[b-rs5d35l1ti] {
    border-color: #323130;
}

.custom-dropdown.open .dropdown-trigger[b-rs5d35l1ti] {
    border-color: #7a1f33;
}

.dropdown-trigger:disabled[b-rs5d35l1ti] {
    background: #f3f2f1;
    color: #a19f9d;
    cursor: not-allowed;
}

.dropdown-text[b-rs5d35l1ti] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.dropdown-text.placeholder[b-rs5d35l1ti] {
    color: #605e5c;
    font-style: italic;
}

.dropdown-caret[b-rs5d35l1ti] {
    flex-shrink: 0;
    color: #605e5c;
    transition: transform 0.15s;
    font-size: 12px;
}

.custom-dropdown.open .dropdown-caret[b-rs5d35l1ti] {
    transform: rotate(180deg);
    color: #7a1f33;
}

.dropdown-list[b-rs5d35l1ti] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
    padding: 4px 0;
    animation: dropdownSlide-b-rs5d35l1ti 0.15s ease-out;
}

@keyframes dropdownSlide-b-rs5d35l1ti {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item[b-rs5d35l1ti] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #323130;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.1s;
}

.dropdown-item:hover[b-rs5d35l1ti] {
    background: #f3f2f1;
}

.dropdown-item.selected[b-rs5d35l1ti] {
    background: #f8eef0;
    color: #7a1f33;
    font-weight: 600;
}

.dropdown-item.placeholder[b-rs5d35l1ti] {
    color: #605e5c;
    font-style: italic;
}

/* Items multiselección (checkbox + etiqueta) */
.dropdown-item-multi[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item-multi i[b-rs5d35l1ti] {
    font-size: 15px;
    color: #7a1f33;
    flex-shrink: 0;
}

.dropdown-item-multi span[b-rs5d35l1ti] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-item-all[b-rs5d35l1ti] {
    border-bottom: 1px solid #edebe9;
    font-weight: 600;
    color: #605e5c;
}

.dropdown-empty[b-rs5d35l1ti] {
    padding: 12px 14px;
    font-size: 13px;
    color: #a19f9d;
    font-style: italic;
    text-align: center;
}

.dropdown-list[b-rs5d35l1ti]::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list[b-rs5d35l1ti]::-webkit-scrollbar-track {
    background: #f3f2f1;
}

.dropdown-list[b-rs5d35l1ti]::-webkit-scrollbar-thumb {
    background: #c8c6c4;
    border-radius: 4px;
}

.dropdown-list[b-rs5d35l1ti]::-webkit-scrollbar-thumb:hover {
    background: #a19f9d;
}

/* ===========================================================
   Canvas de Exportacion (PatronExportacion)
=========================================================== */
.export-grid[b-rs5d35l1ti] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 8px 0;
}

/* Variante de 2 tarjetas (Excel/CSV) dentro del canvas de selección */
.export-grid-2[b-rs5d35l1ti] {
    grid-template-columns: 1fr 1fr;
}

.export-card[b-rs5d35l1ti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    border: 1px solid #d2d0ce;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.export-card:hover[b-rs5d35l1ti] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.export-card:active[b-rs5d35l1ti] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.export-card.selected[b-rs5d35l1ti] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.08);
    box-shadow: 0 0 0 2px #7a1f33, 0 4px 12px rgba(122, 31, 51, 0.15);
    transform: translateY(-2px);
}

.export-card.selected i[b-rs5d35l1ti] {
    transform: scale(1.1);
}

.export-card i[b-rs5d35l1ti] {
    font-size: 34px;
    transition: transform 0.2s;
}

.export-icon-pdf[b-rs5d35l1ti]    { color: #d13438; }
.export-icon-html[b-rs5d35l1ti]   { color: #e44d26; }
.export-icon-csv[b-rs5d35l1ti]    { color: #107c10; }
.export-icon-excel[b-rs5d35l1ti]  { color: #217346; }
.export-icon-txt[b-rs5d35l1ti]    { color: #605e5c; }
.export-icon-word[b-rs5d35l1ti]   { color: #2b579a; }

.export-card span[b-rs5d35l1ti] {
    font-size: 14px;
    font-weight: 600;
    color: #323130;
}

.export-card small[b-rs5d35l1ti] {
    font-size: 11px;
    color: #605e5c;
    text-align: center;
}

.export-filename-section[b-rs5d35l1ti] {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e1dfdd;
}

.export-filename-row[b-rs5d35l1ti] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
}

.export-filename-input[b-rs5d35l1ti] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #d2d0ce;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    color: #323130;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    min-width: 0;
}

.export-filename-input:focus[b-rs5d35l1ti] {
    border-color: #7a1f33;
}

.export-filename-ext[b-rs5d35l1ti] {
    padding: 9px 14px;
    background: #f3f2f1;
    border: 1px solid #d2d0ce;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #605e5c;
    white-space: nowrap;
}

@media (max-width: 540px) {
    .export-grid[b-rs5d35l1ti] {
        grid-template-columns: 1fr;
    }
}

/* /Pages/Reportes/ResumenCuentasBancarias.razor.rz.scp.css */
/* ===========================================================
   Layout principal de la pagina
=========================================================== */
.office-ribbon-page[b-exlq25fkff] {
    min-height: 100vh;
    background: #e8e8e8;
    padding: 12px;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===========================================================
   Ribbon (PatronRibbon)
=========================================================== */
.ribbon-outer-container[b-exlq25fkff] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.custom-ribbon[b-exlq25fkff] {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 209, 209, 0.5);
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
}

.ribbon-tabs[b-exlq25fkff] {
    display: flex;
    background: rgba(240, 240, 240, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(209, 209, 209, 0.5);
    gap: 2px;
    overflow-x: auto;
    border-radius: 8px 8px 0 0;
}

.ribbon-tab[b-exlq25fkff] {
    background: rgba(224, 224, 224, 0.5);
    border: 1px solid transparent;
    border-bottom: none;
    padding: 4px 16px;
    font-size: 11px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ribbon-tab.active[b-exlq25fkff] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(209, 209, 209, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ribbon-content[b-exlq25fkff] {
    display: flex;
    padding: 8px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    min-height: 88px;
    gap: 3px;
    overflow-x: auto;
}

.ribbon-group[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d4d4d4;
    padding: 3px 6px;
    min-height: 80px;
    flex-shrink: 0;
}

.ribbon-group:last-child[b-exlq25fkff] {
    border-right: none;
}

.ribbon-group-right[b-exlq25fkff] {
    margin-left: auto;
    border-right: none;
    border-left: 1px solid #d4d4d4;
}

.ribbon-group-items[b-exlq25fkff] {
    display: flex;
    gap: 6px;
    flex: 1;
    align-items: flex-start;
    padding: 4px 0 2px 0;
}

.ribbon-group-label[b-exlq25fkff] {
    font-size: 9px;
    color: #666;
    text-align: center;
    padding: 3px;
    border-top: 1px solid #e8e8e8;
    margin: 0 -6px;
    background: #f8f8f8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ribbon-btn[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 80px;
    min-width: 80px;
    min-height: 62px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}

.ribbon-btn i[b-exlq25fkff] {
    font-size: 24px;
    margin-bottom: 4px;
    color: #444;
    line-height: 1;
}

.ribbon-btn span[b-exlq25fkff] {
    font-size: 10px;
    color: #444;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    max-width: 76px;
}

.ribbon-btn:hover:not(:disabled)[b-exlq25fkff] {
    background: #f8eef0;
    border-color: #e3c4cb;
}

.ribbon-btn:active:not(:disabled)[b-exlq25fkff] {
    background: #f0dfe4;
    border-color: #7a1f33;
}

.ribbon-btn-active[b-exlq25fkff] {
    background: #f8eef0;
    border-color: #7a1f33 !important;
    box-shadow: inset 0 -3px 0 #7a1f33;
}

.ribbon-btn-active i[b-exlq25fkff] { color: #7a1f33 !important; }
.ribbon-btn-active span[b-exlq25fkff] { color: #7a1f33 !important; font-weight: 600; }

.ribbon-btn:disabled[b-exlq25fkff] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===========================================================
   Panel de contenido (debajo del ribbon)
=========================================================== */
.content-panel[b-exlq25fkff] {
    background: #f5f5f5;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 16px 20px 20px 20px;
}

.content-panel-title[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #323130;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.content-panel-title i[b-exlq25fkff] {
    color: #7a1f33;
    font-size: 22px;
}

/* Estado vacio inicial */
.empty-state[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    color: #605e5c;
    text-align: center;
    border: 1px dashed #d2d0ce;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.empty-state i[b-exlq25fkff] {
    font-size: 56px;
    color: #c8c6c4;
    margin-bottom: 18px;
}

.empty-state-message[b-exlq25fkff] {
    font-size: 14px;
    color: #605e5c;
}

.empty-state-message strong[b-exlq25fkff] {
    color: #323130;
}

/* Spinner de carga centrado */
.consulta-loading[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid #e1dfdd;
}

.consulta-loading .spinner-border[b-exlq25fkff] {
    width: 32px;
    height: 32px;
    border-width: 3px;
    color: #7a1f33;
}

.consulta-loading p[b-exlq25fkff] {
    margin: 0;
    color: #605e5c;
    font-size: 14px;
}

/* ===========================================================
   Infobar azul (periodo + badge contador)
=========================================================== */
.info-bar[b-exlq25fkff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8eef0;
    border: 1px solid #e3c4cb;
    border-radius: 6px;
    margin-bottom: 12px;
    gap: 12px;
}

.info-bar-text[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a0f1d;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-bar-text i[b-exlq25fkff] {
    color: #7a1f33;
    font-size: 16px;
    flex-shrink: 0;
}

.info-bar-badge[b-exlq25fkff] {
    background: #7a1f33;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.info-bar-actions[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-exportar-consulta[b-exlq25fkff] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #7a1f33;
    background: #fff;
    color: #7a1f33;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-exportar-consulta:hover[b-exlq25fkff] {
    background: #7a1f33;
    color: #fff;
}

.btn-exportar-consulta i[b-exlq25fkff] {
    font-size: 14px;
}

/* ===========================================================
   Tabs horizontales (una pestania por tabla del SP)
=========================================================== */
.consulta-tabs[b-exlq25fkff] {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #d2d0ce;
    padding: 0;
    overflow-x: auto;
    margin-bottom: 0;
}

.consulta-tab[b-exlq25fkff] {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #605e5c;
    transition: all 0.15s;
    white-space: nowrap;
    margin-bottom: -2px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consulta-tab:hover:not(.active)[b-exlq25fkff] {
    background: #f3f2f1;
    color: #323130;
}

.consulta-tab.active[b-exlq25fkff] {
    background: #fff;
    border-color: #d2d0ce;
    border-bottom: 2px solid #fff;
    color: #7a1f33;
    font-weight: 600;
}

.tab-count[b-exlq25fkff] {
    font-size: 11px;
    padding: 2px 8px;
    background: #f3f2f1;
    color: #605e5c;
    border-radius: 10px;
    font-weight: 600;
}

.consulta-tab.active .tab-count[b-exlq25fkff] {
    background: #f8eef0;
    color: #7a1f33;
}

/* ===========================================================
   Acordeones (una sección por tabla del SP)
=========================================================== */
.acordeon-list[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acordeon-item[b-exlq25fkff] {
    border: 1px solid #d2d0ce;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    animation: fadeIn-b-exlq25fkff 0.3s ease-out;
}

.acordeon-item-resumen[b-exlq25fkff] {
    border-color: #7a1f33;
}

.acordeon-header[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #323130;
    text-align: left;
    transition: background 0.15s;
}

.acordeon-header:hover[b-exlq25fkff] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
}

.acordeon-header.open[b-exlq25fkff] {
    color: #7a1f33;
    border-bottom-color: #d2d0ce;
}

.acordeon-item-resumen .acordeon-header[b-exlq25fkff] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    color: #4a0f1d;
}

.acordeon-chevron[b-exlq25fkff] {
    font-size: 12px;
    color: #605e5c;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.acordeon-header.open .acordeon-chevron[b-exlq25fkff] {
    transform: rotate(90deg);
    color: #7a1f33;
}

.acordeon-title[b-exlq25fkff] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acordeon-count[b-exlq25fkff] {
    flex-shrink: 0;
    font-size: 11px;
    padding: 2px 10px;
    background: #f8eef0;
    color: #7a1f33;
    border-radius: 10px;
    font-weight: 600;
}

.acordeon-body[b-exlq25fkff] {
    padding: 0;
}

/* La tabla dentro de un acordeón no necesita las esquinas/borde de la variante tabs */
.acordeon-body .results-container[b-exlq25fkff] {
    border: none;
    border-radius: 0;
    animation: none;
}

/* ===========================================================
   Tabla de resultados (PatronTablas - inline + selector pagina)
=========================================================== */
.results-container[b-exlq25fkff] {
    background: #fff;
    border: 1px solid #d2d0ce;
    border-top: none;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    animation: fadeIn-b-exlq25fkff 0.3s ease-out;
}

@keyframes fadeIn-b-exlq25fkff {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.results-table-scroll[b-exlq25fkff] {
    max-height: 55vh;
    overflow: auto;
}

.results-table[b-exlq25fkff] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    color: #323130;
}

.results-table thead[b-exlq25fkff] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.results-table thead tr:first-child th[b-exlq25fkff] {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #605e5c;
    border-bottom: 1px solid #d2d0ce;
    cursor: pointer;
    user-select: none;
    text-align: left;
    white-space: nowrap;
}

.results-table thead tr:first-child th:hover[b-exlq25fkff] {
    background: linear-gradient(180deg, #e8e8e8 0%, #e1dfdd 100%);
}

.th-content[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-icon[b-exlq25fkff] {
    font-size: 10px;
    color: #7a1f33;
}

.results-table thead tr.filter-row th[b-exlq25fkff] {
    background: #fff;
    padding: 6px 10px;
    border-bottom: 1px solid #e1dfdd;
}

.col-filter-input[b-exlq25fkff] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 11px;
    font-family: inherit;
    background: #fff;
    color: #323130;
    box-sizing: border-box;
}

.col-filter-input:focus[b-exlq25fkff] {
    outline: none;
    border-color: #7a1f33;
    box-shadow: 0 0 0 1px rgba(122, 31, 51, 0.3);
}

.col-filter-input[b-exlq25fkff]::placeholder {
    color: #a19f9d;
    font-style: italic;
}

.results-table tbody tr[b-exlq25fkff] {
    border-bottom: 1px solid #f3f2f1;
}

.results-table tbody tr:nth-child(even)[b-exlq25fkff] {
    background: rgba(0, 0, 0, 0.02);
}

.results-table tbody tr:hover[b-exlq25fkff] {
    background: rgba(122, 31, 51, 0.06);
}

.results-table tbody td[b-exlq25fkff] {
    padding: 8px 12px;
    color: #323130;
    white-space: nowrap;
}

.no-results-cell[b-exlq25fkff] {
    text-align: center !important;
    padding: 32px 16px !important;
    color: #a19f9d;
    font-style: italic;
}

/* Columna de importe (última): alineada a la derecha y con cifras tabulares */
.results-table td.celda-importe[b-exlq25fkff] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.results-table th.celda-importe .th-content[b-exlq25fkff] {
    justify-content: flex-end;
}

/* ===========================================================
   Fila de totales (tfoot) — Totalizador por columna de Importe
=========================================================== */
.results-table tfoot[b-exlq25fkff] {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.results-table tfoot tr.totals-row[b-exlq25fkff] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    border-top: 2px solid #7a1f33;
}

.results-table tfoot td[b-exlq25fkff] {
    padding: 10px 12px;
    font-weight: 600;
    color: #323130;
    border-top: 2px solid #7a1f33;
    border-bottom: none;
    white-space: nowrap;
}

.results-table tfoot td.total-label-cell[b-exlq25fkff] {
    text-align: right;
    color: #605e5c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table tfoot td.total-cell[b-exlq25fkff] {
    color: #7a1f33;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Paginacion */
.results-pagination[b-exlq25fkff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e1dfdd;
    background: #fafafa;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #605e5c;
}

.pager-info[b-exlq25fkff] {
    flex: 1;
    min-width: 0;
}

.pager-controls[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn[b-exlq25fkff] {
    width: 32px;
    height: 32px;
    border: 1px solid #d2d0ce;
    border-radius: 6px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.15s;
    font-family: inherit;
}

.page-btn:hover:not(:disabled)[b-exlq25fkff] {
    background: #f3f2f1;
    border-color: #7a1f33;
    color: #7a1f33;
}

.page-btn:disabled[b-exlq25fkff] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info[b-exlq25fkff] {
    padding: 0 12px;
    font-size: 12px;
    color: #323130;
    font-weight: 500;
}

.pager-size[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pager-size label[b-exlq25fkff] {
    font-size: 12px;
    color: #605e5c;
}

.pager-size select[b-exlq25fkff] {
    padding: 4px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    font-family: inherit;
}

.pager-size select:focus[b-exlq25fkff] {
    outline: none;
    border-color: #7a1f33;
}

/* ===========================================================
   Custom Dropdown (combo no nativo con ellipsis y tooltip)
   - Respeta el ancho del contenedor (no se autoexpande como <select>)
   - Texto truncado con ellipsis; al hover el tooltip nativo muestra completo
=========================================================== */
.custom-dropdown[b-exlq25fkff] {
    position: relative;
    width: 100%;
}

.dropdown-trigger[b-exlq25fkff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    color: #323130;
    font-size: 0.9375rem;
    font-family: inherit;
    padding: 10px 14px;
    border: 1px solid #8a8886;
    border-radius: 2px;
    transition: border-color 0.1s;
    box-sizing: border-box;
}

.dropdown-trigger:hover:not(:disabled)[b-exlq25fkff] {
    border-color: #323130;
}

.custom-dropdown.open .dropdown-trigger[b-exlq25fkff] {
    border-color: #7a1f33;
}

.dropdown-trigger:disabled[b-exlq25fkff] {
    background: #f3f2f1;
    color: #a19f9d;
    cursor: not-allowed;
}

.dropdown-text[b-exlq25fkff] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.dropdown-text.placeholder[b-exlq25fkff] {
    color: #605e5c;
    font-style: italic;
}

.dropdown-caret[b-exlq25fkff] {
    flex-shrink: 0;
    color: #605e5c;
    transition: transform 0.15s;
    font-size: 12px;
}

.custom-dropdown.open .dropdown-caret[b-exlq25fkff] {
    transform: rotate(180deg);
    color: #7a1f33;
}

.dropdown-list[b-exlq25fkff] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
    padding: 4px 0;
    animation: dropdownSlide-b-exlq25fkff 0.15s ease-out;
}

@keyframes dropdownSlide-b-exlq25fkff {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item[b-exlq25fkff] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #323130;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.1s;
}

.dropdown-item:hover[b-exlq25fkff] {
    background: #f3f2f1;
}

.dropdown-item.selected[b-exlq25fkff] {
    background: #f8eef0;
    color: #7a1f33;
    font-weight: 600;
}

.dropdown-item.placeholder[b-exlq25fkff] {
    color: #605e5c;
    font-style: italic;
}

/* Items multiselección (checkbox + etiqueta) */
.dropdown-item-multi[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item-multi i[b-exlq25fkff] {
    font-size: 15px;
    color: #7a1f33;
    flex-shrink: 0;
}

.dropdown-item-multi span[b-exlq25fkff] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-item-all[b-exlq25fkff] {
    border-bottom: 1px solid #edebe9;
    font-weight: 600;
    color: #605e5c;
}

.dropdown-empty[b-exlq25fkff] {
    padding: 12px 14px;
    font-size: 13px;
    color: #a19f9d;
    font-style: italic;
    text-align: center;
}

.dropdown-list[b-exlq25fkff]::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list[b-exlq25fkff]::-webkit-scrollbar-track {
    background: #f3f2f1;
}

.dropdown-list[b-exlq25fkff]::-webkit-scrollbar-thumb {
    background: #c8c6c4;
    border-radius: 4px;
}

.dropdown-list[b-exlq25fkff]::-webkit-scrollbar-thumb:hover {
    background: #a19f9d;
}

/* ===========================================================
   Canvas de Exportacion (PatronExportacion)
=========================================================== */
.export-grid[b-exlq25fkff] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 8px 0;
}

/* Variante de 2 tarjetas (Excel/CSV) dentro del canvas de selección */
.export-grid-2[b-exlq25fkff] {
    grid-template-columns: 1fr 1fr;
}

.export-card[b-exlq25fkff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    border: 1px solid #d2d0ce;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.export-card:hover[b-exlq25fkff] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.export-card:active[b-exlq25fkff] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.export-card.selected[b-exlq25fkff] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.08);
    box-shadow: 0 0 0 2px #7a1f33, 0 4px 12px rgba(122, 31, 51, 0.15);
    transform: translateY(-2px);
}

.export-card.selected i[b-exlq25fkff] {
    transform: scale(1.1);
}

.export-card i[b-exlq25fkff] {
    font-size: 34px;
    transition: transform 0.2s;
}

.export-icon-pdf[b-exlq25fkff]    { color: #d13438; }
.export-icon-html[b-exlq25fkff]   { color: #e44d26; }
.export-icon-csv[b-exlq25fkff]    { color: #107c10; }
.export-icon-excel[b-exlq25fkff]  { color: #217346; }
.export-icon-txt[b-exlq25fkff]    { color: #605e5c; }
.export-icon-word[b-exlq25fkff]   { color: #2b579a; }

.export-card span[b-exlq25fkff] {
    font-size: 14px;
    font-weight: 600;
    color: #323130;
}

.export-card small[b-exlq25fkff] {
    font-size: 11px;
    color: #605e5c;
    text-align: center;
}

.export-filename-section[b-exlq25fkff] {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e1dfdd;
}

.export-filename-row[b-exlq25fkff] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
}

.export-filename-input[b-exlq25fkff] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #d2d0ce;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    color: #323130;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    min-width: 0;
}

.export-filename-input:focus[b-exlq25fkff] {
    border-color: #7a1f33;
}

.export-filename-ext[b-exlq25fkff] {
    padding: 9px 14px;
    background: #f3f2f1;
    border: 1px solid #d2d0ce;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #605e5c;
    white-space: nowrap;
}

@media (max-width: 540px) {
    .export-grid[b-exlq25fkff] {
        grid-template-columns: 1fr;
    }
}

/* /Pages/Reportes/ResumenCuentasPension.razor.rz.scp.css */
/* ===========================================================
   Layout principal de la pagina
=========================================================== */
.office-ribbon-page[b-mpfm6n1893] {
    min-height: 100vh;
    background: #e8e8e8;
    padding: 12px;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===========================================================
   Ribbon (PatronRibbon)
=========================================================== */
.ribbon-outer-container[b-mpfm6n1893] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.custom-ribbon[b-mpfm6n1893] {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 209, 209, 0.5);
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
}

.ribbon-tabs[b-mpfm6n1893] {
    display: flex;
    background: rgba(240, 240, 240, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(209, 209, 209, 0.5);
    gap: 2px;
    overflow-x: auto;
    border-radius: 8px 8px 0 0;
}

.ribbon-tab[b-mpfm6n1893] {
    background: rgba(224, 224, 224, 0.5);
    border: 1px solid transparent;
    border-bottom: none;
    padding: 4px 16px;
    font-size: 11px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ribbon-tab.active[b-mpfm6n1893] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(209, 209, 209, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ribbon-content[b-mpfm6n1893] {
    display: flex;
    padding: 8px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    min-height: 88px;
    gap: 3px;
    overflow-x: auto;
}

.ribbon-group[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d4d4d4;
    padding: 3px 6px;
    min-height: 80px;
    flex-shrink: 0;
}

.ribbon-group:last-child[b-mpfm6n1893] {
    border-right: none;
}

.ribbon-group-right[b-mpfm6n1893] {
    margin-left: auto;
    border-right: none;
    border-left: 1px solid #d4d4d4;
}

.ribbon-group-items[b-mpfm6n1893] {
    display: flex;
    gap: 6px;
    flex: 1;
    align-items: flex-start;
    padding: 4px 0 2px 0;
}

.ribbon-group-label[b-mpfm6n1893] {
    font-size: 9px;
    color: #666;
    text-align: center;
    padding: 3px;
    border-top: 1px solid #e8e8e8;
    margin: 0 -6px;
    background: #f8f8f8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ribbon-btn[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 80px;
    min-width: 80px;
    min-height: 62px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}

.ribbon-btn i[b-mpfm6n1893] {
    font-size: 24px;
    margin-bottom: 4px;
    color: #444;
    line-height: 1;
}

.ribbon-btn span[b-mpfm6n1893] {
    font-size: 10px;
    color: #444;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    max-width: 76px;
}

.ribbon-btn:hover:not(:disabled)[b-mpfm6n1893] {
    background: #f8eef0;
    border-color: #e3c4cb;
}

.ribbon-btn:active:not(:disabled)[b-mpfm6n1893] {
    background: #f0dfe4;
    border-color: #7a1f33;
}

.ribbon-btn-active[b-mpfm6n1893] {
    background: #f8eef0;
    border-color: #7a1f33 !important;
    box-shadow: inset 0 -3px 0 #7a1f33;
}

.ribbon-btn-active i[b-mpfm6n1893] { color: #7a1f33 !important; }
.ribbon-btn-active span[b-mpfm6n1893] { color: #7a1f33 !important; font-weight: 600; }

.ribbon-btn:disabled[b-mpfm6n1893] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===========================================================
   Panel de contenido (debajo del ribbon)
=========================================================== */
.content-panel[b-mpfm6n1893] {
    background: #f5f5f5;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 16px 20px 20px 20px;
}

.content-panel-title[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #323130;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.content-panel-title i[b-mpfm6n1893] {
    color: #7a1f33;
    font-size: 22px;
}

/* Estado vacio inicial */
.empty-state[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    color: #605e5c;
    text-align: center;
    border: 1px dashed #d2d0ce;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.empty-state i[b-mpfm6n1893] {
    font-size: 56px;
    color: #c8c6c4;
    margin-bottom: 18px;
}

.empty-state-message[b-mpfm6n1893] {
    font-size: 14px;
    color: #605e5c;
}

.empty-state-message strong[b-mpfm6n1893] {
    color: #323130;
}

/* Spinner de carga centrado */
.consulta-loading[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid #e1dfdd;
}

.consulta-loading .spinner-border[b-mpfm6n1893] {
    width: 32px;
    height: 32px;
    border-width: 3px;
    color: #7a1f33;
}

.consulta-loading p[b-mpfm6n1893] {
    margin: 0;
    color: #605e5c;
    font-size: 14px;
}

/* ===========================================================
   Infobar azul (periodo + badge contador)
=========================================================== */
.info-bar[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8eef0;
    border: 1px solid #e3c4cb;
    border-radius: 6px;
    margin-bottom: 12px;
    gap: 12px;
}

.info-bar-text[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a0f1d;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-bar-text i[b-mpfm6n1893] {
    color: #7a1f33;
    font-size: 16px;
    flex-shrink: 0;
}

.info-bar-badge[b-mpfm6n1893] {
    background: #7a1f33;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.info-bar-actions[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-exportar-consulta[b-mpfm6n1893] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #7a1f33;
    background: #fff;
    color: #7a1f33;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-exportar-consulta:hover[b-mpfm6n1893] {
    background: #7a1f33;
    color: #fff;
}

.btn-exportar-consulta i[b-mpfm6n1893] {
    font-size: 14px;
}

/* ===========================================================
   Tabs horizontales (una pestania por tabla del SP)
=========================================================== */
.consulta-tabs[b-mpfm6n1893] {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #d2d0ce;
    padding: 0;
    overflow-x: auto;
    margin-bottom: 0;
}

.consulta-tab[b-mpfm6n1893] {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #605e5c;
    transition: all 0.15s;
    white-space: nowrap;
    margin-bottom: -2px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consulta-tab:hover:not(.active)[b-mpfm6n1893] {
    background: #f3f2f1;
    color: #323130;
}

.consulta-tab.active[b-mpfm6n1893] {
    background: #fff;
    border-color: #d2d0ce;
    border-bottom: 2px solid #fff;
    color: #7a1f33;
    font-weight: 600;
}

.tab-count[b-mpfm6n1893] {
    font-size: 11px;
    padding: 2px 8px;
    background: #f3f2f1;
    color: #605e5c;
    border-radius: 10px;
    font-weight: 600;
}

.consulta-tab.active .tab-count[b-mpfm6n1893] {
    background: #f8eef0;
    color: #7a1f33;
}

/* ===========================================================
   Acordeones (una sección por tabla del SP)
=========================================================== */
.acordeon-list[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acordeon-item[b-mpfm6n1893] {
    border: 1px solid #d2d0ce;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    animation: fadeIn-b-mpfm6n1893 0.3s ease-out;
}

.acordeon-item-resumen[b-mpfm6n1893] {
    border-color: #7a1f33;
}

.acordeon-header[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #323130;
    text-align: left;
    transition: background 0.15s;
}

.acordeon-header:hover[b-mpfm6n1893] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
}

.acordeon-header.open[b-mpfm6n1893] {
    color: #7a1f33;
    border-bottom-color: #d2d0ce;
}

.acordeon-item-resumen .acordeon-header[b-mpfm6n1893] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    color: #4a0f1d;
}

.acordeon-chevron[b-mpfm6n1893] {
    font-size: 12px;
    color: #605e5c;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.acordeon-header.open .acordeon-chevron[b-mpfm6n1893] {
    transform: rotate(90deg);
    color: #7a1f33;
}

.acordeon-title[b-mpfm6n1893] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acordeon-count[b-mpfm6n1893] {
    flex-shrink: 0;
    font-size: 11px;
    padding: 2px 10px;
    background: #f8eef0;
    color: #7a1f33;
    border-radius: 10px;
    font-weight: 600;
}

.acordeon-body[b-mpfm6n1893] {
    padding: 0;
}

/* La tabla dentro de un acordeón no necesita las esquinas/borde de la variante tabs */
.acordeon-body .results-container[b-mpfm6n1893] {
    border: none;
    border-radius: 0;
    animation: none;
}

/* ===========================================================
   Tabla de resultados (PatronTablas - inline + selector pagina)
=========================================================== */
.results-container[b-mpfm6n1893] {
    background: #fff;
    border: 1px solid #d2d0ce;
    border-top: none;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    animation: fadeIn-b-mpfm6n1893 0.3s ease-out;
}

@keyframes fadeIn-b-mpfm6n1893 {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.results-table-scroll[b-mpfm6n1893] {
    max-height: 55vh;
    overflow: auto;
}

.results-table[b-mpfm6n1893] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    color: #323130;
}

.results-table thead[b-mpfm6n1893] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.results-table thead tr:first-child th[b-mpfm6n1893] {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #605e5c;
    border-bottom: 1px solid #d2d0ce;
    cursor: pointer;
    user-select: none;
    text-align: left;
    white-space: nowrap;
}

.results-table thead tr:first-child th:hover[b-mpfm6n1893] {
    background: linear-gradient(180deg, #e8e8e8 0%, #e1dfdd 100%);
}

.th-content[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-icon[b-mpfm6n1893] {
    font-size: 10px;
    color: #7a1f33;
}

.results-table thead tr.filter-row th[b-mpfm6n1893] {
    background: #fff;
    padding: 6px 10px;
    border-bottom: 1px solid #e1dfdd;
}

.col-filter-input[b-mpfm6n1893] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 11px;
    font-family: inherit;
    background: #fff;
    color: #323130;
    box-sizing: border-box;
}

.col-filter-input:focus[b-mpfm6n1893] {
    outline: none;
    border-color: #7a1f33;
    box-shadow: 0 0 0 1px rgba(122, 31, 51, 0.3);
}

.col-filter-input[b-mpfm6n1893]::placeholder {
    color: #a19f9d;
    font-style: italic;
}

.results-table tbody tr[b-mpfm6n1893] {
    border-bottom: 1px solid #f3f2f1;
}

.results-table tbody tr:nth-child(even)[b-mpfm6n1893] {
    background: rgba(0, 0, 0, 0.02);
}

.results-table tbody tr:hover[b-mpfm6n1893] {
    background: rgba(122, 31, 51, 0.06);
}

.results-table tbody td[b-mpfm6n1893] {
    padding: 8px 12px;
    color: #323130;
    white-space: nowrap;
}

.no-results-cell[b-mpfm6n1893] {
    text-align: center !important;
    padding: 32px 16px !important;
    color: #a19f9d;
    font-style: italic;
}

/* Columna de importe (última): alineada a la derecha y con cifras tabulares */
.results-table td.celda-importe[b-mpfm6n1893] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.results-table th.celda-importe .th-content[b-mpfm6n1893] {
    justify-content: flex-end;
}

/* ===========================================================
   Fila de totales (tfoot) — Totalizador por columna de Importe
=========================================================== */
.results-table tfoot[b-mpfm6n1893] {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.results-table tfoot tr.totals-row[b-mpfm6n1893] {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8eef0 100%);
    border-top: 2px solid #7a1f33;
}

.results-table tfoot td[b-mpfm6n1893] {
    padding: 10px 12px;
    font-weight: 600;
    color: #323130;
    border-top: 2px solid #7a1f33;
    border-bottom: none;
    white-space: nowrap;
}

.results-table tfoot td.total-label-cell[b-mpfm6n1893] {
    text-align: right;
    color: #605e5c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table tfoot td.total-cell[b-mpfm6n1893] {
    color: #7a1f33;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Paginacion */
.results-pagination[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e1dfdd;
    background: #fafafa;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #605e5c;
}

.pager-info[b-mpfm6n1893] {
    flex: 1;
    min-width: 0;
}

.pager-controls[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn[b-mpfm6n1893] {
    width: 32px;
    height: 32px;
    border: 1px solid #d2d0ce;
    border-radius: 6px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.15s;
    font-family: inherit;
}

.page-btn:hover:not(:disabled)[b-mpfm6n1893] {
    background: #f3f2f1;
    border-color: #7a1f33;
    color: #7a1f33;
}

.page-btn:disabled[b-mpfm6n1893] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info[b-mpfm6n1893] {
    padding: 0 12px;
    font-size: 12px;
    color: #323130;
    font-weight: 500;
}

.pager-size[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pager-size label[b-mpfm6n1893] {
    font-size: 12px;
    color: #605e5c;
}

.pager-size select[b-mpfm6n1893] {
    padding: 4px 8px;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    color: #323130;
    cursor: pointer;
    font-family: inherit;
}

.pager-size select:focus[b-mpfm6n1893] {
    outline: none;
    border-color: #7a1f33;
}

/* ===========================================================
   Custom Dropdown (combo no nativo con ellipsis y tooltip)
   - Respeta el ancho del contenedor (no se autoexpande como <select>)
   - Texto truncado con ellipsis; al hover el tooltip nativo muestra completo
=========================================================== */
.custom-dropdown[b-mpfm6n1893] {
    position: relative;
    width: 100%;
}

.dropdown-trigger[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    color: #323130;
    font-size: 0.9375rem;
    font-family: inherit;
    padding: 10px 14px;
    border: 1px solid #8a8886;
    border-radius: 2px;
    transition: border-color 0.1s;
    box-sizing: border-box;
}

.dropdown-trigger:hover:not(:disabled)[b-mpfm6n1893] {
    border-color: #323130;
}

.custom-dropdown.open .dropdown-trigger[b-mpfm6n1893] {
    border-color: #7a1f33;
}

.dropdown-trigger:disabled[b-mpfm6n1893] {
    background: #f3f2f1;
    color: #a19f9d;
    cursor: not-allowed;
}

.dropdown-text[b-mpfm6n1893] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.dropdown-text.placeholder[b-mpfm6n1893] {
    color: #605e5c;
    font-style: italic;
}

.dropdown-caret[b-mpfm6n1893] {
    flex-shrink: 0;
    color: #605e5c;
    transition: transform 0.15s;
    font-size: 12px;
}

.custom-dropdown.open .dropdown-caret[b-mpfm6n1893] {
    transform: rotate(180deg);
    color: #7a1f33;
}

.dropdown-list[b-mpfm6n1893] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
    padding: 4px 0;
    animation: dropdownSlide-b-mpfm6n1893 0.15s ease-out;
}

@keyframes dropdownSlide-b-mpfm6n1893 {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item[b-mpfm6n1893] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #323130;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.1s;
}

.dropdown-item:hover[b-mpfm6n1893] {
    background: #f3f2f1;
}

.dropdown-item.selected[b-mpfm6n1893] {
    background: #f8eef0;
    color: #7a1f33;
    font-weight: 600;
}

.dropdown-item.placeholder[b-mpfm6n1893] {
    color: #605e5c;
    font-style: italic;
}

/* Items multiselección (checkbox + etiqueta) */
.dropdown-item-multi[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item-multi i[b-mpfm6n1893] {
    font-size: 15px;
    color: #7a1f33;
    flex-shrink: 0;
}

.dropdown-item-multi span[b-mpfm6n1893] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-item-all[b-mpfm6n1893] {
    border-bottom: 1px solid #edebe9;
    font-weight: 600;
    color: #605e5c;
}

.dropdown-empty[b-mpfm6n1893] {
    padding: 12px 14px;
    font-size: 13px;
    color: #a19f9d;
    font-style: italic;
    text-align: center;
}

.dropdown-list[b-mpfm6n1893]::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list[b-mpfm6n1893]::-webkit-scrollbar-track {
    background: #f3f2f1;
}

.dropdown-list[b-mpfm6n1893]::-webkit-scrollbar-thumb {
    background: #c8c6c4;
    border-radius: 4px;
}

.dropdown-list[b-mpfm6n1893]::-webkit-scrollbar-thumb:hover {
    background: #a19f9d;
}

/* ===========================================================
   Canvas de Exportacion (PatronExportacion)
=========================================================== */
.export-grid[b-mpfm6n1893] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 8px 0;
}

/* Variante de 2 tarjetas (Excel/CSV) dentro del canvas de selección */
.export-grid-2[b-mpfm6n1893] {
    grid-template-columns: 1fr 1fr;
}

.export-card[b-mpfm6n1893] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    border: 1px solid #d2d0ce;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.export-card:hover[b-mpfm6n1893] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.export-card:active[b-mpfm6n1893] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.export-card.selected[b-mpfm6n1893] {
    border-color: #7a1f33;
    background: rgba(122, 31, 51, 0.08);
    box-shadow: 0 0 0 2px #7a1f33, 0 4px 12px rgba(122, 31, 51, 0.15);
    transform: translateY(-2px);
}

.export-card.selected i[b-mpfm6n1893] {
    transform: scale(1.1);
}

.export-card i[b-mpfm6n1893] {
    font-size: 34px;
    transition: transform 0.2s;
}

.export-icon-pdf[b-mpfm6n1893]    { color: #d13438; }
.export-icon-html[b-mpfm6n1893]   { color: #e44d26; }
.export-icon-csv[b-mpfm6n1893]    { color: #107c10; }
.export-icon-excel[b-mpfm6n1893]  { color: #217346; }
.export-icon-txt[b-mpfm6n1893]    { color: #605e5c; }
.export-icon-word[b-mpfm6n1893]   { color: #2b579a; }

.export-card span[b-mpfm6n1893] {
    font-size: 14px;
    font-weight: 600;
    color: #323130;
}

.export-card small[b-mpfm6n1893] {
    font-size: 11px;
    color: #605e5c;
    text-align: center;
}

.export-filename-section[b-mpfm6n1893] {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e1dfdd;
}

.export-filename-row[b-mpfm6n1893] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
}

.export-filename-input[b-mpfm6n1893] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #d2d0ce;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    color: #323130;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    min-width: 0;
}

.export-filename-input:focus[b-mpfm6n1893] {
    border-color: #7a1f33;
}

.export-filename-ext[b-mpfm6n1893] {
    padding: 9px 14px;
    background: #f3f2f1;
    border: 1px solid #d2d0ce;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #605e5c;
    white-space: nowrap;
}

@media (max-width: 540px) {
    .export-grid[b-mpfm6n1893] {
        grid-template-columns: 1fr;
    }
}

/* /Pages/Tesoreria/MapaProcesos.razor.rz.scp.css */
.mapa-desc[b-co0yq9ensa] {
    font-size: 12.5px;
    color: #666;
    line-height: 1.55;
    max-width: 820px;
    margin: 0 0 14px;
}

/* Estado activo del botón "Ajustar" en el ribbon. */
.ribbon-btn.active[b-co0yq9ensa] {
    background: #f8eef0;
    color: #7a1f33;
    box-shadow: inset 0 -2px 0 #7a1f33;
}

/* Lienzo desplazable: el diagrama es muy ancho (3956px). */
.mapa-canvas[b-co0yq9ensa] {
    overflow: auto;
    max-height: calc(100vh - 280px);
    min-height: 340px;
    background: #fff;
    border: 1px solid var(--fl-accent-border, #e3c4cb);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    cursor: grab;
}
.mapa-canvas.panning[b-co0yq9ensa] {
    cursor: grabbing;
}
/* Evita seleccionar el contenido mientras se arrastra. */
.mapa-canvas.panning .mapa-svg[b-co0yq9ensa] {
    user-select: none;
    pointer-events: none;
}

.mapa-svg[b-co0yq9ensa] {
    display: block;
    height: auto;
}

/* Ajustar al ancho del contenedor. */
.mapa-svg.fit[b-co0yq9ensa] {
    width: 100%;
    max-width: 100%;
}

/* ===== Impresión (Imprimir / PDF): solo el diagrama, completo ===== */
@media print {
    .ribbon-outer-container[b-co0yq9ensa] { display: none !important; }
    .mapa-desc[b-co0yq9ensa] { display: none !important; }
    .mapa-canvas[b-co0yq9ensa] {
        max-height: none !important;
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .mapa-svg[b-co0yq9ensa] {
        width: 100% !important;
        max-width: 100% !important;
    }
}
