/* ARCHIVO GENERADO por tools/generar-tema-oscuro.py: no se edita a mano. Los ajustes van en tema-oscuro.css. */

/* ===== wwwroot/css/app.css ===== */
:where([data-bs-theme="dark"]) .fondo1 {
    background-color: #1b1b1b;
}
:where([data-bs-theme="dark"]) .fondo2 {
    background-color: #1b1b1b;
}
:where([data-bs-theme="dark"]) a, :where([data-bs-theme="dark"]) .btn-link {
    color: #6ebcf3;
}
:where([data-bs-theme="dark"]) #blazor-error-ui {
    background: #35350d;
}
:where([data-bs-theme="dark"]) .loading-progress circle:last-child {
    stroke: #71a8e0;
}
:where([data-bs-theme="dark"]) code {
    color: #d473a3;
}
:where([data-bs-theme="dark"]) body {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .bs-tooltip-bottom .arrow::before {
    border-bottom-color: #ab2b2b;
}
:where([data-bs-theme="dark"]) .loader {
    border-top: 16px solid #186218;
    border-bottom: 16px solid #186218;
}
:where([data-bs-theme="dark"]) .loader1 {
    border-top: 12px solid #204f4f;
    border-bottom: 12px solid #204f4f;
}
:where([data-bs-theme="dark"]) .rueda {
    border: 5px solid #112739;
}
:where([data-bs-theme="dark"]) .modern-typeahead-container.has-error input {
    border: 1px solid #913b43 !important;
}
:where([data-bs-theme="dark"]) .modern-typeahead-container input {
    border: 1px solid #34383d;
}
:where([data-bs-theme="dark"]) .border-danger-container {
    border: 2px solid #ab2b2b !important;
}
:where([data-bs-theme="dark"]) .form-control.is-invalid {
    border-color: #913b43;
}
:where([data-bs-theme="dark"]) .btn {
    border: 0px solid #1f1f1f;
}
:where([data-bs-theme="dark"]) .imagen-setting {
    border: 1px solid #474747;
}
:where([data-bs-theme="dark"]) .imagen-setting-80-80 {
    border: 1px solid #474747;
}
:where([data-bs-theme="dark"]) .bg-blue-claro-btn {
    background-color: #234847 !important;
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .bg-blue-claro-btn:hover {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .bg-blue-in {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .bg-blue-in:hover {
    background-color: #1c3546;
}
:where([data-bs-theme="dark"]) .bg-white-in {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .bg-white-in-border {
    border: 1px solid #474747 !important;
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .bg-white-in-border:hover {
    background-color: #595959 !important;
}
:where([data-bs-theme="dark"]) .icus-buscar-32-32 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-buscar-32-32::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-buscar-32-32:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-buscar-32-32:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-buscar-26-26 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-buscar-26-26::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-buscar-26-26:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-buscar-26-26:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-add-user-32-32 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-add-user-32-32::after {
    background-color: #989fe2;
}
:where([data-bs-theme="dark"]) .icus-add-user-32-32:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-adelante-flecha-dos {
    background-color: #0d3535;
}
:where([data-bs-theme="dark"]) .icus-adelante-flecha-dos::after {
    background-color: #a2f7a2;
}
:where([data-bs-theme="dark"]) .icus-adelante-flecha-dos:hover {
    background-color: #1e4545;
}
:where([data-bs-theme="dark"]) .icus-adelante-flecha-dos:hover::after {
    background-color: #a2f7a2;
}
:where([data-bs-theme="dark"]) .icus-ampliar-txt-26-26 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-ampliar-txt-26-26::after {
    background-color: #989fe2;
}
:where([data-bs-theme="dark"]) .icus-ampliar-txt-26-26:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-calcular-41-41 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-calcular-41-41::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-calcular-41-41:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-calcular-41-41:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-guardar-32-32 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-guardar-32-32::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-guardar-32-32:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-guardar-32-32:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-config-20-20 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-config-20-20::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-config-20-20:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-config-20-20:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-config-24-24 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-config-24-24::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-config-24-24:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-config-24-24:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-add-24-24 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-add-24-24::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-add-24-24:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-add-24-24:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-editar-24x24 {
    background-color: #143927;
}
:where([data-bs-theme="dark"]) .icus-editar-24x24::after {
    background-color: #91f6bb;
}
:where([data-bs-theme="dark"]) .icus-editar-24x24:hover {
    background-color: #11351d;
}
:where([data-bs-theme="dark"]) .icus-editar-24x24:hover::after {
    background-color: #91f6bb;
}
:where([data-bs-theme="dark"]) .icus-reloj-26x26 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-reloj-26x26::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-reloj-26x26:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-reloj-26x26:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-permisos-24x24 {
    background-color: #15484e;
}
:where([data-bs-theme="dark"]) .icus-permisos-24x24:hover {
    background-color: #10383c;
}
:where([data-bs-theme="dark"]) .icus-refrescar-24-24 {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-refrescar-24-24::after {
    background-color: #bbbbbb;
}
:where([data-bs-theme="dark"]) .icus-refrescar-24-24:hover {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-refrescar-24-24:hover::after {
    background-color: #a4a4a4;
}
:where([data-bs-theme="dark"]) .icus-ver-32-32 {
    background-color: #1e242b;
}
:where([data-bs-theme="dark"]) .icus-ver-32-32::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-ver-32-32:hover {
    background-color: #171f26;
}
:where([data-bs-theme="dark"]) .icus-ver-32-32:hover::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-file-browser-32-32 {
    background-color: #1e242b;
}
:where([data-bs-theme="dark"]) .icus-file-browser-32-32::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-file-browser-32-32:hover {
    background-color: #171f26;
}
:where([data-bs-theme="dark"]) .icus-file-browser-32-32:hover::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-moneda-32-32 {
    background-color: #1e242b;
}
:where([data-bs-theme="dark"]) .icus-moneda-32-32::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-moneda-32-32:hover {
    background-color: #171f26;
}
:where([data-bs-theme="dark"]) .icus-moneda-32-32:hover::after {
    background-color: #c1ccde;
}
:where([data-bs-theme="dark"]) .icus-borrar-24-24 {
    background-color: #340d0d;
}
:where([data-bs-theme="dark"]) .icus-borrar-24-24::after {
    background-color: #f26363;
}
:where([data-bs-theme="dark"]) .icus-borrar-24-24:hover {
    background-color: #2c0e0e;
}
:where([data-bs-theme="dark"]) .icus-borrar-24-24:hover::after {
    background-color: #f26363;
}
:where([data-bs-theme="dark"]) .icus-aceptar-32x32 {
    background-color: #142e43;
}
:where([data-bs-theme="dark"]) .icus-aceptar-32x32::after {
    background-color: #67a4e1;
}
:where([data-bs-theme="dark"]) .icus-aceptar-32x32:hover {
    background-color: #102432;
}
:where([data-bs-theme="dark"]) .icus-aceptar-32x32:hover::after {
    background-color: #67a4e1;
}
:where([data-bs-theme="dark"]) .icus-doble-aceptar-32x32 {
    background-color: #142e43;
}
:where([data-bs-theme="dark"]) .icus-doble-aceptar-32x32::after {
    background-color: #67a4e1;
}
:where([data-bs-theme="dark"]) .icus-doble-aceptar-32x32:hover {
    background-color: #102432;
}
:where([data-bs-theme="dark"]) .icus-doble-aceptar-32x32:hover::after {
    background-color: #67a4e1;
}
:where([data-bs-theme="dark"]) .icus-cancelar-32x32 {
    background-color: #310c12;
}
:where([data-bs-theme="dark"]) .icus-cancelar-32x32:hover {
    background-color: #3d0f14;
}
:where([data-bs-theme="dark"]) .icus-upload-32x32 {
    background-color: #483212;
}
:where([data-bs-theme="dark"]) .icus-upload-32x32::after {
    background-color: #f28f5a;
}
:where([data-bs-theme="dark"]) .icus-upload-32x32:hover {
    background-color: #35260d;
}
:where([data-bs-theme="dark"]) .icus-upload-32x32:hover::after {
    background-color: #f28f5a;
}
:where([data-bs-theme="dark"]) .icus-download-32x32 {
    background-color: #142e43;
}
:where([data-bs-theme="dark"]) .icus-download-32x32::after {
    background-color: #82abeb;
}
:where([data-bs-theme="dark"]) .icus-download-32x32:hover {
    background-color: #102432;
}
:where([data-bs-theme="dark"]) .icus-download-32x32:hover::after {
    background-color: #82abeb;
}
:where([data-bs-theme="dark"]) .icus-rotar-reloj-32x32 {
    background-color: #142e43;
}
:where([data-bs-theme="dark"]) .icus-rotar-reloj-32x32::after {
    background-color: #82abeb;
}
:where([data-bs-theme="dark"]) .icus-rotar-reloj-32x32:hover {
    background-color: #102432;
}
:where([data-bs-theme="dark"]) .icus-rotar-reloj-32x32:hover::after {
    background-color: #82abeb;
}
:where([data-bs-theme="dark"]) .icus-file-24-24 {
    background-color: #1e242b;
}
:where([data-bs-theme="dark"]) .icus-file-24-24::after {
    background-color: #97e3f7;
}
:where([data-bs-theme="dark"]) .icus-file-24-24:hover {
    background-color: #171f26;
}
:where([data-bs-theme="dark"]) .icus-file-24-24:hover::after {
    background-color: #97e3f7;
}
:where([data-bs-theme="dark"]) .icus-ocr-24-24 {
    background-color: #1c2d2c;
}
:where([data-bs-theme="dark"]) .icus-ocr-24-24::after {
    background-color: #9ff7ec;
}
:where([data-bs-theme="dark"]) .icus-ocr-24-24:hover {
    background-color: #152826;
}
:where([data-bs-theme="dark"]) .icus-ocr-24-24:hover::after {
    background-color: #9ff7ec;
}
:where([data-bs-theme="dark"]) .icus-pdf-32-32 {
    background-color: #310c12;
}
:where([data-bs-theme="dark"]) .icus-pdf-32-32:hover {
    background-color: #2e1513;
}
:where([data-bs-theme="dark"]) .icus-csv-32-32 {
    background-color: #143927;
}
:where([data-bs-theme="dark"]) .icus-csv-32-32::after {
    background-color: #91f6bb;
}
:where([data-bs-theme="dark"]) .icus-csv-32-32:hover {
    background-color: #11351d;
}
:where([data-bs-theme="dark"]) .icus-csv-32-32:hover::after {
    background-color: #91f6bb;
}
:where([data-bs-theme="dark"]) .icus-docx-32-32::after {
    background-color: #a3bef5;
}
:where([data-bs-theme="dark"]) .icus-pdf-24-24:hover::after {
    background-color: #f26363;
}
:where([data-bs-theme="dark"]) .icus-fact_check-24-24 {
    background-color: #191b2a;
}
:where([data-bs-theme="dark"]) .icus-fact_check-24-24:hover {
    background-color: #21253a;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #2a2a2a;
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .custom-file-input {
    border: 1px solid #3d3d3d;
}
:where([data-bs-theme="dark"]) .border-div {
    border: 1px solid #474747;
}
:where([data-bs-theme="dark"]) .text-tam-12-negrita {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .text-tam-14-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-16-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-18-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-20-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-22-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-24-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-26-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-28-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-30-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-32-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-34-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-36-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-38-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-40-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-42-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-44-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-46-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-48-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-50-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-52-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-54-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-56-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-58-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-60-negrita {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .text-tam-32-negrita-ajus {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .titulo-10 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-11 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-12 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-13 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-14 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-15 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-16 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-17 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-18 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-19 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-20 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-21 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-22 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-23 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-24 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-25 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-26 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-27 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-28 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-29 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .titulo-30 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-10 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-11 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-12 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-13 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-14 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-15 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-16 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-17 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-18 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-19 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-20 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-21 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-22 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-23 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-24 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-25 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-26 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-27 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-28 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-29 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .contenido-30 {
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) input[type="checkbox"] {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) input[type="radio"] {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .bg_color_header_radzen {
    background-color: #2f313a !important;
}
:where([data-bs-theme="dark"]) .color_header_radzen {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .border-per-btn {
    border: 1px solid #333333;
}
:where([data-bs-theme="dark"]) .espacio {
    border-right: 1px solid #1f1f1f;
    border-left: 1px solid #1f1f1f;
}
:where([data-bs-theme="dark"]) .drop-zone {
    border: 2px dashed #525252;
    background: #1a1a1a;
}
:where([data-bs-theme="dark"]) .est-div-panel {
    background: #1a1a1a;
    border: 1px solid #525252;
}
:where([data-bs-theme="dark"]) .accordion-button.collapsed {
    color: #ebebeb !important;
    background-color: #0f213c;
}
:where([data-bs-theme="dark"]) .desabilita-grid {
    background-color: rgba(89, 89, 89, 0.3);
}
:where([data-bs-theme="dark"]) .form-control.invalid {
    border-color: #913b43;
}
:where([data-bs-theme="dark"]) .form-control.invalid:focus {
    border-color: #913b43;
}
:where([data-bs-theme="dark"]) .usuario-profile-icon {
    color: #4c9bf0;
}
:where([data-bs-theme="dark"]) .usuario-inicial {
    background-color: #24578f;
}
:where([data-bs-theme="dark"]) .usuario-inicial-mayor {
    background-color: #24578f;
}
:where([data-bs-theme="dark"]) .usuario-dropdown-menu {
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
}
:where([data-bs-theme="dark"]) .usuario-info {
    color: #cccccc;
}
:where([data-bs-theme="dark"]) .usuario-dropdown-menu .dropdown-item {
    color: #cccccc;
}
:where([data-bs-theme="dark"]) .usuario-dropdown-menu .dropdown-item:hover {
    background-color: #212121;
}
:where([data-bs-theme="dark"]) .dropdown-divider {
    border-top: 1px solid #292929;
}
:where([data-bs-theme="dark"]) .btn-login-personalizado {
    color: #9fa5aa;
}
:where([data-bs-theme="dark"]) .btn-personalizado {
    border: 1px solid #3d3d3d !important;
    color: #c2c2c2;
}
:where([data-bs-theme="dark"]) .btn-personalizado:hover {
    background-color: #2a2a2a;
    border: 1px solid #5c5c5c !important;
    color: #c2c2c2;
}
:where([data-bs-theme="dark"]) .tabla-observaciones tbody td {
    background-color: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .tabla-observaciones tbody tr:nth-child(odd) {
    background-color: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .tabla-observaciones tbody tr:nth-child(even) {
    background-color: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .tabla-observaciones tbody tr + tr {
    border-top: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .tabla-observaciones thead th {
    background-color: #202326 !important;
    border-bottom: 2px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .btn-gray-light {
    background-color: #142e43;
    color: #ebebeb;
    border: 0px solid #2c3034;
}
:where([data-bs-theme="dark"]) .btn-gray-light:hover {
    background-color: #193a54;
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .celda-estilo-horario {
    background-color: #24578f;
}
:where([data-bs-theme="dark"]) .verde-boton-int-filtro:hover {
    background-color: #456a63;
    border-color: #537f77;
}
:where([data-bs-theme="dark"]) .bb_color_header_blazor_bootstrap {
    background-color: #2f313a !important;
}
:where([data-bs-theme="dark"]) .fila-base-destacada {
    background: linear-gradient(135deg, #102432 0%, #0b192d 100%) !important;
}
:where([data-bs-theme="dark"]) .fila-base-destacada:hover {
    background: linear-gradient(135deg, #142e43 0%, #102432 100%) !important;
}
:where([data-bs-theme="dark"]) .fila-base-destacada .btn-light {
    background-color: rgba(26, 26, 26, 0.8) !important;
}
:where([data-bs-theme="dark"]) .avatar-circle-wrapper {
    background-color: #1a1c1f;
    border: 2px solid #2c3034;
}
:where([data-bs-theme="dark"]) .avatar-icon {
    color: #9fa5aa;
}
:where([data-bs-theme="dark"]) .avatar-css {
    border: 3px solid #1f1f1f;
}
:where([data-bs-theme="dark"]) .card-opcion-revision {
    border: 2px solid #262a2e;
}
:where([data-bs-theme="dark"]) .card-descargar:hover {
    border-color: #2b5ca5;
    background: linear-gradient(135deg, rgba(35, 77, 138, 0.05) 0%, rgba(35, 77, 138, 0.1) 100%);
}
:where([data-bs-theme="dark"]) .opcion-icon.bg-download {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%);
}
:where([data-bs-theme="dark"]) .opcion-titulo {
    color: #cbcbdf;
}
:where([data-bs-theme="dark"]) .card-file-info {
    border: 1px solid #2c3034;
    background: #1a1c1f;
}
:where([data-bs-theme="dark"]) .toggle-slider {
    background-color: #25282b;
    border: 1px solid #34383d;
}
:where([data-bs-theme="dark"]) .toggle-slider::before {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .custom-toggle input:checked + .toggle-slider {
    background-color: #234d8a;
}
:where([data-bs-theme="dark"]) .custom-toggle input:checked + .toggle-slider::before {
    background-color: #1a1a1a;
}
:where([data-bs-theme="dark"]) .icus-correo-32x32 {
    background-color: #1a2a1b;
}
:where([data-bs-theme="dark"]) .icus-correo-32x32::after {
    background-color: #9bd39e;
}
:where([data-bs-theme="dark"]) .icus-correo-32x32:hover {
    background-color: #233824;
}
:where([data-bs-theme="dark"]) .icus-reemitir-32x32 {
    background-color: #35260d;
}
:where([data-bs-theme="dark"]) .icus-reemitir-32x32::after {
    background-color: #f28f5a;
}
:where([data-bs-theme="dark"]) .icus-reemitir-32x32:hover {
    background-color: #483212;
}
:where([data-bs-theme="dark"]) .btn-salir-soporte {
    background-color: #2e2e2e;
    color: #ebebeb;
    border: 1px solid #595959;
}
:where([data-bs-theme="dark"]) .btn-salir-soporte:hover:not(:disabled), :where([data-bs-theme="dark"]) .btn-salir-soporte:active:not(:disabled), :where([data-bs-theme="dark"]) .btn-salir-soporte:focus-visible:not(:disabled) {
    background-color: #545454;
    color: #ebebeb;
}
:where([data-bs-theme="dark"]) .pc-tarjeta {
    background: #1a1a1a;
    border: 1px solid #272b35;
}
:where([data-bs-theme="dark"]) .pc-ayuda-texto {
    color: #9fa5aa;
}
:where([data-bs-theme="dark"]) .pc-moneda::before {
    color: #9fa5aa;
}
:where([data-bs-theme="dark"]) .pc-sim {
    background: #111829;
    border-color: #202c45;
}
:where([data-bs-theme="dark"]) .pc-sim-fila {
    border-bottom: 1px dashed #202c45;
}
:where([data-bs-theme="dark"]) .pc-sim-fila small {
    color: #9fa5aa;
}
:where([data-bs-theme="dark"]) .pc-sim-total {
    color: #93b0f6;
}
:where([data-bs-theme="dark"]) .pc-barra-guardar {
    background: rgba(26, 26, 26, 0.96);
}

/* ===== Layout/MainLayout.razor.css ===== */
:where([data-bs-theme="dark"]) .top-row {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #383737 !important;
}

/* ===== Layout/NavMenu.razor.css ===== */
:where([data-bs-theme="dark"]) .navbar-toggler {
    background-color: rgba(26, 26, 26, 0.1) !important;
}
:where([data-bs-theme="dark"]) .nav-item a.active {
    background-color: rgba(26, 26, 26, 0.37) !important;
}
:where([data-bs-theme="dark"]) .nav-item a:hover {
    background-color: rgba(26, 26, 26, 0.1) !important;
}

/* ===== Pages/Auth/ListaUsuarios.razor.css ===== */
:where([data-bs-theme="dark"]) .stat-card {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .stat-label {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .stat-value {
    color: #d0d4d8 !important;
}
:where([data-bs-theme="dark"]) .stat-footer {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .stat-icon-success {
    color: #75e8c2 !important;
}
:where([data-bs-theme="dark"]) .stat-icon-warning {
    background: rgba(138, 102, 40, 0.1) !important;
}
:where([data-bs-theme="dark"]) .stat-icon-info {
    background: rgba(35, 67, 119, 0.1) !important;
}
:where([data-bs-theme="dark"]) .stat-icon-secondary {
    color: #9da2ab !important;
}
:where([data-bs-theme="dark"]) .stat-icon-danger {
    background: rgba(115, 38, 38, 0.1) !important;
}
:where([data-bs-theme="dark"]) .stat-progress .progress {
    background-color: #1c1f23 !important;
}
@media (prefers-color-scheme: dark) {
    :where([data-bs-theme="dark"]) .stat-card {
        border-color: rgba(31, 31, 31, 0.05) !important;
    }
}
:where([data-bs-theme="dark"]) .alert-plan {
    background: linear-gradient(135deg, #0c1b2f 0%, #0f2036 100%) !important;
    border: 1px solid #152f4f !important;
    border-left: 4px solid #2a508f !important;
}
:where([data-bs-theme="dark"]) .alert-plan-icon {
    background: rgba(35, 67, 119, 0.15) !important;
}
:where([data-bs-theme="dark"]) .alert-plan-label {
    color: #96a1b0 !important;
}
:where([data-bs-theme="dark"]) .alert-plan-value {
    color: #c3cddd !important;
}
:where([data-bs-theme="dark"]) .alert-plan-divider {
    background: #112742 !important;
}
:where([data-bs-theme="dark"]) .alert-plan .btn-outline-primary {
    border-color: #2a508f !important;
}
:where([data-bs-theme="dark"]) .alert-plan .btn-outline-primary:hover {
    background: #234377 !important;
    border-color: #2a508f !important;
}

/* ===== Pages/Auth/Perfil.razor.css ===== */
:where([data-bs-theme="dark"]) .profile-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #151c23 100%) !important;
    border: 1px solid #232b34 !important;
}
:where([data-bs-theme="dark"]) .profile-avatar img {
    border: 3px solid #1f1f1f !important;
}
:where([data-bs-theme="dark"]) .profile-card {
    background: #1a1a1a !important;
    border: 1px solid #232b34 !important;
}
:where([data-bs-theme="dark"]) .profile-card-header {
    background: #151c23 !important;
    color: #93b0f6 !important;
    border-bottom: 1px solid #232b34 !important;
}
:where([data-bs-theme="dark"]) .profile-field-label {
    color: #96a1b0 !important;
}
:where([data-bs-theme="dark"]) .profile-field-label i {
    color: #93b0f6 !important;
}
:where([data-bs-theme="dark"]) .profile-field-value {
    background: #151c23 !important;
    border: 1px solid #232b34 !important;
    color: #c3cddd !important;
}
:where([data-bs-theme="dark"]) .profile-field-value:hover {
    background: #171f26 !important;
    border-color: #2e3640 !important;
}

/* ===== Pages/General/DatosInmueble.razor.css ===== */
:where([data-bs-theme="dark"]) .input_container {
    border: 1px solid #2e2e2e !important;
}
:where([data-bs-theme="dark"]) .btn-file input[type=file] {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .color-invisible {
    color: rgba(235, 235, 235, 0) !important;
}

/* ===== Pages/General/GaleriaInm.razor.css ===== */
:where([data-bs-theme="dark"]) .rz-datatable-thead th, :where([data-bs-theme="dark"]) .rz-grid-table thead th {
    background-color: #2e2e2e !important;
}

/* ===== Pages/General/GaleriaInmOrdenar.razor.css ===== */
:where([data-bs-theme="dark"]) option {
    background-color: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) option:hover:before {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) option:hover {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) select {
    color: #ace09a !important;
}

/* ===== Pages/General/Incidencia.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/General/InformeFinal.razor.css ===== */
:where([data-bs-theme="dark"]) .pdf-preview-container {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .pdf-preview-iframe {
    border: 1px solid #2c3034 !important;
    background: #1a1a1a !important;
}

/* ===== Pages/General/JustiMetodosFuentesCon.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/General/ParametrizarPlantilla.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/General/ParametrizarPlantillaFactorHomog.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}
:where([data-bs-theme="dark"]) .tabla-res td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}

/* ===== Pages/General/UbicacionInm.razor.css ===== */
:where([data-bs-theme="dark"]) .bk-mapa {
    background-color: #595959 !important;
}

/* ===== Pages/Metodos/MetodoCostoFittoAreasBla.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/Metodos/MetodoCostoRossHeideckeBla.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/Metodos/MetodoMercadoNoPhBla.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}
:where([data-bs-theme="dark"]) .tabla-res td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}

/* ===== Pages/Metodos/MetodoMercadoPh.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}
:where([data-bs-theme="dark"]) .tabla-res td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}

/* ===== Pages/Metodos/MetodoRentaHomoBla.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}
:where([data-bs-theme="dark"]) .tabla-per {
    background-color: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .border-per-btn {
    border: 1px solid #333333 !important;
}

/* ===== Pages/Metodos/MetodoResidualBla.razor.css ===== */
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}

/* ===== Pages/Radicacion/HorarioRadicaDos.razor.css ===== */
:where([data-bs-theme="dark"]) .panel-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a1c1f 100%) !important;
}
:where([data-bs-theme="dark"]) .badge-week {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .card-header-grid {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .card-footer {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .header-day {
    background-color: #234d8a !important;
}
:where([data-bs-theme="dark"]) .header-day .day-number {
    background: rgba(26, 26, 26, 0.2) !important;
    border: 2px solid rgba(31, 31, 31, 0.6) !important;
}
:where([data-bs-theme="dark"]) .header-day.is-today .day-number {
    background: rgba(26, 26, 26, 0.25) !important;
    border-color: rgba(31, 31, 31, 0.8) !important;
}
:where([data-bs-theme="dark"]) .header-day.is-today .today-indicator {
    background: #8c7223 !important;
}
:where([data-bs-theme="dark"]) .celda-disponible {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .celda-disponible:hover {
    background: rgba(35, 77, 138, 0.04) !important;
}
:where([data-bs-theme="dark"]) .celda-deshabilitada {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .radicado-badge {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .time-badge {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .rz-datatable .rz-cell {
    border-right: 1px solid rgba(44, 48, 52, 0.5) !important;
}

/* ===== Shared/Componentes/EmailLogsViewer.razor.css ===== */
:where([data-bs-theme="dark"]) .bg-gradient-primary {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%) !important;
}
:where([data-bs-theme="dark"]) .logs-container::-webkit-scrollbar-track {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .logs-container::-webkit-scrollbar-thumb {
    background: #393939 !important;
}
:where([data-bs-theme="dark"]) .logs-container::-webkit-scrollbar-thumb:hover {
    background: #393948 !important;
}

/* ===== Shared/Componentes/MensajeDialogo.razor.css ===== */
:where([data-bs-theme="dark"]) .mensaje-dialogo-body {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .lista-mensajes-item {
    background: #1a1c1f !important;
    border-left: 4px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .mensaje-numero.bg-warning {
    background: #8c7223 !important;
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .mensaje-numero.bg-danger {
    background: #793138 !important;
}
:where([data-bs-theme="dark"]) .mensaje-numero.bg-info {
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .mensaje-texto {
    color: #d0d4d8 !important;
}
:where([data-bs-theme="dark"]) .mensaje-dialogo-footer {
    background: #1a1c1f !important;
    border-top: 1px solid #2c3034 !important;
}

/* ===== Shared/Componentes/MensajesDialogDos.razor.css ===== */
:where([data-bs-theme="dark"]) .mensajes-list-container {
    background: linear-gradient(180deg, #1a1a1a 0%, #1a1c1f 100%) !important;
}
:where([data-bs-theme="dark"]) .list-group-item {
    background-color: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .list-group-item:hover {
    background-color: #352c0d !important;
}
:where([data-bs-theme="dark"]) .icon-indicator {
    background-color: #3d320f !important;
}
:where([data-bs-theme="dark"]) .mensajes-header {
    background: radial-gradient(circle at center, #1a1a1a 0%, #1a1c1f 100%) !important;
}
:where([data-bs-theme="dark"]) .mensajes-footer {
    background-color: #171b20 !important;
}
:where([data-bs-theme="dark"]) .mensajes-list-container::-webkit-scrollbar-track {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .mensajes-list-container::-webkit-scrollbar-thumb {
    background: #393939 !important;
}
:where([data-bs-theme="dark"]) .mensajes-list-container::-webkit-scrollbar-thumb:hover {
    background: #484848 !important;
}

/* ===== Shared/Componentes/Rueda.razor.css ===== */
:where([data-bs-theme="dark"]) .loading-container {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .spinner-ring {
    border-top-color: #2b5ca5 !important;
    border-right-color: rgba(43, 92, 165, 0.5) !important;
}
:where([data-bs-theme="dark"]) .spinner-core {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%) !important;
}
:where([data-bs-theme="dark"]) .loading-text {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .loading-subtext {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .loading-progress {
    background: #202326 !important;
}
:where([data-bs-theme="dark"]) .progress-bar {
    background: linear-gradient(90deg, #234d8a 0%, #0dcaf0 50%, #198754 100%) !important;
}

/* ===== Shared/Componentes/UcAgregarAreas.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #2a2a2a !important;
    color: #ebebeb !important;
}

/* ===== Shared/Componentes/UcCambiarEstadoUsuario.razor.css ===== */
:where([data-bs-theme="dark"]) .stat-card-option {
    border: 1px solid #232b34 !important;
}
:where([data-bs-theme="dark"]) .stat-value-option {
    color: #cad3e9 !important;
}
:where([data-bs-theme="dark"]) .stat-footer-option {
    color: #96a1b0 !important;
}
:where([data-bs-theme="dark"]) div[style*="overflow-y: auto"]::-webkit-scrollbar-track {
    background: #171f26 !important;
}
:where([data-bs-theme="dark"]) div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
    background: #272d35 !important;
}
:where([data-bs-theme="dark"]) div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
    background: #3e454e !important;
}

/* ===== Shared/Componentes/UcDona.razor.css ===== */
:where([data-bs-theme="dark"]) .uc-dona .uc-num {
    fill: #d0d4d8 !important;
}
:where([data-bs-theme="dark"]) .uc-dona .uc-sub {
    fill: #9fa5aa !important;
}

/* ===== Shared/Componentes/UcEtapasTramite.razor.css ===== */
:where([data-bs-theme="dark"]) .s-fuera {
    background-color: #793138 !important;
}
:where([data-bs-theme="dark"]) .s-riesgo {
    background-color: #875023 !important;
}
:where([data-bs-theme="dark"]) .s-pend {
    background-color: #8c7223 !important;
    color: #d0d4d8 !important;
}

/* ===== Shared/Componentes/UcIncidenciasVisita.razor.css ===== */
:where([data-bs-theme="dark"]) .i-reasignada {
    background-color: #234d8a !important;
}
:where([data-bs-theme="dark"]) .i-reprogramada {
    background-color: #503d73 !important;
}
:where([data-bs-theme="dark"]) .i-fallida {
    background-color: #793138 !important;
}

/* ===== Shared/Componentes/UcIndicadoresTramites.razor.css ===== */
:where([data-bs-theme="dark"]) .s-fuera {
    background-color: #793138 !important;
}
:where([data-bs-theme="dark"]) .s-riesgo {
    background-color: #875023 !important;
}
:where([data-bs-theme="dark"]) .s-pend {
    background-color: #8c7223 !important;
}

/* ===== Shared/Componentes/UcItemsMetodoMercadoPh.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #2a2a2a !important;
    color: #ebebeb !important;
}

/* ===== Shared/Componentes/UcLinderoDetallado.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #2a2a2a !important;
    color: #ebebeb !important;
}

/* ===== Shared/Componentes/UcPanelControl.razor.css ===== */
:where([data-bs-theme="dark"]) .dashboard-header {
    border-bottom: 2px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .dashboard-title {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .dashboard-subtitle {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .card-tramite {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .tramite-title {
    color: #b6bbc0 !important;
}
:where([data-bs-theme="dark"]) .count-number {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .count-time {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .tramite-footer {
    border-top: 1px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .card-revision .tramite-icon.bg-revision, :where([data-bs-theme="dark"]) .card-revision .tramite-badge.bg-revision {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%) !important;
}
:where([data-bs-theme="dark"]) .card-revision:hover {
    border-color: #2b5ca5 !important;
}
:where([data-bs-theme="dark"]) .card-liquidacion .tramite-icon.bg-liquidacion, :where([data-bs-theme="dark"]) .card-liquidacion .tramite-badge.bg-liquidacion {
    background: linear-gradient(135deg, #875023 0%, #e8590c 100%) !important;
}
:where([data-bs-theme="dark"]) .card-liquidacion:hover {
    border-color: #a2602a !important;
}
:where([data-bs-theme="dark"]) .card-total .tramite-icon.bg-total {
    background: linear-gradient(135deg, #503d73 0%, #5a32a3 100%) !important;
}
:where([data-bs-theme="dark"]) .card-total:hover {
    border-color: #614a8a !important;
}

/* ===== Shared/Componentes/UcPanelControlMaster.razor.css ===== */
:where([data-bs-theme="dark"]) .pm-cabecera {
    border-bottom: 2px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .pm-titulo {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .pm-subtitulo {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-seccion {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-peligro {
    background: #2d1111 !important;
    color: #de9c9c !important;
}
:where([data-bs-theme="dark"]) .pm-aviso {
    background: #342814 !important;
    color: #f2cea4 !important;
}
:where([data-bs-theme="dark"]) .pm-info {
    background: #13212f !important;
    color: #97c2ed !important;
}
:where([data-bs-theme="dark"]) .pm-ok {
    background: #262f1a !important;
    color: #caefb0 !important;
}
:where([data-bs-theme="dark"]) .pm-tarjeta {
    background: #1a1a1a !important;
    border: 1px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .pm-metrica {
    background: #1a1c21 !important;
}
:where([data-bs-theme="dark"]) .pm-metrica span {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-leyenda a {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-leyenda a:hover {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .pm-fila {
    border-top: 1px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .pm-fila span {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-acceso {
    background: #1a1a1a !important;
    border: 1px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .pm-vacio {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-medida span {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-pg {
    background: #1d2024 !important;
}
:where([data-bs-theme="dark"]) .pm-nota {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .pm-dona-dato {
    color: #9fa5aa !important;
}

/* ===== Shared/Componentes/UcPlaFactorEntrada.razor.css ===== */
:where([data-bs-theme="dark"]) thead tr th {
    background-color: #212325 !important;
    color: #ebebeb !important;
    border: 1px solid #3c3d3f !important;
}
:where([data-bs-theme="dark"]) .tabla-per td {
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .tableFixHead {
    border: 1px solid #3c3d3f !important;
}

/* ===== Shared/Componentes/UcSemaforoEtapa.razor.css ===== */
:where([data-bs-theme="dark"]) .s-fuera {
    background-color: #793138 !important;
}
:where([data-bs-theme="dark"]) .s-riesgo {
    background-color: #875023 !important;
}
:where([data-bs-theme="dark"]) .s-pend {
    background-color: #8c7223 !important;
    color: #d0d4d8 !important;
}

/* ===== Shared/Componentes/UcVisorTrazabilidadPdf.razor.css ===== */
:where([data-bs-theme="dark"]) .trazabilidad-container {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .viewer-body {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .pdf-canvas-container {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .pdf-canvas-page {
    background: #1a1a1a !important;
}
:where([data-bs-theme="dark"]) .error-overlay {
    background: rgba(121, 49, 56, 0.9) !important;
}
:where([data-bs-theme="dark"]) .viewer-footer {
    background: #1a1c1f !important;
    border-top: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .viewer-body::-webkit-scrollbar-track {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .viewer-body::-webkit-scrollbar-thumb {
    background: #393939 !important;
}
:where([data-bs-theme="dark"]) .viewer-body::-webkit-scrollbar-thumb:hover {
    background: #484848 !important;
}

/* ===== Shared/LoginDisplay.razor.css ===== */
:where([data-bs-theme="dark"]) .notification-bell:hover {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .notification-badge {
    background: #793138 !important;
    border: 0px solid #1f1f1f !important;
}
:where([data-bs-theme="dark"]) .notification-panel {
    background: #1a1a1a !important;
    border: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-header {
    background: #1a1c1f !important;
    border-bottom: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-header h6 {
    color: #d0d4d8 !important;
}
:where([data-bs-theme="dark"]) .notification-item {
    border-bottom: 1px solid #282828 !important;
}
:where([data-bs-theme="dark"]) .notification-item:hover {
    background: #1a1c1f !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-danger {
    background: linear-gradient(135deg, #793138, #c82333) !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-warning {
    background: linear-gradient(135deg, #8c7223, #e0a800) !important;
    color: #ebebeb !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-primary {
    background: linear-gradient(135deg, #234d8a, #0a58ca) !important;
}
:where([data-bs-theme="dark"]) .notification-item-content strong {
    color: #d0d4d8 !important;
}
:where([data-bs-theme="dark"]) .notification-item-content p {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .notification-panel-footer {
    background: #1a1c1f !important;
    border-top: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-track {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-thumb {
    background: #393939 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-thumb:hover {
    background: #484848 !important;
}
:where([data-bs-theme="dark"]) .top-row {
    background: #1a1a1a !important;
    border-bottom: 1px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .notification-panel {
    background: #1a1a1a !important;
    border: 1px solid #262a2e !important;
}
:where([data-bs-theme="dark"]) .notification-panel-header {
    background: linear-gradient(135deg, #1a1c1f 0%, #202326 100%) !important;
    border-bottom: 2px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .header-title h6 {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .btn-mark-read:hover {
    color: #6a9fec !important;
}
:where([data-bs-theme="dark"]) .btn-close-panel {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .notification-item {
    border-bottom: 1px solid #282828 !important;
}
:where([data-bs-theme="dark"]) .notification-item:hover {
    background: linear-gradient(90deg, #1a1c1f 0%, #1a1a1a 100%) !important;
    border-left: 4px solid #2b5ca5 !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-danger {
    background: linear-gradient(135deg, #793138 0%, #c82333 100%) !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-warning {
    background: linear-gradient(135deg, #8c7223 0%, #e0a800 100%) !important;
}
:where([data-bs-theme="dark"]) .notification-item-icon.bg-primary {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%) !important;
}
:where([data-bs-theme="dark"]) .item-title {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .item-description {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .empty-icon {
    background: linear-gradient(135deg, #1f3324 0%, #233a28 100%) !important;
}
:where([data-bs-theme="dark"]) .empty-title {
    color: #cbcbdf !important;
}
:where([data-bs-theme="dark"]) .empty-description {
    color: #9fa5aa !important;
}
:where([data-bs-theme="dark"]) .notification-panel-footer {
    background: #1a1c1f !important;
    border-top: 2px solid #2c3034 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-track {
    background: #212121 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-thumb {
    background: #393939 !important;
}
:where([data-bs-theme="dark"]) .notification-panel-body::-webkit-scrollbar-thumb:hover {
    background: #484848 !important;
}
:where([data-bs-theme="dark"]) .bg-revision {
    background: linear-gradient(135deg, #234d8a 0%, #0a58ca 100%) !important;
}
:where([data-bs-theme="dark"]) .bg-liquidacion {
    background: linear-gradient(135deg, #875023 0%, #e8590c 100%) !important;
}
