/* ==========================================================
   Archivo: /assets/css/app.css
   Proyecto: Punto Limpio (TPV)
   Descripción: Estilo moderno tipo “SaaS” + navbar sólido + botones pill
   Codificación: UTF-8
   ========================================================== */

:root{
  --brand: #1b6fff;
  --brand-2: #00b3ff;
  --ink: #0f172a;
  --muted: #64748b;

  /* Tarjetas */
  --card: rgba(255,255,255,.88);
  --stroke: rgba(15, 23, 42, .10);
}

html, body{ height: 100%; }

body{
  color: var(--ink);
  background: linear-gradient(180deg, rgba(27,111,255,.06), transparent 220px);
}

/* ==========================================================
   NAVBAR (ANTES “glass” / AHORA SÓLIDO)
   ========================================================== */
.navbar-glass{
  background: #ffffff !important;                 /* <-- opaco */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 8px 22px rgba(15,23,42,.10);
}

/* Asegura que queda por encima de todo al hacer scroll */
.navbar.sticky-top{
  z-index: 1035;
}

/* Marca */
.navbar-brand{
  letter-spacing: .2px;
}

.navbar-brand .brand-badge{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 25px rgba(27,111,255,.25);
}

.navbar-brand .brand-sub{
  font-size: .85rem;
  color: var(--muted);
  margin-left: .25rem;
}

/* Links tipo “pill” */
.nav-link-pill{
  border-radius: 999px;
  padding: .5rem .85rem !important;
  color: var(--ink) !important;
  transition: all .15s ease;
}

.nav-link-pill:hover{
  background: rgba(27,111,255,.08);
  transform: translateY(-1px);
}

.nav-link-pill.active,
.navbar-nav .nav-link.show{
  background: rgba(27,111,255,.12);
  border: 1px solid rgba(27,111,255,.18);
}

/* Botones pill */
.btn-pill{ border-radius: 999px; }

/* Dropdown */
.dropdown-menu{
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

/* Offcanvas */
.offcanvas{
  border-left: 1px solid var(--stroke);
}

/* Footer suave (puede seguir con blur si quieres, no molesta al scroll) */
.footer-soft{
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
}

/* Tarjeta de página */
.page-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

/* DataTables */
table.dataTable{
  border: 1px solid var(--stroke) !important;
  border-radius: 14px;
  overflow: hidden;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select{
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: .35rem .6rem;
}

/* Inputs */
.form-control, .form-select{
  border-radius: 12px;
  border-color: rgba(15,23,42,.12);
}

.card{
  border-radius: 18px;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
}
