/* ==========================================================================
   PANEL DE ADMINISTRACIÓN (DASHBOARD) - JUANA'S HOTEL
   Estilo macOS / Dark Theme Compacto y 100% Dinámico
   ========================================================================== */

.dashboard-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 20%, #202028 0%, transparent 45%),
        #0b0b0e;
    color: var(--color-texto-cuerpo, #dcdce2);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="claro"] .dashboard-body {
    background:
        radial-gradient(circle at top, #fff8ec 0%, transparent 40%),
        #e8e2d6;
    color: #1f1d1a;
}

/* Contenedor principal de la ventana */
.dash-window {
    width: 100%;
    max-width: 1260px;
    min-height: calc(100vh - 40px);
    background: #141416;
    border: 1px solid #232328;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

:root[data-theme="claro"] .dash-window {
    background: #f7f4ee;
    border-color: #e2dccf;
    box-shadow: 0 24px 60px rgba(70, 55, 30, 0.12);
}

/* Barra superior macOS Chrome */
.dash-chrome {
    height: 44px;
    display: grid;
    grid-template-columns: 88px 1fr 88px;
    align-items: center;
    padding: 0 18px;
    background: #19191d;
    border-bottom: 1px solid #232328;
    user-select: none;
}

:root[data-theme="claro"] .dash-chrome {
    background: #fbf9f5;
    border-bottom-color: #e2dccf;
}

.dash-traffic {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-traffic span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dash-traffic span:nth-child(1) { background: #ff5f57; }
.dash-traffic span:nth-child(2) { background: #febc2e; }
.dash-traffic span:nth-child(3) { background: #28c840; }

.dash-chrome-title {
    text-align: center;
    color: #93939d;
    font-size: 0.84rem;
    font-weight: 500;
    margin: 0;
}

.dash-bell {
    width: 32px;
    height: 32px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #cfcfd6;
    cursor: pointer;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.dash-bell:hover {
    background: #25252b;
    color: #ffffff;
}

/* Estructura Shell */
.dash-shell {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 0;
    flex: 1;
}

/* ==========================================================================
   1. SIDEBAR NAVIGATION COMPACTA (Requerimiento 1)
   ========================================================================== */
.dash-sidebar {
    padding: 18px 12px 18px;
    background: #141416;
    border-right: 1px solid #202025;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:root[data-theme="claro"] .dash-sidebar {
    background: #f3efe6;
    border-right-color: #e2dccf;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 8px;
    transition: opacity 0.15s ease;
}

:root[data-theme="claro"] .dash-brand {
    color: #1f1d1a;
}

.dash-brand:hover {
    opacity: 0.9;
}

.dash-brand-icon {
    font-size: 1.1rem;
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
}

:root[data-theme="claro"] .dash-brand-icon {
    color: #1f1d1a;
}

/* Menú compacto: gap reducido a 3px */
.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: transparent;
    color: #82828e;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.dash-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.dash-nav-item:hover {
    background: #1b1b20;
    color: #e5e5ea;
}

.dash-nav-item.activo {
    background: #232328;
    color: #ffffff;
    font-weight: 600;
}

:root[data-theme="claro"] .dash-nav-item {
    color: #6b665e;
}

:root[data-theme="claro"] .dash-nav-item:hover {
    background: #e5dfd2;
    color: #1f1d1a;
}

:root[data-theme="claro"] .dash-nav-item.activo {
    background: #ddd6c7;
    color: #1f1d1a;
}

.dash-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 12px;
    margin-top: 50px;
    border-top: 1px solid #202025;
}

:root[data-theme="claro"] .dash-sidebar-footer {
    border-top-color: #e2dccf;
}

/* Área Principal */
.dash-main {
    padding: 26px 32px 34px;
    overflow-y: auto;
    background: #111114;
}

:root[data-theme="claro"] .dash-main {
    background: #f7f4ee;
}

.dash-vista {
    display: none;
}

.dash-vista.activo {
    display: block;
}

/* Encabezados y Acciones */
.dash-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.dash-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6f6f7b;
    margin: 0 0 4px;
}

.dash-heading h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

:root[data-theme="claro"] .dash-heading h1 {
    color: #1f1d1a;
}

.dash-acciones-cabecera {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Botones principales de acción */
.dash-btn-accion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.dash-btn-accion:hover {
    background: #1d4ed8;
}

.dash-btn-accion.sec {
    background: #1a1a20;
    color: #c8c8d0;
    border: 1px solid #2b2b36;
}

.dash-btn-accion.sec:hover {
    background: #24242d;
    border-color: #3d3d4b;
    color: #ffffff;
}

:root[data-theme="claro"] .dash-btn-accion.sec {
    background: #ffffff;
    border-color: #d8d1c2;
    color: #1f1d1a;
}

/* ==========================================================================
   2. MÉTRICAS FINANCIERAS Y KPIS (Requerimiento 5)
   ========================================================================== */
.dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.dash-kpi {
    background: #17171b;
    border: 1px solid #24242a;
    border-radius: 16px;
    padding: 20px 22px;
}

:root[data-theme="claro"] .dash-kpi {
    background: #ffffff;
    border-color: #e2dccf;
}

.dash-kpi p {
    color: #8c8c96;
    font-size: 0.86rem;
    font-weight: 500;
    margin: 0;
}

.dash-kpi strong {
    display: block;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 10px 0 6px;
    letter-spacing: -0.02em;
}

:root[data-theme="claro"] .dash-kpi strong {
    color: #1f1d1a;
}

.dash-delta {
    font-size: 0.82rem;
    font-weight: 500;
    color: #8c8c96;
}

/* Grid Inferior: Ocupación semanal + Reservas recientes */
.dash-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.dash-card {
    background: #17171b;
    border: 1px solid #24242a;
    border-radius: 16px;
    padding: 22px 24px;
}

:root[data-theme="claro"] .dash-card {
    background: #ffffff;
    border-color: #e2dccf;
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dash-card-head h2 {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 600;
    margin: 0;
}

:root[data-theme="claro"] .dash-card-head h2 {
    color: #1f1d1a;
}

.dash-card-head span, .dash-link {
    color: #8c8c96;
    font-size: 0.82rem;
    font-weight: 500;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.dash-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Gráfico de barras */
.dash-chart {
    height: 175px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 14px;
    padding: 0 4px 6px;
}

.dash-bar {
    width: 100%;
    max-width: 44px;
    margin: 0 auto;
    border-radius: 6px 6px 2px 2px;
    background: #6c6f7e;
    min-height: 14px;
    transition: height 0.3s ease;
}

.dash-bar.destacada {
    background: #ffffff !important;
}

:root[data-theme="claro"] .dash-bar {
    background: #c5beae;
}

:root[data-theme="claro"] .dash-bar.destacada {
    background: #1f1d1a !important;
}

.dash-chart-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    padding: 0 4px;
    color: #8c8c96;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

.dash-chart-empty {
    text-align: center;
    color: #7b7b86;
    font-size: 0.82rem;
    padding: 30px 10px;
}

/* Lista de Reservas Recientes */
.dash-reservas {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-reserva {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: center;
    padding: 0;
    border-bottom: 0;
}

.dash-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #212127;
    color: #d0d0d8;
    font-size: 0.75rem;
    font-weight: 700;
}

:root[data-theme="claro"] .dash-avatar {
    background: #efebe3;
    color: #1f1d1a;
}

.dash-reserva strong {
    display: block;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

:root[data-theme="claro"] .dash-reserva strong {
    color: #1f1d1a;
}

.dash-reserva small {
    display: block;
    color: #8c8c96;
    font-size: 0.8rem;
    line-height: 1.25;
    margin-top: 2px;
}

.dash-estado {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 600;
}

.dash-estado.confirmada { color: #4ade80; }
.dash-estado.pendiente { color: #fbbf24; }
.dash-estado.finalizada { color: #94a3b8; }
.dash-estado.cancelada { color: #f87171; }

/* Empty state para card */
.dash-empty-card {
    text-align: center;
    padding: 28px 12px;
    color: #7b7b86;
}

.dash-empty-card i {
    font-size: 2.2rem;
    color: #383842;
    margin-bottom: 10px;
    display: block;
}

.dash-empty-card p {
    font-size: 0.86rem;
    margin-bottom: 14px;
}

.dash-btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #212128;
    border: 1px solid #2f2f3a;
    color: #d4d4dc;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.dash-btn-mini:hover {
    background: #2b2b35;
    color: #ffffff;
}

/* ==========================================================================
   3. MÓDULO DE GESTIÓN DE HABITACIONES (Requerimiento 3)
   ========================================================================== */
.dash-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.dash-filtros {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dash-filtro-btn {
    background: #17171b;
    border: 1px solid #26262d;
    border-radius: 20px;
    padding: 6px 14px;
    color: #8e8e98;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dash-filtro-btn:hover {
    color: #ffffff;
    border-color: #383844;
}

.dash-filtro-btn.activo {
    background: #24242c;
    color: #ffffff;
    border-color: #4a4a58;
    font-weight: 600;
}

:root[data-theme="claro"] .dash-filtro-btn {
    background: #ffffff;
    border-color: #d8d1c2;
    color: #6b665e;
}

:root[data-theme="claro"] .dash-filtro-btn.activo {
    background: #e5dfd2;
    color: #1f1d1a;
    border-color: #b5ad9e;
}

.dash-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.dash-room-card {
    background: #17171b;
    border: 1px solid #24242a;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.15s ease;
}

.dash-room-card:hover {
    border-color: #353540;
}

:root[data-theme="claro"] .dash-room-card {
    background: #ffffff;
    border-color: #e2dccf;
}

.dash-room-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.dash-room-info h3 {
    font-size: 1.12rem;
    color: #ffffff;
    margin: 0 0 3px;
    font-weight: 700;
}

:root[data-theme="claro"] .dash-room-info h3 {
    color: #1f1d1a;
}

.dash-room-info span {
    font-size: 0.82rem;
    color: #8c8c96;
}

.dash-badge-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-badge-status.disponible {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}

.dash-badge-status.ocupada {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

.dash-badge-status.mantenimiento {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
}

/* Selector rápido de estado en 1 clic */
.dash-status-switcher-label {
    font-size: 0.72rem;
    color: #7b7b86;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.dash-status-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: #111114;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #202026;
}

:root[data-theme="claro"] .dash-status-switcher {
    background: #f4efe4;
    border-color: #e0d9ca;
}

.dash-status-btn {
    border: 0;
    background: transparent;
    padding: 6px 3px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: #787884;
    text-align: center;
    transition: all 0.15s ease;
}

.dash-status-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.dash-status-btn.activo-disponible {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.dash-status-btn.activo-ocupada {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.dash-status-btn.activo-mantenimiento {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.dash-room-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #202026;
}

:root[data-theme="claro"] .dash-room-actions {
    border-top-color: #e5dfd2;
}

.dash-btn-icon {
    background: transparent;
    border: 0;
    color: #82828e;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.dash-btn-icon:hover {
    color: #ffffff;
    background: #24242a;
}

.dash-btn-icon.del:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

/* ==========================================================================
   4. MÓDULO DE GESTIÓN DE RESERVAS (Requerimiento 4)
   ========================================================================== */
.dash-card-tabla {
    padding: 0;
    overflow: hidden;
}

.dash-tabla-wrapper {
    overflow-x: auto;
}

.dash-tabla {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.dash-tabla th {
    padding: 13px 18px;
    color: #82828e;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #141417;
    border-bottom: 1px solid #222228;
    white-space: nowrap;
}

:root[data-theme="claro"] .dash-tabla th {
    background: #ede7dc;
    border-bottom-color: #d8d1c2;
    color: #555048;
}

.dash-tabla td {
    padding: 14px 18px;
    border-bottom: 1px solid #1f1f25;
    color: #d4d4dc;
    vertical-align: middle;
}

:root[data-theme="claro"] .dash-tabla td {
    border-bottom-color: #e9e3d6;
    color: #1f1d1a;
}

.dash-tabla tbody tr:last-child td {
    border-bottom: 0;
}

.dash-tabla tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

:root[data-theme="claro"] .dash-tabla tbody tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

.dash-huesped-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
}

:root[data-theme="claro"] .dash-huesped-cell {
    color: #1f1d1a;
}

.dash-tag-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
}

.dash-tag-status.confirmada {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}

.dash-tag-status.pendiente {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

.dash-tag-status.finalizada {
    background: rgba(148, 163, 184, 0.14);
    color: #94a3b8;
}

.dash-tag-status.cancelada {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
}

/* Acciones en tabla de reservas */
.dash-tabla-acciones {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.dash-btn-finalizar {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dash-btn-finalizar:hover {
    background: rgba(34, 197, 94, 0.25);
}

.dash-btn-cancelar {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dash-btn-cancelar:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Empty states de sección completa */
.dash-empty-seccion {
    text-align: center;
    padding: 48px 20px;
    color: #8c8c96;
}

.dash-empty-seccion i {
    font-size: 3rem;
    color: #383842;
    margin-bottom: 14px;
    display: inline-block;
}

.dash-empty-seccion h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

:root[data-theme="claro"] .dash-empty-seccion h3 {
    color: #1f1d1a;
}

.dash-empty-seccion p {
    font-size: 0.88rem;
    max-width: 420px;
    margin: 0 auto 18px;
}

/* ==========================================================================
   5. MODALES INTERACTIVOS
   ========================================================================== */
.modal-dash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(5px);
    display: none;
    place-items: center;
    z-index: 1000;
    padding: 16px;
}

.modal-dash-overlay.activo {
    display: grid;
}

.modal-dash-caja {
    background: #17171b;
    border: 1px solid #2b2b35;
    border-radius: 16px;
    width: min(100%, 480px);
    padding: 26px 28px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

:root[data-theme="claro"] .modal-dash-caja {
    background: #ffffff;
    border-color: #d8d1c2;
}

.modal-dash-cerrar {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 0;
    color: #82828e;
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background 0.15s, color 0.15s;
}

.modal-dash-cerrar:hover {
    background: #24242c;
    color: #ffffff;
}

.modal-dash-caja h2 {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0 0 6px;
    font-weight: 700;
}

:root[data-theme="claro"] .modal-dash-caja h2 {
    color: #1f1d1a;
}

.modal-dash-sub {
    color: #8c8c96;
    font-size: 0.84rem;
    margin-bottom: 20px;
}

.modal-dash-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-dash-form label {
    display: block;
    color: #b0b0bc;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
}

:root[data-theme="claro"] .modal-dash-form label {
    color: #3d3a35;
}

.modal-dash-form input,
.modal-dash-form select {
    width: 100%;
    background: #111114;
    border: 1px solid #2b2b35;
    border-radius: 8px;
    color: #ffffff;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.modal-dash-form input:focus,
.modal-dash-form select:focus {
    border-color: #2563eb;
}

:root[data-theme="claro"] .modal-dash-form input,
:root[data-theme="claro"] .modal-dash-form select {
    background: #f8f6f0;
    border-color: #d8d1c2;
    color: #1f1d1a;
}

.campo-ayuda {
    display: block;
    font-size: 0.74rem;
    color: #fbbf24;
    margin-top: 4px;
}

.modal-dash-botones {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
    .dashboard-body {
        padding: 8px;
    }

    .dash-shell {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        border-right: 0;
        border-bottom: 1px solid #202025;
        padding: 14px;
    }

    .dash-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .dash-nav-item {
        width: auto;
    }

    .dash-kpis,
    .dash-grid {
        grid-template-columns: 1fr;
    }

    .dash-main {
        padding: 18px 14px 26px;
    }

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