/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped � MudBlazor handles structure, these are enhancements */

/* Smooth scrolling on main content */
[b-hoyzanimm3] .mud-main-content {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* Ensure the MudLayout doesn't block scroll on touch devices */
[b-hoyzanimm3] .mud-layout {
    overflow: visible;
}

/* Subtle drawer border enhancement */
[b-hoyzanimm3] .mud-drawer {
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
           transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s ease;
}

/* AppBar subtle text shadow for depth */
[b-hoyzanimm3] .mud-appbar .mud-typography {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ?? Mobile / Tablet responsive enhancements ?? */
@media (max-width: 959.98px) {
    /* When drawer is closed, don't block touch events on main content */
    [b-hoyzanimm3] .mud-drawer--closed {
        pointer-events: none;
    }

    /* Overlay drawer gets a smooth slide-in animation */
 [b-hoyzanimm3] .mud-drawer--open {
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    }

  /* Ensure the overlay backdrop has a smooth fade */
    [b-hoyzanimm3] .mud-overlay {
        transition: opacity 0.25s ease;
    }

  /* Make the hamburger icon slightly larger on touch devices for better tap target */
    [b-hoyzanimm3] .mud-appbar .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }

  /* Main content must allow full vertical scroll on mobile */
    [b-hoyzanimm3] .mud-main-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
  /* Prevent height constraints from trapping scroll */
  min-height: 0;
  }

    /* MudLayout: do not constrain children height, allow natural scrolling */
    [b-hoyzanimm3] .mud-layout {
      height: auto;
        min-height: 100vh;
  min-height: 100dvh;
    }

    /* The drawer overlay must not prevent body scroll when closed */
    [b-hoyzanimm3] .mud-drawer-overlay {
   touch-action: auto;
    }

    /* Container padding reduction on mobile */
    [b-hoyzanimm3] .mud-container {
    padding-left: 12px !important;
padding-right: 12px !important;
    }
}

/* ?? Desktop: mini-drawer hover enhancement ?? */
@media (min-width: 960px) {
    [b-hoyzanimm3] .mud-drawer {
        transition: width 0.2s ease, box-shadow 0.2s ease;
    }

    [b-hoyzanimm3] .mud-drawer:hover {
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu scoped styles � MudBlazor MudNavMenu handles most styling */

/* Minimal NavMenu scoped styles to enhance MudBlazor nav components */

[b-t0dq549uyx] .mud-nav-link {
    border-radius: 0.5rem;
margin: 1px 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[b-t0dq549uyx] .mud-nav-link.active {
    font-weight: 700;
}

[b-t0dq549uyx] .mud-navmenu .mud-nav-group .mud-collapse-wrapper {
 padding-left: 0.25rem;
}

[b-t0dq549uyx] .mud-divider {
    opacity: 0.5;
}
/* /Pages/Administracion/Luz/ListadoPago.razor.rz.scp.css */
/* ===== Page Layout � full width ===== */
.listado-pago-section[b-h4erpeeac5] {
  width: 100%;
    padding: 0;
}

/* ===== Header ===== */
.page-header[b-h4erpeeac5] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-title[b-h4erpeeac5] {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0d3b66;
    margin: 0;
}

.page-subtitle[b-h4erpeeac5] {
    color: #6b7280;
    margin: 0.25rem 0 0;
 font-size: 0.92rem;
}

/* ===== Filter card ===== */
.filtro-card[b-h4erpeeac5] {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ===== Loading / Empty states ===== */
.loading-container[b-h4erpeeac5] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 2rem 0;
}

.empty-state[b-h4erpeeac5] {
    display: flex;
    flex-direction: column;
    align-items: center;
  gap: 0.5rem;
    padding: 3rem 1rem;
    text-align: center;
}

/* ===== Results header ===== */
.resultados-header[b-h4erpeeac5] {
  display: flex;
    justify-content: flex-end;
    margin-bottom: 0.6rem;
}

/* ===== Table wrapper ===== */
.grilla-pagos[b-h4erpeeac5] {
    background: #ffffff;
    border: 1px solid #e1e5eb;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

/* ===== Table ===== */
.grilla-pagos table[b-h4erpeeac5] {
    margin-bottom: 0;
}

.grilla-pagos thead[b-h4erpeeac5] {
    background: linear-gradient(180deg, #f0f4fa, #e8ecf3);
}

.grilla-pagos thead th[b-h4erpeeac5] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #3b4a5e;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid #d4dae3;
    white-space: nowrap;
}

.grilla-pagos tbody td[b-h4erpeeac5] {
    padding: 0.75rem 1rem;
    vertical-align: middle;
 border-bottom: 1px solid #eef1f5;
  font-size: 0.925rem;
}

.grilla-pagos tbody tr.fila-principal:hover[b-h4erpeeac5] {
    background-color: #f5f8fd;
}

/* Highlight rows with debt */
.grilla-pagos tbody tr.fila-deuda[b-h4erpeeac5] {
    border-left: 3px solid #dc3545;
}

/* ===== Vecino name ===== */
.vecino-nombre[b-h4erpeeac5] {
    font-weight: 600;
    color: #0d3b66;
}

/* ===== Meses badges ===== */
.meses-container[b-h4erpeeac5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.badge-mes[b-h4erpeeac5] {
    background: #eef3fb !important;
  color: #000000 !important;
    border: 1px solid #d0ddf0;
    border-radius: 999px;
  padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ===== Estado badges ===== */
.estado-al-dia[b-h4erpeeac5] {
    background-color: #d4edda;
    color: #155724;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.estado-pendiente[b-h4erpeeac5] {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.4rem 0.75rem;
border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== Detail / debt sub-row ===== */
.fila-detalle td[b-h4erpeeac5] {
    padding: 0.5rem 1rem !important;
    background: #fef9f9;
    border-bottom: 1px solid #f3dede;
}

.detalle-deuda[b-h4erpeeac5] {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    .page-header[b-h4erpeeac5] {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header .btn[b-h4erpeeac5] {
        width: 100%;
        justify-content: center;
 }

 .filtro-card[b-h4erpeeac5] {
        padding: 1rem;
    }

    .grilla-pagos[b-h4erpeeac5] {
   border-radius: 0.65rem;
    }

    .grilla-pagos table[b-h4erpeeac5] {
        min-width: 720px;
    }
}
