/* Iridis / SABTR — layout app y componentes (sin Tailwind en área autenticada) */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.app-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: #001526;
    color: #cfe5ff;
}

.technical-border {
    border: 0.5px solid #1e3d60;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #0f2240;
    display: flex;
    flex-direction: column;
}

.app-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-bottom: 0.5px solid #1e3d60;
}

.app-sidebar-system-logo {
    flex-shrink: 0;
    height: 58px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.app-sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-width: 0;
}

.app-nav {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    gap: 0.25rem;
}

.app-nav-group {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a8ab8;
    padding: 1rem 1rem 0.35rem;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    margin: 0 0.5rem;
    color: #c0c7d3;
    text-decoration: none;
    font-size: 13px;
    border-left: 2px solid transparent;
}

.app-nav-link:hover {
    color: #fff;
    background: rgba(42, 138, 224, 0.08);
}

.app-nav-link.is-active {
    color: #fff;
    background: rgba(42, 138, 224, 0.12);
    border-left-color: #2a8ae0;
}

.app-nav-link .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #001526;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1.25rem;
    background: #0f2240;
    flex-wrap: wrap;
}

.app-topbar-left,
.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-inline-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a8ab8;
}

.app-select {
    background: #0b1628;
    border: 0.5px solid #1e3d60;
    color: #cfe5ff;
    font-size: 12px;
    padding: 0.35rem 0.5rem;
    min-width: 140px;
}

.app-select:disabled {
    opacity: 0.5;
}

.app-header-empresa-logo {
    flex-shrink: 0;
    line-height: 0;
}

.app-header-empresa-logo-img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.app-user-meta {
    font-size: 12px;
    color: #c0c7d3;
}

.app-btn-ghost {
    font-size: 12px;
    font-weight: 600;
    color: #2a8ae0;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
}

.app-btn-ghost:hover {
    text-decoration: underline;
}

.app-content {
    flex: 1;
    padding: 1.25rem;
    min-width: 0;
    overflow-x: hidden;
}

.app-topbar-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.panel {
    background: #0f2240;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a8ab8;
    margin: 0 0 0.5rem;
}

.text-muted {
    color: #c0c7d3;
    font-size: 13px;
    line-height: 1.5;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.admin-table-actions {
    white-space: nowrap;
}

.admin-btn-inline {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0.25rem 0;
}

.admin-table-msg {
    max-width: 14rem;
    white-space: normal;
    word-break: break-word;
    font-size: 11px;
    color: #c0c7d3;
}

.page-center {
    max-width: 28rem;
    margin: 0 auto;
    padding: 4rem 1.25rem;
    text-align: center;
}

.page-center h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.page-center p {
    color: #c0c7d3;
    margin: 0 0 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2a8ae0;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 2px;
}

.btn-primary:hover {
    background: #359bf0;
}

.admin-alert {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    border: 0.5px solid #1e3d60;
    font-size: 12px;
}

.admin-alert-ok {
    background: #12321f;
    color: #c8ffd8;
}

.admin-alert-error {
    background: #4a1010;
    color: #ffd4d4;
}

.admin-grid-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.admin-input {
    width: 100%;
    background: #0b1628;
    border: 0.5px solid #1e3d60;
    color: #cfe5ff;
    font-size: 12px;
    padding: 0.45rem 0.5rem;
}

.admin-input[type="file"] {
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    color: #8eb0d4;
    font-size: 11px;
}

.admin-input[type="file"]::file-selector-button {
    margin-right: 0.65rem;
    padding: 0.45rem 0.9rem;
    border: 0.5px solid #2a4a72;
    border-radius: 4px;
    background: linear-gradient(180deg, #1e4578 0%, #15355c 100%);
    color: #e8f2ff;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.admin-input[type="file"]::file-selector-button:hover {
    border-color: #2a8ae0;
    background: linear-gradient(180deg, #2560a0 0%, #1a4068 100%);
    box-shadow: 0 0 0 1px rgba(42, 138, 224, 0.25);
}

.admin-input[type="file"]::file-selector-button:active {
    transform: translateY(1px);
}

.admin-input[type="file"]::-webkit-file-upload-button {
    margin-right: 0.65rem;
    padding: 0.45rem 0.9rem;
    border: 0.5px solid #2a4a72;
    border-radius: 4px;
    background: linear-gradient(180deg, #1e4578 0%, #15355c 100%);
    color: #e8f2ff;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.admin-input[type="file"]::-webkit-file-upload-button:hover {
    border-color: #2a8ae0;
    background: linear-gradient(180deg, #2560a0 0%, #1a4068 100%);
    box-shadow: 0 0 0 1px rgba(42, 138, 224, 0.25);
}

.admin-form-actions {
    display: flex;
    align-items: end;
}

.admin-form-actions .btn-primary {
    width: 100%;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #cfe5ff;
}

.admin-table th,
.admin-table td {
    border-top: 0.5px solid #1e3d60;
    padding: 0.55rem 0.4rem;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #5a8ab8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 10px;
}

.admin-inline-form {
    margin: 0;
}

.admin-status {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border: 0.5px solid #1e3d60;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-status-ok {
    color: #c8ffd8;
    background: #12321f;
}

.admin-status-warn {
    color: #ffd8a8;
    background: #352100;
}

.admin-status-off {
    color: #ffd4d4;
    background: #4a1010;
}

/* Riesgo supervisores (resumen): % no cumple sobre buceos con paradas programadas > 0 */
.riesgo-sup {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border: 0.5px solid #1e3d60;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.riesgo-sup--alto {
    color: #ffc9c9;
    background: #5c1414;
    border-color: #8b2020;
}

.riesgo-sup--medio {
    color: #2a2210;
    background: #e8c96a;
    border-color: #b8942e;
}

.riesgo-sup--bajo {
    color: #c8ffd8;
    background: #12321f;
    border-color: #2d6b45;
}

.riesgo-sup--na {
    color: #a3b8cc;
    background: #152536;
    border-color: #2a4058;
}

.riesgo-sup-pct {
    font-size: 11px;
    color: #8eb0d4;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.admin-page {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-page-head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.5px solid #1e3d60;
}

.admin-logo-upload-field {
    cursor: help;
}

.admin-empresa-logo-thumb {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-form-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    cursor: help;
}

.admin-input-file-inline {
    max-width: 220px;
    font-size: 11px;
    padding: 0.3rem 0.4rem;
}

.admin-input.admin-input-file-inline[type="file"]::file-selector-button,
.admin-input.admin-input-file-inline[type="file"]::-webkit-file-upload-button {
    padding: 0.3rem 0.55rem;
    font-size: 11px;
}

.admin-page-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.admin-page-subtitle {
    margin: 0;
    font-size: 12px;
    color: #c0c7d3;
    line-height: 1.45;
}

.admin-card {
    padding: 1.25rem;
    background: #0f2240;
    border: 0.5px solid #1e3d60;
    margin-bottom: 1rem;
}

.admin-card:last-child {
    margin-bottom: 0;
}

.admin-muted-block {
    padding: 0.75rem;
    background: #0b1628;
    border: 0.5px solid #1e3d60;
    font-size: 12px;
    color: #c0c7d3;
    line-height: 1.5;
}

.admin-muted-block code {
    color: #cfe5ff;
    font-size: 11px;
}

/* Dashboard pestañas */
.dashboard-tabs {
    background: #0f2240;
    padding: 0;
    max-width: 100%;
}

.dashboard-tabs-head {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    border-bottom: 0.5px solid #1e3d60;
}

.dashboard-tabs-head .dashboard-tablist {
    flex: 1;
    min-width: 0;
    border-bottom: none;
}

.dashboard-export-csv {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0 0.55rem 0 0.65rem;
    margin: 0;
    text-decoration: none;
    color: #2d9d5f;
    border-left: 0.5px solid #1e3d60;
    transition: color 0.15s ease, background 0.15s ease;
}

.dashboard-export-csv:hover {
    color: #4cf090;
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-export-csv-icon {
    font-size: 26px;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.dashboard-export-csv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dashboard-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 0.5px solid #1e3d60;
}

.dashboard-tab {
    appearance: none;
    border: none;
    background: transparent;
    color: #c0c7d3;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -0.5px;
}

.dashboard-tab:hover {
    color: #fff;
}

.dashboard-tab.is-active {
    color: #fff;
    border-bottom-color: #2a8ae0;
}

.dashboard-panel-head {
    margin-bottom: 0.5rem;
}

.dashboard-panel-head-resumen {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-panel-hint {
    margin: 0;
    font-size: 12px;
    color: #5a8ab8;
    line-height: 1.45;
}

.dashboard-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.6rem;
    background: #0b1c36;
}

.dashboard-filter-label {
    display: block;
    margin: 0 0 0.2rem;
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #a3c4e8;
}

.dashboard-filter-input {
    width: 100%;
    background: #102745;
    border: 0.5px solid #1e3d60;
    color: #cfe5ff;
    font-size: 12px;
    padding: 0.35rem 0.45rem;
}

.dashboard-filter-actions {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dashboard-panel {
    display: none;
    padding: 1.25rem;
    min-height: 0;
}

.dashboard-panel.is-active {
    display: block;
}

.dashboard-panel[hidden] {
    display: none !important;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.resumen-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.resumen-kpi-card {
    background: #122849;
    padding: 0.7rem 0.8rem;
}

.resumen-kpi-label {
    margin: 0 0 0.45rem;
    font-size: 10px;
    color: #c0d6f0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resumen-kpi-main {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: #d7e9ff;
    font-weight: 500;
}

.resumen-kpi-unit {
    font-size: 1.15rem;
    color: #b8cce6;
}

.resumen-kpi-alert {
    border-left: 2px solid #d07d1f;
}

.resumen-kpi-alert .resumen-kpi-main {
    color: #ffb875;
}

.resumen-mid-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 2fr);
    gap: 0.75rem;
}

.resumen-card {
    background: #122849;
}

.resumen-centros-list {
    display: grid;
    gap: 0.65rem;
}

.resumen-centro-row {
    display: grid;
    gap: 0.25rem;
}

.resumen-centro-head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 12px;
    color: #b9cde6;
}

.resumen-centro-bar {
    height: 9px;
    width: 100%;
    border-radius: 999px;
    background: #0b1c36;
    overflow: hidden;
}

.resumen-centro-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7ca8db 0%, #a9d0ff 100%);
}

.kpi-card {
    padding: 0.75rem;
    background: #0b1628;
}

.kpi-label {
    margin: 0 0 0.25rem;
    font-size: 10px;
    color: #5a8ab8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kpi-value {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.dashboard-charts .panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
}

.chart-canvas-host {
    position: relative;
    height: 280px;
    max-height: 280px;
    width: 100%;
    overflow: hidden;
}

.chart-canvas-host-small {
    height: 240px;
    max-height: 240px;
}

/* Dispersión: controles de rango de ejes */
.dispersion-axis-controls {
    padding: 0.5rem 0.6rem;
    background: #0b1c36;
    font-size: 11px;
}

.dispersion-axis-title {
    margin: 0 0 0.4rem;
    color: #5a8ab8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
}

.dispersion-axis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.5rem;
}

.dispersion-axis-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #a3c4e8;
    font-size: 10px;
}

.dispersion-input {
    width: 100%;
    background: #102745;
    border: 0.5px solid #1e3d60;
    color: #cfe5ff;
    font-size: 12px;
    padding: 0.3rem 0.4rem;
}

.dispersion-apply,
.dispersion-reset {
    font-size: 11px;
    margin-right: 0.5rem;
    margin-top: 0.35rem;
}

/* Tiempos: facetas + apilado */
.tiempos-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.tiempos-facet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.tiempos-facet-cell {
    min-width: 0;
}

.tiempos-facet-title {
    margin: 0 0 0.35rem;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a3c4e8;
    line-height: 1.25;
    min-height: 2.2em;
}

.chart-canvas-host-tiempos-facet {
    height: 200px;
    max-height: 200px;
}

.chart-canvas-host-tiempos-facet canvas {
    max-height: 200px !important;
}

.chart-canvas-host-tiempos-stacked {
    height: 300px;
    max-height: 300px;
}

.chart-canvas-host-tiempos-stacked canvas {
    max-height: 300px !important;
}

.admin-table-tiempos-matrix th.text-center,
.admin-table-tiempos-matrix td.text-center {
    text-align: center;
}

@media (max-width: 1100px) {
    .tiempos-top-grid {
        grid-template-columns: 1fr;
    }
}

/* Por centro: mapa Leaflet + tablas */
.dashboard-map-host {
    height: 420px;
    width: 100%;
    min-height: 280px;
    background: #0b1a2e;
    border-radius: 4px;
    z-index: 0;
}

.dashboard-map-host .leaflet-container {
    font-family: inherit;
    background: #0b1a2e;
}

.dashboard-map-empty {
    padding: 1.25rem 1.5rem;
    margin: 0;
}

.centros-tables-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.table-name-sub {
    font-size: 0.78em;
    line-height: 1.35;
}

@media (max-width: 960px) {
    .centros-tables-grid {
        grid-template-columns: 1fr;
    }
}

.chart-canvas-host canvas {
    display: block;
    max-height: 280px !important;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 1440px) and (max-height: 900px) {
    .app-content {
        padding: 0.8rem;
    }

    .dashboard-panel {
        padding: 0.8rem;
    }

    .resumen-kpi-row {
        gap: 0.45rem;
    }

    .resumen-kpi-card {
        padding: 0.55rem 0.65rem;
    }

    .resumen-kpi-main {
        font-size: 1.45rem;
    }

    .resumen-mid-grid {
        gap: 0.55rem;
    }

    .resumen-card {
        padding: 0.8rem !important;
    }

    .chart-canvas-host {
        height: 180px;
        max-height: 180px;
    }

    .chart-canvas-host-small {
        height: 160px;
        max-height: 160px;
    }

    .chart-canvas-host canvas {
        max-height: 180px !important;
    }

    .dashboard-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.4rem;
        padding: 0.45rem;
    }

    .admin-table th,
    .admin-table td {
        padding-top: 0.42rem;
        padding-bottom: 0.42rem;
    }
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Login: fondo con imagen + velo azul */
.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.login-page__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.login-page__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(165deg, rgba(11, 22, 40, 0.92) 0%, rgba(15, 34, 64, 0.78) 42%, rgba(11, 22, 40, 0.9) 100%),
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(42, 138, 224, 0.22) 0%, transparent 55%);
}

.login-page__main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 0.1rem;
    padding: 0;
    line-height: 0;
}

.login-system-logo {
    height: 208px;
    width: auto;
    max-width: min(600px, 100%);
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Login (layout público con Tailwind + utilidades locales) */
.login-card {
    background-color: rgba(15, 34, 64, 0.78);
    border-color: rgba(30, 61, 96, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.input-field {
    background-color: #0b1628;
    border: 0.5px solid #1e3d60;
}

.input-field:focus {
    border-color: #2a8ae0;
    box-shadow: 0 0 0 1px #2a8ae0;
    outline: none;
}

@media (max-width: 900px) {
    .app-shell {
        flex-direction: column;
    }

    .app-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .app-nav {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .app-nav-link {
        margin: 0.15rem;
    }

    .admin-grid-form {
        grid-template-columns: 1fr;
    }

    .resumen-kpi-row {
        grid-template-columns: 1fr;
    }

    .resumen-mid-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-filters {
        grid-template-columns: 1fr;
    }
}
