:root {
  --sc-primary: #0d3b66;
  --sc-accent: #17a2b8;
  --sc-bg: #f4f7fb;
  --sc-sidebar-bg: linear-gradient(182deg, #0c2245 0%, #12356b 56%, #1b4f9a 100%);
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--sc-bg) 100%);
  color: #1f2937;
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

.navbar-brand {
  color: var(--sc-primary) !important;
}

.sc-public-navbar {
  backdrop-filter: blur(8px);
  border: 1px solid #d8e6fa;
  border-radius: 0 0 0.95rem 0.95rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.sc-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  padding: 0.2rem 0.3rem;
  border: 1px solid #d7e7fb;
  border-radius: 0.72rem;
  background: linear-gradient(170deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-width: 11.25rem;
}

.sc-public-brand:hover {
  transform: translateY(-1px);
  border-color: #bdd8fb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.sc-public-brand i {
  color: #1d4ed8;
  font-size: 0.95rem;
}

.sc-public-logo {
  width: auto;
  height: 56px;
  max-width: min(44vw, 190px);
  object-fit: contain;
  border-radius: 0;
}

.sc-public-nav-main {
  gap: 0.3rem;
}

.sc-public-nav-main .nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  color: #334155;
  font-weight: 700;
  font-size: 0.89rem;
  padding: 0.46rem 0.72rem;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.sc-public-nav-main .nav-link:hover {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
  transform: translateY(-1px);
}

.hero-publico {
  background: linear-gradient(135deg, var(--sc-primary) 0%, #164f86 50%, var(--sc-accent) 100%);
  color: #fff;
}

.card {
  border-radius: 14px;
}

.badge {
  font-weight: 600;
}

.footer {
  background: #ffffff;
}

.sc-admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  background:
    var(--sc-sidebar-bg) left top / 290px 100% no-repeat,
    radial-gradient(circle at 85% -10%, rgba(14, 165, 233, 0.15), transparent 36%),
    radial-gradient(circle at 10% 110%, rgba(37, 99, 235, 0.12), transparent 32%),
    #eef2f7;
}

.sc-admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.55rem 1.05rem;
  background: var(--sc-sidebar-bg);
  color: #eaf3ff;
  border-right: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 14px 0 30px rgba(15, 23, 42, 0.28);
  z-index: 150;
}

.sc-admin-brand {
  display: grid;
  justify-items: center;
  gap: 0.52rem;
  padding: 0.75rem 0.55rem;
  margin-bottom: 1.35rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.3);
  text-align: center;
}

.sc-admin-welcome {
  margin-bottom: 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.24), rgba(56, 189, 248, 0.16));
  padding: 0.55rem 0.65rem;
}

.sc-admin-welcome small {
  display: block;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #bfdbfe;
  font-weight: 700;
}

.sc-admin-welcome strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.9rem;
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.2;
}

.sc-admin-brand-logo {
  width: 4.05rem;
  height: 4.05rem;
  display: grid;
  place-content: center;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #2563eb, #0ea5e9);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.sc-admin-brand-logo-img {
  width: 4.05rem;
  height: 4.05rem;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(186, 230, 253, 0.55);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.26);
  padding: 0.2rem;
}

.sc-admin-brand-title {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}

.sc-admin-brand-subtitle {
  margin: 0;
  font-size: 0.75rem;
  color: #8fb1d4;
}

.sc-admin-notify {
  position: relative;
  margin-bottom: 0.9rem;
}

.sc-admin-notify-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #eff6ff;
  padding: 0.5rem 0.68rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.sc-admin-notify-btn:hover {
  border-color: rgba(125, 211, 252, 0.7);
  background: rgba(59, 130, 246, 0.22);
}

.sc-admin-notify-badge {
  margin-left: auto;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.sc-admin-notify-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 20;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 26px rgba(2, 6, 23, 0.55);
  overflow: hidden;
}

.sc-admin-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.72rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.sc-admin-notify-head strong {
  font-size: 0.78rem;
  color: #f8fafc;
}

.sc-admin-notify-head small {
  font-size: 0.7rem;
  color: #93c5fd;
  font-weight: 700;
}

.sc-admin-notify-list {
  max-height: 290px;
  overflow-y: auto;
}

.sc-admin-notify-link {
  display: block;
  text-decoration: none;
}

.sc-admin-notify-link:hover .sc-admin-notify-item {
  background: rgba(37, 99, 235, 0.16);
}

.sc-admin-notify-item {
  padding: 0.58rem 0.72rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.sc-admin-notify-item-title {
  font-size: 0.78rem;
  color: #f8fafc;
  font-weight: 700;
}

.sc-admin-notify-item-msg {
  font-size: 0.74rem;
  color: #cbd5e1;
  margin-top: 0.12rem;
}

.sc-admin-notify-item-time {
  font-size: 0.67rem;
  color: #93c5fd;
  margin-top: 0.2rem;
}

.sc-admin-notify-empty {
  padding: 0.75rem;
  font-size: 0.74rem;
  color: #cbd5e1;
}

.sc-admin-nav {
  display: grid;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  align-content: start;
  padding-right: 0.2rem;
}

/* Firma: FRANCO LARA - 01/06/2026 | Sidebar admin agrupado por secciones para reducir scroll visual sin cambiar navegación ni permisos. */
.sc-admin-nav-group {
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 0.86rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sc-admin-nav-group-toggle {
  width: 100%;
  border: 0;
  background: rgba(59, 130, 246, 0.22);
  color: #eef6ff;
  padding: 0.45rem 0.62rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.sc-admin-nav-group-toggle .bi-chevron-down {
  transition: transform 0.18s ease;
}

.sc-admin-nav-group-toggle[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.sc-admin-nav-group-body {
  padding: 0.3rem;
  display: grid;
  gap: 0.18rem;
  max-height: min(34vh, 15.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.75) rgba(255, 255, 255, 0.08);
}

.sc-admin-nav-group-body::-webkit-scrollbar {
  width: 0.42rem;
}

.sc-admin-nav-group-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.sc-admin-nav-group-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.9) 0%, rgba(34, 197, 94, 0.86) 100%);
  border-radius: 999px;
}

.sc-admin-nav-group-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.96) 0%, rgba(22, 163, 74, 0.92) 100%);
}

.sc-admin-nav-group-body .sc-admin-navlink {
  padding: 0.58rem 0.68rem;
  border-radius: 0.76rem;
}

.sc-admin-session-box {
  margin-top: auto;
  margin-bottom: 0.2rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(147, 197, 253, 0.36);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.sc-admin-session-user {
  margin-bottom: 0.55rem;
}

.sc-admin-session-negocio {
  margin-bottom: 0.65rem;
  padding: 0.5rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.5);
}

.sc-admin-session-negocio-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-admin-session-logo,
.sc-admin-session-logo-img {
  width: 4.05rem;
  height: 4.05rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.sc-admin-session-logo {
  display: grid;
  place-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #2563eb, #0ea5e9);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.sc-admin-session-logo-img {
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(186, 230, 253, 0.55);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
  padding: 0.2rem;
}

.sc-platform-brand-logo {
  width: 9.2rem;
  height: auto;
  max-height: 3.25rem;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.sc-platform-brand-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.sc-platform-brand-card .sc-admin-brand-title {
  color: #0f172a;
}

.sc-admin-session-geo {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #bfdbfe;
}

.sc-admin-session-negocio-name {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.2;
  color: #e2e8f0;
  font-weight: 700;
}

.sc-admin-session-user strong {
  display: block;
  font-size: 0.85rem;
  color: #f8fafc;
}

.sc-admin-session-user span {
  display: block;
  font-size: 0.74rem;
  color: #93c5fd;
}

.sc-admin-session-box .btn {
  border-color: rgba(186, 230, 253, 0.45);
  color: #e2e8f0;
}

.sc-admin-session-box .btn:hover {
  background: rgba(59, 130, 246, 0.24);
  border-color: rgba(125, 211, 252, 0.7);
  color: #ffffff;
}

.sc-admin-homecard {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.6rem;
  padding: 0.58rem 0.68rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #eff6ff;
  border: 1px solid rgba(147, 197, 253, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.sc-admin-homecard i {
  font-size: 1rem;
  color: #93c5fd;
}

.sc-admin-homecard small {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #bfdbfe;
  font-weight: 700;
}

.sc-admin-homecard strong {
  display: block;
  font-size: 0.85rem;
  color: #f8fafc;
  line-height: 1.15;
}

.sc-admin-homecard:hover {
  color: #fff;
  border-color: rgba(125, 211, 252, 0.78);
  background: linear-gradient(138deg, rgba(59, 130, 246, 0.58), rgba(14, 165, 233, 0.42));
}

.sc-admin-navlink {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.95rem;
  color: #e6f0ff;
  text-decoration: none;
  transition: all 0.24s ease;
  border: 1px solid rgba(125, 211, 252, 0.08);
  position: relative;
}

.sc-admin-navlink i {
  font-size: 1rem;
  color: #b9dcff;
  opacity: 0.96;
}

.sc-admin-navlink span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  color: #eef5ff;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.22);
}

.sc-admin-navlink:hover {
  color: #fff;
  border-color: rgba(125, 211, 252, 0.62);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(56, 189, 248, 0.2));
  transform: translateX(2px);
}

.sc-admin-navlink:hover span {
  color: #ffffff;
}

.sc-admin-navlink:hover i {
  color: #c7e4ff;
}

.sc-admin-navlink.active {
  color: #fff;
  border-color: rgba(125, 211, 252, 0.85);
  background: linear-gradient(138deg, rgba(37, 99, 235, 0.88), rgba(14, 165, 233, 0.78));
  box-shadow: inset 0 0 0 1px rgba(186, 230, 253, 0.5), 0 10px 20px rgba(14, 165, 233, 0.26);
}

.sc-admin-navlink.active::before {
  content: "";
  position: absolute;
  left: -0.35rem;
  top: 0.36rem;
  bottom: 0.36rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e8f9, #bfdbfe);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.55);
}

.sc-admin-navlink.active span {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.sc-admin-navlink.active i {
  color: #ffffff;
}

.sc-admin-main {
  min-width: 0;
  padding: 1.1rem 1.2rem 1.5rem;
  margin-left: 290px;
}

.sc-admin-context-help {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem auto;
  padding: 0.58rem 0.92rem;
  border-radius: 0.7rem;
  border: 1px solid #1d4ed8;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #1d4ed8 100%);
  color: #ffffff !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.28);
  white-space: nowrap;
}

.sc-admin-context-help:hover,
.sc-admin-context-help:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  filter: brightness(1.04);
}

.sc-admin-context-help i {
  font-size: 0.95rem;
}

.sc-admin-context-help--inline {
  margin: 0;
  padding: 0.42rem 0.72rem;
  font-size: 0.82rem;
}

.sc-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sc-admin-topbar-head h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.sc-admin-topbar-head p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.sc-admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sc-admin-switcher {
  min-width: 340px;
}

.sc-admin-switcher label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.sc-admin-switcher-controls {
  display: flex;
  gap: 0.5rem;
}

.sc-admin-userbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.sc-admin-userbox i {
  font-size: 1.35rem;
  color: #1e40af;
}

.sc-admin-userbox strong {
  display: block;
  font-size: 0.85rem;
  color: #0f172a;
}

.sc-admin-userbox span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}

.sc-admin-content {
  margin-top: 1rem;
  display: grid;
  gap: 1.05rem;
}

.sc-admin-alert {
  border-radius: 1rem;
  border: 1px solid #fcd34d;
}

.sc-kpi-grid-primary,
.sc-kpi-grid-secondary,
.sc-module-grid {
  display: grid;
  gap: 0.85rem;
}

.sc-kpi-grid-primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sc-kpi-card {
  border-radius: 1.05rem;
  padding: 1.05rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d9e3f1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.sc-kpi-card:hover,
.sc-module-card:hover,
.sc-mini-kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(15, 23, 42, 0.1);
}

.sc-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.72), rgba(14, 165, 233, 0.72));
}

.sc-kpi-card p {
  margin: 0.6rem 0 0.25rem;
  color: #475569;
  font-size: 0.86rem;
}

.sc-kpi-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sc-kpi-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 1rem;
  display: grid;
  place-content: center;
  font-size: 1.15rem;
}

.sc-kpi-emerald .sc-kpi-icon { background: #dcfce7; color: #166534; }
.sc-kpi-indigo .sc-kpi-icon { background: #e0e7ff; color: #3730a3; }
.sc-kpi-cyan .sc-kpi-icon { background: #cffafe; color: #0e7490; }
.sc-kpi-amber .sc-kpi-icon { background: #fef3c7; color: #92400e; }

.sc-kpi-grid-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sc-mini-kpi {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 1rem;
  padding: 0.95rem;
  background: #fff;
  border: 1px solid #d9e3f1;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
}

.sc-mini-kpi i {
  font-size: 1.2rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  display: grid;
  place-content: center;
  background: #eef2ff;
  color: #1d4ed8;
}

.sc-mini-kpi p {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
}

.sc-mini-kpi strong {
  font-size: 1.15rem;
  color: #0f172a;
}

.sc-module-section,
.sc-activity-section {
  border-radius: 1.1rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #d7e2ef;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.sc-section-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
}

.sc-section-head p {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.85rem;
  color: #64748b;
}

.sc-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-module-card {
  border-radius: 1rem;
  padding: 1rem;
  background: #fcfdff;
  border: 1px solid #d7e2ef;
  transition: all 0.2s ease;
  position: relative;
}

.sc-module-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.95rem;
  display: grid;
  place-content: center;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #e6f0ff, #e5f9ff);
  color: #0369a1;
}

.sc-module-icon i {
  font-size: 1.3rem;
}

.sc-module-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.sc-module-card p {
  margin: 0.38rem 0 0.88rem;
  font-size: 0.82rem;
  color: #64748b;
  min-height: 2.45rem;
}

.sc-module-card .btn {
  width: 100%;
  border-radius: 0.7rem;
  font-weight: 600;
}

.sc-activity-list {
  display: grid;
  gap: 0.55rem;
}

.sc-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid #d8e3f0;
  background: linear-gradient(180deg, #f9fbff 0%, #f8fafc 100%);
  padding: 0.7rem 0.8rem;
}

.sc-activity-item h5 {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
}

.sc-activity-item p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.dot {
  margin-top: 0.32rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-warning { background: #f59e0b; }
.dot-success { background: #22c55e; }
.dot-info { background: #38bdf8; }

/* Firma: Codex - 27/03/2026
   Estandar visual reutilizable para vistas internas del panel */
.admin-page-frame {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0.15rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2f68 0%, #114792 52%, #155cc0 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.page-header h1,
.page-header .h4 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-subtitle {
  margin: 0.34rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 52rem;
}

.action-toolbar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.page-header-card {
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2f68 0%, #114792 52%, #155cc0 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}


.page-header-main {
  min-width: 0;
}

.sc-page-title-hero {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.sc-page-title-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(219, 234, 254, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(191, 219, 254, 0.14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sc-page-title-icon i {
  font-size: 1.45rem;
  line-height: 1;
  color: #f8fbff;
}

.sc-page-title-copy {
  min-width: 0;
}

.page-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-header .btn,
.page-header-card .btn {
  border-radius: 0.78rem;
  font-weight: 700;
}

.page-header .btn-outline-secondary,
.page-header-card .btn-outline-secondary {
  color: #eff6ff;
  border-color: rgba(219, 234, 254, 0.58);
  background: rgba(15, 23, 42, 0.16);
}

.page-header .btn-outline-secondary:hover,
.page-header-card .btn-outline-secondary:hover {
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.88);
  background: #ffffff;
}

.page-header .btn-outline-primary,
.page-header-card .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(191, 219, 254, 0.7);
  background: rgba(30, 64, 175, 0.24);
}

.page-header .btn-outline-primary:hover,
.page-header-card .btn-outline-primary:hover {
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.88);
  background: #ffffff;
}

.page-header .btn-primary,
.page-header-card .btn-primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.page-header .btn-primary:hover,
.page-header-card .btn-primary:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.content-card,
.filter-card,
.table-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #d9e3f1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.content-card,
.filter-card {
  padding: 1rem;
}

.table-card {
  overflow: hidden;
}

.table-card .table-responsive {
  margin: 0;
  padding: 0.2rem 1rem 1rem;
}

.table-card .table {
  margin-bottom: 0;
}

.table-card .table > :not(caption) > * > * {
  border-color: #e6edf6;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

/* Firma: Codex - 30/03/2026 | Fondo escalonado suave para distinguir registros en listados detallados (espacios, sedes, clientes, pagos, comprobantes, promociones y reservas) */
:is(#tablaEspaciosDetallada, #tablaSedesDetallada, #tablaClientesDetallada, #tablaPagosDetallada, #tablaComprobantesDetallada, #tablaPromocionesDetallada, #tablaReservasDetallada) tbody tr:nth-child(odd) > td {
  background-color: #ffffff;
}

:is(#tablaEspaciosDetallada, #tablaSedesDetallada, #tablaClientesDetallada, #tablaPagosDetallada, #tablaComprobantesDetallada, #tablaPromocionesDetallada, #tablaReservasDetallada) tbody tr:nth-child(even) > td {
  background-color: #f6f8fb;
}

:is(#tablaEspaciosDetallada, #tablaSedesDetallada, #tablaClientesDetallada, #tablaPagosDetallada, #tablaComprobantesDetallada, #tablaPromocionesDetallada, #tablaReservasDetallada) tbody tr > td {
  transition: background-color 0.18s ease;
}

:is(#tablaEspaciosDetallada, #tablaSedesDetallada, #tablaClientesDetallada, #tablaPagosDetallada, #tablaComprobantesDetallada, #tablaPromocionesDetallada, #tablaReservasDetallada) tbody tr:hover > td {
  background-color: #edf3ff;
}

.section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.table-card .section-title,
.content-card .section-title,
.filter-card .section-title {
  padding: 1rem 1rem 0.2rem;
}

.kpi-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.kpi-card {
  border-radius: 1rem;
  border: 1px solid #d9e3f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kpi-card-label {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  width: 100%;
  text-align: center;
}

.kpi-card-value {
  margin: 0.3rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  width: 100%;
  text-align: center;
}

/* Firma: Codex - 30/03/2026 | Centrado visual de metricas acumulativas en KPIs y contador de registros visibles */
.filter-card .form-control[id^="contador"] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #0f172a;
}

.empty-state {
  margin: 0.7rem 1rem 1rem;
  padding: 1.05rem;
  border-radius: 0.95rem;
  border: 1px dashed #c7d5e9;
  background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.empty-state i {
  color: #2563eb;
  font-size: 1.1rem;
}

/* Firma: Codex - 01/06/2026 | Jerarquia visual unificada para todas las pestañas admin (KPI, filtro y listado). */
:is(.admin-page-frame, .sc-admin-main) .kpi-grid .kpi-card {
  border-top: 3px solid #60a5fa;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

:is(.admin-page-frame, .sc-admin-main) .filter-card {
  border-top: 3px solid #22c55e;
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

:is(.admin-page-frame, .sc-admin-main) .filter-card .section-title {
  color: #14532d;
}

:is(.admin-page-frame, .sc-admin-main) .table-card {
  border-top: 3px solid #2563eb;
  background:
    radial-gradient(130% 140% at 100% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

:is(.admin-page-frame, .sc-admin-main) .table-card .section-title {
  color: #1e3a8a;
}

:is(.admin-page-frame, .sc-admin-main) .content-card {
  border-top: 3px solid #0ea5e9;
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

:is(.admin-page-frame, .sc-admin-main) .content-card .section-title {
  color: #0f4c81;
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card {
  border-top: 3px solid #2563eb;
  background:
    radial-gradient(130% 140% at 100% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card .sc-form-title {
  color: #1e3a8a;
}

/* Firma: Codex - 01/06/2026 | Modo compacto admin para mostrar mas informacion por pantalla. */
:is(.admin-page-frame, .sc-admin-main) .kpi-grid {
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

:is(.admin-page-frame, .sc-admin-main) .kpi-grid .kpi-card {
  padding: 0.72rem 0.8rem;
  border-radius: 0.85rem;
}

:is(.admin-page-frame, .sc-admin-main) .kpi-grid .kpi-card-label {
  font-size: 0.73rem;
}

:is(.admin-page-frame, .sc-admin-main) .kpi-grid .kpi-card-value {
  margin-top: 0.2rem;
  font-size: 1.32rem;
}

:is(.admin-page-frame, .sc-admin-main) .filter-card {
  padding: 0.72rem;
  border-radius: 0.85rem;
}

:is(.admin-page-frame, .sc-admin-main) .content-card {
  padding: 0.72rem;
  border-radius: 0.85rem;
}

:is(.admin-page-frame, .sc-admin-main) .table-card {
  border-radius: 0.85rem;
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card {
  border-radius: 0.85rem;
  padding: 0.72rem;
}

:is(.admin-page-frame, .sc-admin-main) .filter-card .section-title,
:is(.admin-page-frame, .sc-admin-main) .content-card .section-title,
:is(.admin-page-frame, .sc-admin-main) .table-card .section-title {
  padding: 0.65rem 0.78rem 0.15rem;
  font-size: 0.92rem;
}

:is(.admin-page-frame, .sc-admin-main) .filter-card .row {
  --bs-gutter-y: 0.45rem;
}

:is(.admin-page-frame, .sc-admin-main) .filter-card .form-label {
  margin-bottom: 0.26rem;
  font-size: 0.75rem;
}

:is(.admin-page-frame, .sc-admin-main) .filter-card .form-control,
:is(.admin-page-frame, .sc-admin-main) .filter-card .form-select,
:is(.admin-page-frame, .sc-admin-main) .table-card .form-control,
:is(.admin-page-frame, .sc-admin-main) .table-card .form-select {
  min-height: 2.2rem;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  font-size: 0.88rem;
}

:is(.admin-page-frame, .sc-admin-main) .table-card .table-responsive {
  padding: 0.15rem 0.8rem 0.78rem;
}

:is(.admin-page-frame, .sc-admin-main) .table-card .table > :not(caption) > * > * {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card .sc-form-section {
  gap: 0.55rem;
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card .form-label {
  margin-bottom: 0.26rem;
  font-size: 0.75rem;
}

:is(.admin-page-frame, .sc-admin-main) .sc-form-card .form-control,
:is(.admin-page-frame, .sc-admin-main) .sc-form-card .form-select {
  min-height: 2.2rem;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  font-size: 0.88rem;
}

:is(.admin-page-frame, .sc-admin-main) .table-card thead th .sc-col-header small {
  font-size: 0.64rem;
}

:is(.admin-page-frame, .sc-admin-main) .sc-action-btn {
  padding: 0.26rem 0.54rem;
  font-size: 0.74rem;
  border-radius: 0.58rem;
}

/* Firma: Codex - 30/03/2026 | Tarjeta premium para listados y panel operativo de reservas (agenda, disponibilidad, pendientes por confirmar, bloqueos y resumen). */
.sc-reservas-list-card {
  overflow: hidden;
}

.sc-reservas-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 0.35rem;
  border-bottom: 1px solid #e6edf6;
}

.sc-listado-filtro-form {
  padding: 0.85rem 1rem 0.95rem;
  border-bottom: 1px solid #e6edf6;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.sc-listado-filtro-form .form-control {
  border-radius: 0.7rem;
  border-color: #cbd8ea;
  min-height: 2.35rem;
}

.sc-listado-estados-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sc-estado-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d7e2f1;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  background: #f8fbff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}

.sc-estado-check input[type='checkbox'] {
  width: 0.92rem;
  height: 0.92rem;
  margin: 0;
}


/* Firma: Codex - 29/03/2026
   Refinamiento visual del listado de espacios deportivos */
.sc-espacio-main {
  display: grid;
  gap: 0.2rem;
}

.sc-list-main {
  display: grid;
  gap: 0.18rem;
}

.sc-list-code {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #c7d6ee;
  background: #f5f9ff;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sc-list-title {
  font-weight: 700;
  color: #0f172a;
}

.sc-espacio-code {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #c7d6ee;
  background: #f5f9ff;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.sc-espacio-name {
  font-weight: 700;
  color: #0f172a;
}

.sc-estado-pill {
  min-width: 140px;
  display: inline-flex;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.38rem 0.65rem;
}

/* Mapeo automatico para pantallas que aun usan la estructura anterior */
.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start !important;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem !important;
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2f68 0%, #114792 52%, #155cc0 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 h1.h4 {
  margin-bottom: 0.28rem !important;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 p.text-muted,
.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .btn {
  border-radius: 0.78rem;
  font-weight: 700;
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .btn-outline-secondary {
  color: #eff6ff;
  border-color: rgba(219, 234, 254, 0.58);
  background: rgba(15, 23, 42, 0.16);
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .btn-outline-secondary:hover {
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.88);
  background: #ffffff;
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(191, 219, 254, 0.7);
  background: rgba(30, 64, 175, 0.24);
}

.admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 .btn-outline-primary:hover {
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.88);
  background: #ffffff;
}

.admin-page-frame > form.card,
.admin-page-frame > section.card,
.admin-page-frame > .card,
.admin-page-frame form.card.card-body.shadow-sm,
.admin-page-frame section.card.border-0.shadow-sm,
.admin-page-frame .card.border-0.shadow-sm {
  border-radius: 1rem !important;
  border: 1px solid #d9e3f1 !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07) !important;
}

.admin-page-frame > .table-responsive,
.admin-page-frame .row .table-responsive {
  border-radius: 1rem;
  border: 1px solid #d9e3f1;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  padding: 0.35rem 0.7rem;
}


.sc-form-shell {
  display: grid;
  gap: 0.9rem;
}

.sc-form-shell .alert-danger {
  border-radius: 0.9rem;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
}

.sc-form-shell .validation-summary-valid {
  display: none;
}

.sc-form-card {
  background: #fff;
  border: 1px solid #d9e3f1;
  border-radius: 1rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  padding: 1rem;
}

.sc-form-section {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.9rem;
  margin-bottom: 0.8rem;
}

.sc-form-section:last-child {
  margin-bottom: 0;
}

.sc-form-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
}

.sc-form-title i {
  color: #1d4ed8;
}

.sc-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.sc-check-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d6e2f1;
  border-radius: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: #fff;
}

.sc-check-chip:has(input:checked),
.sc-day-chip:has(input:checked) {
  border-color: #93c5fd;
  background: #eff6ff;
}

.sc-form-shell .form-control,
.sc-form-shell .form-select {
  border-color: #cdd9ea;
  border-radius: 0.7rem;
  min-height: 2.45rem;
}

.sc-form-shell .form-control:focus,
.sc-form-shell .form-select:focus {
  border-color: #7fb0fb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.sc-days-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sc-day-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d6e2f1;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  background: #fff;
  font-size: 0.86rem;
}

.sc-form-actions {
  display: flex;
  gap: 0.55rem;
  position: sticky;
  bottom: 0.55rem;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid #d9e3f1;
  border-radius: 0.8rem;
  padding: 0.6rem;
}

.sc-form-actions .btn {
  border-radius: 0.7rem;
  min-width: 140px;
}

.sc-action-btn {
  --_bg: #f8fafc;
  --_border: #dbe2ea;
  --_text: #334155;
  --_hover-bg: #f1f5f9;
  --_hover-border: #cbd5e1;
  --_hover-text: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 31px;
  min-width: 102px;
  padding: 0.28rem 0.62rem;
  border-radius: 0.62rem;
  border: 1px solid var(--_border);
  background: var(--_bg);
  color: var(--_text);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: all 0.18s ease;
}

.sc-action-btn i {
  font-size: 0.78rem;
}

.sc-action-btn:hover,
.sc-action-btn:focus-visible {
  background: var(--_hover-bg);
  border-color: var(--_hover-border);
  color: var(--_hover-text);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.sc-action-btn:focus-visible {
  outline: 0;
}

.sc-action-edit {
  --_bg: #fff7e6;
  --_border: #facc15;
  --_text: #b45309;
  --_hover-bg: #ffefcc;
  --_hover-border: #eab308;
  --_hover-text: #92400e;
}

.sc-action-delete {
  --_bg: #fef2f2;
  --_border: #fca5a5;
  --_text: #dc2626;
  --_hover-bg: #fee2e2;
  --_hover-border: #f87171;
  --_hover-text: #b91c1c;
}

.sc-action-checkin {
  --_bg: #ecfdf5;
  --_border: #86efac;
  --_text: #166534;
  --_hover-bg: #dcfce7;
  --_hover-border: #4ade80;
  --_hover-text: #14532d;
}

.sc-action-noshow {
  --_bg: #f5f3ff;
  --_border: #c4b5fd;
  --_text: #6d28d9;
  --_hover-bg: #ede9fe;
  --_hover-border: #a78bfa;
  --_hover-text: #5b21b6;
}

.sc-action-primary {
  --_bg: #eff6ff;
  --_border: #93c5fd;
  --_text: #1d4ed8;
  --_hover-bg: #dbeafe;
  --_hover-border: #60a5fa;
  --_hover-text: #1e40af;
}

.sc-action-neutral {
  --_bg: #f1f5f9;
  --_border: #cbd5e1;
  --_text: #334155;
  --_hover-bg: #e2e8f0;
  --_hover-border: #94a3b8;
  --_hover-text: #1e293b;
}

.table td.text-end .sc-action-btn,
.card td.text-end .sc-action-btn {
  margin-left: 0.28rem;
  vertical-align: middle;
}

@keyframes scFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sc-kpi-card,
.sc-mini-kpi,
.sc-module-card,
.sc-activity-item {
  animation: scFadeInUp 0.35s ease both;
}

@media (max-width: 1400px) {
  .sc-kpi-grid-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .sc-admin-shell {
    grid-template-columns: 1fr;
  }

  .sc-admin-sidebar {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
    padding-bottom: 1.55rem;
    z-index: auto;
  }

  .sc-admin-main {
    margin-left: 0;
  }

  .sc-admin-nav {
    overflow: visible;
    min-height: auto;
  }

  .sc-admin-session-box {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
  }

  .sc-kpi-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-admin-switcher {
    min-width: 100%;
  }

}

@media (max-width: 768px) {
  .sc-admin-shell,
  .sc-admin-main,
  .admin-page-frame {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-page-frame {
    max-width: none;
    width: 100%;
  }

  .sc-form-shell,
  .sc-form-card,
  .sc-form-section {
    min-width: 0;
  }

  .sc-admin-main {
    padding: 0.8rem;
  }

  .sc-kpi-grid-primary,
  .sc-kpi-grid-secondary,
  .sc-module-grid {
    grid-template-columns: 1fr;
  }

  .sc-admin-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .sc-admin-userbox {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .sc-check-grid {
    grid-template-columns: 1fr;
  }

  .sc-form-actions {
    position: static;
    flex-direction: column;
  }

  .page-header,
  .admin-page-frame > .d-flex.justify-content-between.align-items-center.mb-3 {
    padding: 0.85rem;
  }
}


/* Firma: Codex - 02/04/2026 | Fase 1/Fase 2 Maestros: navegación por paneles, encabezados, buscador y composición visual premium */
.sc-maestros-kpi {
  text-align: center;
}

.sc-maestros-nav-card {
  padding: 0.8rem;
}

.sc-maestros-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.sc-maestro-tab {
  border: 1px solid #d6e3f5;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-radius: 0.95rem;
  padding: 0.78rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  transition: all 0.18s ease;
  color: #1e293b;
}

.sc-maestro-tab:hover {
  border-color: #aac7f7;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.sc-maestro-tab.is-active {
  border-color: #3b82f6;
  background: linear-gradient(180deg, #eaf3ff 0%, #dbeafe 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.sc-maestro-tab-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1d4ed8;
  border: 1px solid #cfe0fa;
}

.sc-maestro-tab-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.2;
}

.sc-maestro-tab-text strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.sc-maestro-tab-text small {
  color: #64748b;
  font-size: 0.74rem;
}

.sc-maestro-panel {
  display: none;
}

.sc-maestro-panel.is-active {
  display: block;
}

.sc-maestro-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.sc-maestro-panel-search {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 250px;
  max-width: 340px;
  border: 1px solid #cfe0fa;
  border-radius: 0.72rem;
  background: #f8fbff;
  padding: 0.34rem 0.5rem;
}

.sc-maestro-panel-search i {
  color: #64748b;
}

.sc-maestro-panel-search .form-control {
  border: 0;
  background: transparent;
  box-shadow: none !important;
  padding: 0;
  min-height: 1.65rem;
}

.sc-maestro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 0.35rem;
}

.sc-maestro-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border-radius: 999px;
  border: 1px solid #cfe0fa;
  background: #f8fbff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.62rem;
}

.sc-maestro-stat-pill i {
  font-size: 0.76rem;
}

.sc-maestro-stat-pill.is-success {
  border-color: #86efac;
  background: #ecfdf5;
  color: #166534;
}

.sc-maestro-stat-pill.is-danger {
  border-color: #fda4af;
  background: #fff1f2;
  color: #be123c;
}

.sc-maestro-form {
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  border: 1px solid #d8e5f9;
  border-radius: 0.85rem;
  margin: 0.15rem 0.75rem 0.5rem;
  padding: 0.78rem !important;
}

.sc-maestro-form .btn-primary {
  box-shadow: 0 10px 16px rgba(37, 99, 235, 0.14);
}

.sc-maestro-table thead th {
  color: #475569;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  border-bottom-color: #cdddf3;
  background: #f8fbff;
}

.sc-maestro-table tbody tr {
  transition: background-color 0.16s ease;
}

.sc-maestro-table tbody tr:hover {
  background: #f8fbff;
}

.sc-maestro-table tbody td {
  border-bottom-color: #e6eef9;
}

.sc-maestro-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

@media (max-width: 1200px) {
  .sc-maestros-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .sc-maestro-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sc-maestro-panel-search {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .sc-admin-main .nav-tabs,
  .sc-admin-main .nav-pills,
  .sc-maestros-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
  }

  .sc-admin-main .nav-tabs .nav-link,
  .sc-admin-main .nav-pills .nav-link,
  .sc-maestro-tab {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
  }
}

/* Firma: Codex - 09/04/2026 | Estandar visual de cabeceras de listados con icono superior y etiqueta pequena centrada. */
.table-card thead th .sc-col-header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.table-card thead th .sc-col-header i {
  font-size: 0.95rem;
  color: #1d4ed8;
}

.table-card thead th .sc-col-header small {
  font-size: 0.64rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.01em;
}

.sc-list-table thead th .sc-col-header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.sc-list-table thead th .sc-col-header i {
  font-size: 0.95rem;
  color: #1d4ed8;
}

.sc-list-table thead th .sc-col-header small {
  font-size: 0.64rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.01em;
}

.sc-sede-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.sc-sede-highlight i {
  color: #2563eb;
}

.sc-suscripcion-limites-grid,
.sc-suscripcion-soporte-grid {
  display: grid;
  gap: 0.85rem;
}

.sc-suscripcion-limites-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-suscripcion-soporte-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-suscripcion-info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.82rem;
  align-items: flex-start;
  border-radius: 1rem;
  border: 1px solid #d9e3f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.sc-suscripcion-info-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e6f0ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.sc-suscripcion-info-icon i {
  font-size: 1.18rem;
  line-height: 1;
}

.sc-suscripcion-info-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.sc-suscripcion-info-copy small {
  font-size: 0.74rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.01em;
}

.sc-suscripcion-info-copy strong {
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
  word-break: break-word;
}

.sc-suscripcion-info-copy span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
}

/* Firma: Codex - 13/04/2026 | Dashboard ejecutivo: KPIs de decision, paneles operativos, tendencia visual y acciones rapidas. */
.sc-dash-shell {
  display: grid;
  gap: 1rem;
}

.sc-dash-topbar {
  padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  border: 0;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2f68 0%, #114792 52%, #155cc0 100%);
  color: #fff;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.sc-dash-topbar .sc-admin-topbar-head h1 {
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sc-dash-topbar .sc-admin-topbar-head p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.34rem;
  line-height: 1.45;
}

.sc-dash-topbar .sc-dash-negocio-card {
  border: 1px solid rgba(191, 219, 254, 0.34);
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(6px);
}

.sc-dash-topbar .sc-dash-negocio-card-head {
  color: #dbeafe;
}

.sc-dash-topbar .sc-dash-negocio-card-name,
.sc-dash-topbar .sc-dash-negocio-card-id {
  color: #fff;
}

.sc-dash-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.sc-dash-action-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d8e2f0;
  border-radius: 0.9rem;
  padding: 0.65rem 0.8rem;
  background: #fff;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sc-dash-action-link i {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.65rem;
  display: grid;
  place-content: center;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 1rem;
}

.sc-dash-action-link span {
  font-size: 0.86rem;
  font-weight: 700;
}

.sc-dash-action-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.09);
  border-color: #9eb4d4;
  color: #0f172a;
}

.sc-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.sc-dash-kpi-card {
  border-radius: 1rem;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d7e3f2;
  padding: 0.95rem 1rem;
  box-shadow: 0 13px 26px rgba(15, 23, 42, 0.06);
}

.sc-dash-kpi-label {
  font-size: 0.78rem;
  color: #5f6f86;
  margin-bottom: 0.25rem;
}

.sc-dash-kpi-value {
  font-size: 1.58rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.sc-dash-kpi-foot {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.76rem;
}

.sc-dash-progress {
  margin-top: 0.5rem;
  width: 100%;
  height: 0.44rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.sc-dash-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.sc-dash-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.14rem 0.48rem;
  font-weight: 700;
  font-size: 0.69rem;
  letter-spacing: 0.01em;
}

.sc-dash-badge-ok {
  background: #dcfce7;
  color: #166534;
}

.sc-dash-badge-warn {
  background: #fef3c7;
  color: #92400e;
}

.sc-dash-badge-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.sc-dash-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.25fr 1fr;
}

.sc-dash-panel {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d7e2ef;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  padding: 0.95rem 1rem;
}

.sc-dash-shell .sc-dash-panel {
  border-top: 3px solid #2563eb;
  background:
    radial-gradient(130% 140% at 100% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 0.85rem;
  padding: 0.78rem 0.85rem;
}

.sc-dash-panel-head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #0f172a;
}

.sc-dash-shell .sc-dash-panel-head h3 {
  color: #1e3a8a;
  font-size: 0.92rem;
}

.sc-dash-panel-head p {
  margin: 0.24rem 0 0.7rem;
  font-size: 0.78rem;
  color: #64748b;
}

.sc-dash-shell .sc-dash-panel-head p {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.76rem;
}

.sc-dash-health-list {
  display: grid;
  gap: 0.55rem;
}

.sc-dash-health-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.5rem 0.62rem;
  background: #f9fbff;
}

.sc-dash-health-item span {
  color: #475569;
  font-size: 0.8rem;
}

.sc-dash-health-item strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.sc-dash-bars {
  min-height: 182px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.48rem;
  align-items: end;
}

.sc-dash-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.sc-dash-bar-col small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
}

.sc-dash-bar-track {
  width: 100%;
  height: 142px;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #eef3fb 0%, #e2e8f0 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.16rem;
}

.sc-dash-bar-fill {
  width: 100%;
  border-radius: 0.54rem;
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
}

.sc-dash-todo {
  display: grid;
  gap: 0.52rem;
}

.sc-dash-todo-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.52rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.72rem;
  background: #fff;
  padding: 0.55rem 0.7rem;
}

.sc-dash-todo-item h5 {
  margin: 0;
  font-size: 0.84rem;
  color: #0f172a;
}

.sc-dash-todo-item p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.sc-dash-mod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.sc-dash-mod-item {
  border: 1px solid #dbe5f2;
  border-radius: 0.72rem;
  padding: 0.52rem 0.62rem;
  background: #f9fbff;
}

.sc-dash-mod-item span {
  display: block;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.78rem;
}

.sc-dash-mod-item small {
  color: #64748b;
  font-size: 0.68rem;
}

@media (max-width: 1400px) {
  .sc-dash-actions,
  .sc-dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-dash-grid {
    grid-template-columns: 1fr;
  }

  .sc-suscripcion-limites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sc-dash-actions,
  .sc-dash-kpis,
  .sc-dash-mod-grid {
    grid-template-columns: 1fr;
  }

  .sc-suscripcion-limites-grid,
  .sc-suscripcion-soporte-grid {
    grid-template-columns: 1fr;
  }
}

.home-hero-carousel .carousel-inner,
.home-hero-carousel .carousel-item,
.home-hero-slide {
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 760;
}

.home-hero {
  max-width: 1600px;
  margin: 0 auto 1rem;
  padding-inline: 12px;
}

.home-hero-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 1.45rem 1.4rem;
  color: #fff;
  background-size: cover;
  background-position: center 24%;
  background-repeat: no-repeat;
}

.home-hero-slide > .d-flex {
  position: relative;
  z-index: 4;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1.2rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-hero-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.home-hero-btn-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(239,246,255,0.96) 100%);
  border-color: rgba(191, 219, 254, 0.96);
  color: #133b7a;
  box-shadow: 0 14px 28px rgba(8, 20, 50, 0.18);
}

.home-hero-btn-primary:hover,
.home-hero-btn-primary:focus {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(226,239,255,0.98) 100%);
  border-color: rgba(147, 197, 253, 0.98);
  color: #0f2f66;
  box-shadow: 0 18px 32px rgba(8, 20, 50, 0.22);
}

.home-hero-btn-secondary {
  background: linear-gradient(180deg, rgba(7, 24, 58, 0.42) 0%, rgba(9, 32, 74, 0.58) 100%);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  box-shadow: 0 14px 28px rgba(3, 10, 24, 0.16);
  backdrop-filter: blur(6px);
}

.home-hero-btn-secondary:hover,
.home-hero-btn-secondary:focus {
  background: linear-gradient(180deg, rgba(10, 34, 80, 0.52) 0%, rgba(12, 39, 86, 0.66) 100%);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  box-shadow: 0 18px 34px rgba(3, 10, 24, 0.22);
}

.home-hero-carousel .home-hero-control {
  width: 52px;
  opacity: 0.95;
  z-index: 2;
}

.home-hero-carousel .carousel-control-prev.home-hero-control {
  justify-content: flex-start;
  left: 6px;
}

.home-hero-carousel .carousel-control-next.home-hero-control {
  justify-content: flex-end;
  right: 6px;
}

.home-hero-slide h1,
.home-hero-slide h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-hero-slide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.home-hero-kicker {
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-hero-slide-1 {
  background: linear-gradient(135deg, #0f2c5a 0%, #1f4ea0 45%, #0ea5e9 100%);
}

.home-hero-slide-2 {
  background: linear-gradient(135deg, #0b4b6e 0%, #0e7490 45%, #22c55e 100%);
}

.home-hero-slide-3 {
  background: linear-gradient(135deg, #334155 0%, #1e40af 55%, #2563eb 100%);
}

.home-hero-slide-dynamic h1 {
  font-size: 1.8rem;
}

.home-hero-slide-dynamic {
  background-color: #081326;
  background-size: 100% 100%, contain;
  background-position: center, center 18%;
  background-repeat: no-repeat;
}

.home-hero-side {
  border-radius: 1rem;
  border: 1px solid #d9e3f1;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  padding: 1.15rem;
}

.home-hero-side h3 {
  margin-top: 0.45rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.home-hero-side p {
  color: #475569;
  margin-bottom: 0.65rem;
}

.home-hero-side-list {
  margin: 0 0 0.9rem;
  padding-left: 1.05rem;
  color: #334155;
}

.home-search-card {
  border: 1px solid #d6e6fb;
  border-radius: 1rem;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, 0.07) 0%, rgba(14, 165, 233, 0) 55%),
    linear-gradient(170deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.home-section-head {
  display: grid;
  gap: 0.05rem;
}

.home-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-section-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #0d2349;
  letter-spacing: -0.015em;
}

.home-section-subtitle {
  color: #476287;
  font-size: 0.93rem;
  margin-top: -0.12rem;
}

.home-subsection-title {
  font-size: 0.93rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 0.01em;
}

.home-benefits-section {
  margin-top: 2.2rem;
  position: relative;
  border-radius: 1.35rem;
  padding: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 52%),
    radial-gradient(120% 140% at 100% 100%, rgba(132, 204, 22, 0.12) 0%, rgba(132, 204, 22, 0) 55%),
    linear-gradient(145deg, #f8fbff 0%, #f1f7ff 45%, #eef4ff 100%);
  border: 1px solid #d7e7fb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.home-benefits-head {
  text-align: center;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
}

.home-benefits-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.25vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1f44;
  line-height: 1.1;
  white-space: nowrap;
  max-width: none;
  margin-inline: auto;
}

.home-benefits-head p {
  margin: 0.62rem auto 0;
  max-width: 62ch;
  color: #345172;
  font-size: 1.03rem;
  text-wrap: pretty;
  line-height: 1.42;
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.home-benefit-card {
  border: 1px solid #d4e5fb;
  border-radius: 1.05rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 251, 255, 0.94) 100%);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 1.05rem 1rem 1.02rem;
  min-height: 12.2rem;
  position: relative;
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.home-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 52%, #84cc16 100%);
  border-radius: 1.05rem 1.05rem 0 0;
  opacity: .9;
}

.home-benefit-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(14, 165, 233, 0), rgba(132, 204, 22, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-benefit-card:hover {
  transform: translateY(-5px);
  border-color: #bdd9fb;
  box-shadow:
    0 20px 36px rgba(15, 23, 42, 0.13),
    0 0 0 1px rgba(59, 130, 246, 0.08);
}

.home-benefit-card:nth-child(2),
.home-benefit-card:nth-child(5) {
  transform-origin: center;
}

.home-benefit-card:nth-child(2):hover,
.home-benefit-card:nth-child(5):hover {
  transform: translateY(-5px) rotate(-0.35deg);
}

.home-benefit-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  display: grid;
  place-content: center;
  background: radial-gradient(120% 120% at 20% 15%, #f4fbff 0%, #dceeff 100%);
  color: #1f5fd4;
  border: 1px solid #b8d8fd;
  font-size: 1.2rem;
  margin-bottom: 0.72rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 8px 20px rgba(37, 99, 235, 0.18);
  transition: transform .24s ease, box-shadow .24s ease;
}

.home-benefit-card:hover .home-benefit-icon {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 12px 24px rgba(14, 165, 233, 0.28);
}

.home-benefit-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0d2147;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.home-benefit-card p {
  margin: 0.5rem 0 0;
  color: #3f5677;
  font-size: 0.97rem;
  line-height: 1.46;
}

.home-platform-cta {
  background: linear-gradient(120deg, #0d3b66 0%, #1d4ed8 54%, #0ea5e9 100%);
  color: #fff;
  padding: 3.2rem 0;
  margin-top: 2rem;
}

.home-platform-brand-strip {
  padding: 1.35rem 0 0.5rem;
}

.home-platform-strip-head {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-platform-strip-title {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f2448;
  border: 1px solid #d4e4fa;
  border-radius: 999px;
  background: linear-gradient(175deg, #ffffff 0%, #f2f8ff 100%);
  padding: 0.42rem 0.9rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.home-platform-strip-text {
  margin-top: 0.45rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.35;
}

.home-platform-cta h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.home-platform-cta p {
  margin: 0.95rem auto 1.55rem;
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.93);
  white-space: nowrap;
}

.home-platform-cta .btn {
  border-radius: 0.95rem;
  min-height: 3.15rem;
  padding-inline: 1.45rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.005em;
  line-height: 1.1;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.home-platform-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.9rem !important;
  margin-inline: auto;
}

.home-platform-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15.8rem;
}

.home-platform-cta-primary {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: #0d2e61;
  box-shadow: 0 14px 28px rgba(9, 26, 63, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-platform-cta-primary:hover,
.home-platform-cta-primary:focus {
  transform: translateY(-2px);
  color: #0b2856;
  background: linear-gradient(180deg, #ffffff 0%, #e5efff 100%);
  box-shadow: 0 16px 32px rgba(9, 26, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-platform-cta-secondary {
  border: 1.6px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 12px 24px rgba(8, 24, 58, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.home-platform-cta-secondary:hover,
.home-platform-cta-secondary:focus {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(8, 24, 58, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.home-platform-footer {
  position: relative;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, 0.09) 0%, rgba(14, 165, 233, 0) 52%),
    radial-gradient(120% 140% at 100% 100%, rgba(132, 204, 22, 0.08) 0%, rgba(132, 204, 22, 0) 56%),
    linear-gradient(170deg, #f7fbff 0%, #eef5ff 100%);
  border-top: 1px solid #d5e4fa;
  padding: 2.2rem 0 2.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-platform-title {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
}

.home-platform-brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.home-platform-brand-head-centered {
  justify-content: center;
}

.home-platform-brand-logo {
  height: 72px;
  width: auto;
  max-width: min(65vw, 330px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(25, 84, 186, 0.16));
}

.home-platform-brand-text {
  margin-top: 0.4rem;
  color: #3e5779;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 52ch;
}

.home-platform-subtitle {
  margin: 0 0 0.82rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0e2a57;
}

.home-platform-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.56rem;
  color: #365273;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.home-platform-link:hover {
  color: #123e86;
  transform: translateX(2px);
}

.home-platform-link i {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfd6f7;
  background: #f4f9ff;
  color: #1f4e97;
}

.home-platform-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.home-platform-social a {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfd6f7;
  color: #1f4e97;
  text-decoration: none;
  font-size: 1.05rem;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}

.home-platform-social a:hover {
  transform: translateY(-2px);
  border-color: #8eb8f1;
  color: #123e86;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.14);
}

.home-platform-social .home-platform-whatsapp {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 999px;
  border-color: #25d366;
  background: #fff;
  color: #25d366;
}

.home-platform-social .home-platform-whatsapp i {
  font-size: 1rem;
  line-height: 1;
}

.home-platform-social .home-platform-whatsapp:hover {
  border-color: #1ebc5a;
  background: #f0fdf4;
  color: #1ebc5a;
}

.home-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.38);
  z-index: 1100;
  transition: transform .2s ease, filter .2s ease;
}

.home-whatsapp-float i {
  font-size: 1.9rem;
  line-height: 1;
}

.home-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.04);
}

@media (max-width: 576px) {
  .home-whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

.auth-nav-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.68rem;
  padding: 0.42rem 0.74rem;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 2.3rem;
  border-width: 1px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.auth-nav-mini-outline {
  color: #1b4f9c;
  border: 1px solid #a8c9f7;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf3ff 100%);
}

.auth-nav-mini-outline:hover {
  color: #143c80;
  border-color: #6ea8f4;
  background: #ddebff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.auth-nav-mini-solid {
  color: #fff;
  border: 1px solid #245fdf;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 62%, #0ea5e9 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.auth-nav-mini-solid:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.34);
}

.btn-cobrar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border-radius: 0.62rem;
  padding: 0.26rem 0.62rem;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #ffffff;
  border: 1px solid #15924a;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 58%, #15803d 100%);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.26);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-cobrar:hover,
.btn-cobrar:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 20px rgba(22, 163, 74, 0.34);
}

.btn-cobrar:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.22), 0 12px 20px rgba(22, 163, 74, 0.34);
}

.btn-accion-filtro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.62rem;
  font-weight: 700;
  color: #ffffff !important;
  border: 1px solid #245fdf !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 62%, #0ea5e9 100%) !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-accion-filtro:hover,
.btn-accion-filtro:focus-visible {
  color: #ffffff !important;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.34);
}

.btn-accion-filtro:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.22), 0 14px 24px rgba(37, 99, 235, 0.34);
}

.btn-grabar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.62rem;
  font-weight: 700;
  color: #ffffff !important;
  border: 1px solid #245fdf !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 62%, #0ea5e9 100%) !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-grabar:hover,
.btn-grabar:focus-visible {
  color: #ffffff !important;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.34);
}

.btn-grabar:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.22), 0 14px 24px rgba(37, 99, 235, 0.34);
}

.btn-cancelar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.62rem;
  font-weight: 700;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.btn-cancelar:hover,
.btn-cancelar:focus-visible {
  color: #334155 !important;
  transform: translateY(-1px);
  background: #e2e8f0 !important;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
}

.btn-cancelar:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(148, 163, 184, 0.22), 0 10px 18px rgba(15, 23, 42, 0.14);
}

.auth-nav-mini-danger {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff7f7 0%, #ffefef 100%);
  color: #b91c1c;
}

.auth-nav-mini-danger:hover {
  border-color: #fca5a5;
  background: #fee2e2;
  color: #991b1b;
  box-shadow: 0 8px 16px rgba(185, 28, 28, 0.14);
}

.sc-public-auth-actions {
  gap: 0.5rem !important;
}

.sc-public-auth-actions .auth-nav-mini i {
  font-size: 0.82rem;
}

.home-sede-social {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

.home-sede-social a {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
}

.home-sede-social a:hover {
  border-color: #60a5fa;
  background: #dbeafe;
  color: #1e3a8a;
}

.auth-shell {
  width: min(1500px, 96vw);
  min-height: calc(100vh - 96px);
  margin: 1.2rem auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: minmax(340px, 44%) minmax(460px, 56%);
}

.auth-visual {
  position: relative;
  padding: 2.2rem 2rem;
  color: #f8fafc;
  background: linear-gradient(160deg, #071a3a 0%, #0f2c5a 45%, #1d4ed8 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.auth-visual.auth-visual-has-banner {
  padding: 0;
  aspect-ratio: 4 / 5;
  align-self: center;
  background-size: contain;
  background-position: center;
  background-color: #0b1731;
}

.auth-visual-content {
  max-width: 520px;
}

.auth-visual-tag {
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #dbeafe;
  border: 1px solid rgba(147, 197, 253, 0.55);
  background: rgba(15, 23, 42, 0.36);
}

.auth-visual h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.7rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 1.2rem;
}

.auth-visual-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(241, 245, 249, 0.95);
  display: grid;
  gap: .7rem;
  font-size: 1.03rem;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.auth-shell-centered {
  width: min(900px, 95vw);
  min-height: calc(100vh - 118px);
  margin: 1.5rem auto;
  grid-template-columns: 1fr;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.08), transparent 35%),
    radial-gradient(circle at 88% 92%, rgba(15, 23, 42, 0.08), transparent 28%),
    #ffffff;
}

.auth-panel-centered {
  width: 100%;
  padding: 2rem 1.25rem;
  background: transparent;
}

.auth-card-centered {
  width: min(560px, 100%);
  padding: 2rem 1.65rem;
  border-radius: 1rem;
  border: 1px solid #dbe6f4;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.auth-status-badge {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.auth-status-badge-success {
  color: #1d7f42;
  background: #e8f8ef;
  border: 1px solid #b7ebca;
}

.auth-status-badge-error {
  color: #b93838;
  background: #feecec;
  border: 1px solid #f5c8c8;
}

.auth-note {
  margin: 0.8rem 0 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #d8e5f8;
  background: #f6f9ff;
  color: #355070;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
}

.auth-card {
  width: min(510px, 100%);
}

.auth-card h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.auth-subtitle {
  margin: .55rem 0 1.15rem;
  color: #64748b;
}

.auth-mini-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  border: 1px solid #dbe6f4;
  border-radius: .7rem;
  padding: .25rem;
  background: #f8fbff;
}

.auth-mini-switch .btn,
.auth-mini-switch a {
  border: 0;
  text-decoration: none;
  text-align: center;
  border-radius: .55rem;
  padding: .52rem .6rem;
  font-weight: 700;
  color: #1e3a8a;
  background: transparent;
}

.auth-mini-switch .btn-check:checked + .btn,
.auth-mini-switch a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.auth-cta {
  padding-top: .7rem;
  padding-bottom: .7rem;
  font-weight: 700;
  border-radius: .65rem;
}

.auth-cta.btn-primary {
  background: linear-gradient(135deg, #1f66dc 0%, #1d4ed8 100%);
  border-color: #1d4ed8;
}

.auth-foot-links {
  margin-top: 1rem;
  display: grid;
  gap: .45rem;
  text-align: center;
}

.auth-foot-links-pro {
  margin-top: 1.35rem;
  gap: 1rem;
}

.auth-foot-links-pro a {
  color: #0f3fa8;
  font-size: 1.02rem;
}

.auth-foot-links a,
.auth-link {
  font-size: .93rem;
  color: #1d4ed8;
  text-decoration: none;
}

.auth-foot-links a:hover,
.auth-link:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.auth-club-box {
  border: 1px solid #dbe6f4;
  border-radius: .75rem;
  background: #f8fbff;
  padding: .9rem;
  color: #334155;
}

.home-space-card .home-space-code {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #bfd4ef;
  background: #f4f8ff;
  color: #1e3a8a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.48rem;
}

.home-space-card {
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 1.05rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 251, 255, 0.95) 100%);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  overflow: hidden;
  position: relative;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.home-space-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.95) 0%, rgba(96, 165, 250, 0.95) 100%);
  opacity: .96;
  z-index: 2;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.home-space-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.52);
  box-shadow:
    0 22px 38px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(59, 130, 246, 0.08) !important;
}

.home-space-card--external .card-body {
  padding: 0.62rem 0.62rem 0.56rem;
}

.home-space-card--external .mb-2 {
  margin-bottom: 0.42rem !important;
}

.home-space-card--external .home-item-title {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(79, 171, 127, 0.35);
  border-radius: 0.62rem;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.14) 0%, rgba(14, 165, 233, 0.14) 100%);
  color: #0b2f61;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 14px rgba(37, 99, 235, 0.1);
}

.home-space-card--external .home-item-label {
  margin-bottom: 0.12rem;
}

.home-negocio-highlight {
  border: 1px solid #9fc5f8;
  border-radius: 0.8rem;
  background: linear-gradient(170deg, #f9fcff 0%, #e6f1ff 100%);
  padding: 0.5rem 0.62rem;
  box-shadow:
    0 10px 20px rgba(30, 58, 138, 0.12),
    0 0 0 1px rgba(96, 165, 250, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.home-negocio-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: #355c94;
  margin-bottom: 0.15rem;
}

.home-negocio-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b2d61;
}

.home-item-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5b6f90;
  margin-bottom: 0.2rem;
}

.home-item-title {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.24rem 0.56rem;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 0.62rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(14, 165, 233, 0.18) 100%);
  color: #07284f;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 16px rgba(37, 99, 235, 0.12);
}

.home-item-sede {
  margin-bottom: 0.1rem;
  font-weight: 700;
  color: #0f172a;
}

.home-badge-suelo {
  border-color: #7dd3c7 !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 46%, #dbeafe 100%) !important;
  color: #0f766e !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 4px 10px rgba(16, 185, 129, 0.12);
}

.home-badge-deporte {
  border-color: #93c5fd !important;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: #1d4ed8 !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 10px rgba(37, 99, 235, 0.1);
}

.home-badge-cobertura-ok {
  border-color: #fcd34d !important;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  color: #b45309 !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 4px 10px rgba(245, 158, 11, 0.11);
}

.home-badge-cobertura-off {
  border-color: #fb923c !important;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%) !important;
  color: #c2410c !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 4px 10px rgba(249, 115, 22, 0.14);
}

.home-badge-iluminacion-ok {
  border-color: #c4b5fd !important;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
  color: #6d28d9 !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 4px 10px rgba(139, 92, 246, 0.1);
}

.home-badge-iluminacion-off {
  border-color: #f9a8d4 !important;
  background: linear-gradient(135deg, #fdf2f8 0%, #fbcfe8 100%) !important;
  color: #be185d !important;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 4px 10px rgba(236, 72, 153, 0.12);
}

.home-sede-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.65rem;
  min-width: 5.8rem;
  min-height: 2rem;
  padding: 0.28rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid #5d86d8;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 52%, #ea4335 100%);
  box-shadow: 0 8px 16px rgba(66, 133, 244, 0.16);
}

.home-map-btn:hover {
  color: #fff;
  border-color: #4d79cf;
  background: linear-gradient(135deg, #3f7de5 0%, #2f9d4d 52%, #dc3c2f 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(66, 133, 244, 0.2);
}

.home-map-btn:focus-visible,
.home-map-btn:active {
  color: #fff;
  border-color: #4469b5;
  background: linear-gradient(135deg, #3972d1 0%, #278f45 52%, #ca3428 100%);
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.16), 0 10px 18px rgba(66, 133, 244, 0.18);
}

.home-item-label-consider {
  margin-bottom: 0.12rem;
}

.home-consider-text {
  white-space: pre-line;
}

.home-omit-toggle {
  border: 1px solid #bfd9ff;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  padding: 0.42rem 0.82rem 0.42rem 2rem;
  box-shadow: 0 5px 14px rgba(30, 58, 138, 0.08);
}

.home-omit-toggle .form-check-input {
  margin-left: -1.4rem;
  border-width: 1.6px;
  border-color: #3b82f6;
}

.home-omit-toggle .form-check-input:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.home-omit-toggle .form-check-label {
  color: #143a7b;
}

.home-nearby-btn {
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.home-section-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-section-head-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: nowrap;
  padding: 0.4rem 0.55rem;
  border: 1px solid #d7e7fb;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f9fcff 0%, #f2f8ff 100%);
}

.home-head-radio-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-head-radio-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #23406e;
  white-space: nowrap;
}

.home-head-radio-select {
  min-width: 105px;
  border-color: #bfd6f7;
  font-weight: 600;
}

.home-head-btn {
  min-height: 2.38rem;
  white-space: nowrap;
  border-radius: 0.68rem;
}

.home-search-form-tight {
  row-gap: 0.45rem !important;
}

.home-search-form-tight .form-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2a4a79;
  margin-bottom: 0.38rem;
}

.home-search-form-tight .form-select,
.home-search-form-tight .form-control {
  min-height: 2.55rem;
  border-color: #c8dbf5;
  border-radius: 0.62rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home-search-form-tight .form-select:focus,
.home-search-form-tight .form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

.home-filter-secondary-row {
  margin-top: -0.62rem;
}

#ubicacionActualEstado {
  margin-top: 0;
}

.home-ubicacion-estado {
  margin: 0 !important;
  min-height: 0;
  line-height: 1.2;
}

.home-ubicacion-estado:empty {
  display: none;
}

#ubicacionActualEstado:empty {
  display: none;
}

.home-action-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 2.65rem;
  border-radius: 0.72rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.home-action-btn:hover {
  transform: translateY(-1px);
}

.home-reserve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.8rem;
  min-height: 2rem;
  padding: 0.28rem 0.72rem;
  white-space: nowrap;
}

.home-whatsapp-btn {
  color: #fff;
  border: 1px solid #15803d;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 62%, #15803d 100%);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
}

.home-whatsapp-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(22, 163, 74, 0.34);
}

.home-whatsapp-btn:focus-visible,
.home-whatsapp-btn:active {
  color: #fff;
  border-color: #166534;
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.22), 0 14px 24px rgba(22, 163, 74, 0.34);
}

.home-distance-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #8fc5ff;
  background: linear-gradient(180deg, #eef7ff 0%, #dceefe 100%);
  color: #16438d;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.28rem 0.62rem;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.14);
}

.home-space-card .home-price-from {
  border: 1px solid #93c5fd;
  border-radius: 0.72rem;
  background: linear-gradient(170deg, #fbfdff 0%, #eaf3ff 100%);
  padding: 0.5rem 0.62rem;
  color: #243b62;
  font-size: 0.85rem;
  box-shadow:
    0 8px 16px rgba(37, 99, 235, 0.14),
    0 0 0 1px rgba(147, 197, 253, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-space-card .home-price-main strong {
  color: #0b1f46;
  letter-spacing: -0.01em;
}

.home-space-card .home-price-promo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .1rem;
}

.home-space-card .home-price-base {
  font-size: .78rem;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.home-space-card .home-price-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .08rem .42rem;
  border-radius: 999px;
  background: #dcfce7;
  border: 1px solid #6ee7b7;
  color: #14532d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
}

.home-contact-box {
  border: 1px solid #d8e7f7;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.45rem 0.58rem;
  color: #2e4668;
  font-size: 0.84rem;
}

.home-ref-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f2c78f;
  background: linear-gradient(180deg, #fff6e9 0%, #ffedd4 100%);
  color: #9a4a00;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .24rem .55rem;
}

.home-ref-cta {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f1c38a;
  background: linear-gradient(180deg, #fff6ea 0%, #ffe5c3 100%);
  color: #8f3f00;
  border-radius: 0.58rem;
  font-size: 0.75rem;
  font-weight: 800;
  padding: .38rem .62rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-results-pagination {
  border-top: 1px solid #dbe5f4;
  margin-top: .35rem;
  padding: .9rem 1rem 1rem;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.home-page-link {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .75rem;
  border-radius: 10px;
  border: 1px solid #cad8f2;
  background: #fff;
  color: #1f4fad;
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: .18s ease;
}

.home-page-link:hover {
  background: #eef4ff;
  border-color: #9ebbf2;
  color: #1f4fad;
}

.home-page-link.is-active {
  background: #1f4fad;
  color: #fff;
  border-color: #1f4fad;
  box-shadow: 0 8px 16px rgba(31, 79, 173, .25);
}

.home-page-link.is-disabled {
  pointer-events: none;
  opacity: .45;
}

@media (max-width: 992px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-visual {
    min-height: 250px;
  }

  .auth-visual.auth-visual-has-banner {
    min-height: auto;
    aspect-ratio: 4 / 5;
    background-position: center top;
  }

  .auth-panel {
    padding: 1.2rem .9rem 1.4rem;
  }

  .auth-shell-centered {
    min-height: auto;
    margin: 1rem auto;
  }

  .auth-card-centered {
    padding: 1.5rem 1.1rem;
  }

  .home-hero-slide h1,
  .home-hero-slide h2 {
    font-size: 1.35rem;
  }

  .home-hero {
    max-width: 100%;
    padding-inline: 8px;
  }

  .home-hero-btn {
    min-height: 2.7rem;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .home-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-benefits-section {
    padding: 1.1rem;
  }

  .home-benefit-card {
    min-height: 11.4rem;
  }
}

@media (max-width: 576px) {
  .home-benefits-head h2 {
    white-space: normal;
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.16;
  }

  .home-hero-carousel .carousel-inner,
  .home-hero-carousel .carousel-item,
  .home-hero-slide {
    aspect-ratio: 1080 / 1350;
  }

  .home-hero-slide {
    background-position: center 10%;
  }

  .home-hero-slide-dynamic {
    background-size: 100% 100%, contain;
    background-position: center, center 8%;
  }

  .home-hero-btn {
    width: auto;
    flex: 0 1 calc(35% - 0.35rem);
    min-width: 0;
    padding-inline: 0.8rem;
    font-size: 0.88rem;
  }

  .home-hero-slide > .d-flex .home-hero-btn.ms-auto {
    margin-left: 0 !important;
  }

  .home-hero-slide > .d-flex {
    justify-content: space-between;
  }

  .home-hero {
    padding-inline: 0;
  }

  .home-benefits-grid {
    grid-template-columns: 1fr;
  }

  .home-benefits-section {
    padding: .95rem .85rem;
    border-radius: 1.05rem;
  }

  .home-benefit-card {
    min-height: auto;
    padding: .95rem .9rem;
  }

  .home-section-head-top {
    align-items: stretch;
  }

  .home-section-head-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .home-head-radio-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .home-section-head-actions > .d-flex.flex-column.gap-2 {
    width: 100%;
  }

  .home-head-radio-select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-head-btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  #btnBuscarCercaDeMi,
  #btnUsarUbicacionActual {
    width: 100% !important;
  }

  .home-platform-cta {
    padding: 2.2rem 0;
  }

  .home-platform-cta p {
    font-size: 1rem;
    white-space: normal;
  }

  .home-platform-strip-title {
    font-size: 1rem;
    padding: 0.4rem 0.76rem;
  }

  .home-platform-cta .btn {
    width: min(100%, 18rem);
  }
}

/* Firma: Codex - 13/04/2026 | Fase 2 y 3 dashboard: filtros globales, variaciones, tablas accionables, tarjeta informativa de Club/Negocio junto al titulo y modal de nueva reserva en el mismo dashboard. */
.sc-dash-filter-card {
  border: 1px solid #d8e2f0;
  border-radius: 1rem;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.85rem 0.9rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.sc-dash-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.sc-dash-filter-grid label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.22rem;
}

/* Firma: Codex - 01/06/2026 | Jerarquia + compacto especifico para Dashboard ejecutivo. */
.sc-dash-shell .sc-dash-filter-card {
  border-top: 3px solid #22c55e;
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
  border-radius: 0.85rem;
  padding: 0.72rem 0.78rem;
}

.sc-dash-shell .sc-dash-filter-grid {
  gap: 0.45rem;
}

.sc-dash-shell .sc-dash-filter-grid label {
  margin-bottom: 0.18rem;
  font-size: 0.74rem;
}

.sc-dash-shell .sc-dash-filter-grid .form-control,
.sc-dash-shell .sc-dash-filter-grid .form-select {
  min-height: 2.2rem;
  font-size: 0.88rem;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
}

.sc-dash-negocio-card {
  border: 1px solid #d1deef;
  border-radius: 0.7rem;
  background: linear-gradient(165deg, #f9fcff 0%, #eef5ff 100%);
  padding: 0.4rem 0.5rem;
  min-height: 63px;
}

.sc-dash-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.sc-dash-negocio-card-inline {
  min-width: 195px;
  max-width: 285px;
}

#dashModalClienteResultados {
  max-height: 150px;
}

.sc-dash-negocio-card-head {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4f6482;
  margin-bottom: 0.15rem;
}

.sc-dash-negocio-card-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.sc-dash-negocio-card-id {
  margin-top: 0.14rem;
  font-size: 0.54rem;
  font-weight: 700;
  color: #1e3a8a;
}

.sc-page-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 260px;
}

.sc-page-title-wrap > :first-child {
  min-width: 220px;
}

.sc-negocio-ref-card {
  border: 1px solid rgba(191, 219, 254, 0.34);
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.5rem;
  min-width: 188px;
  max-width: 285px;
  margin-top: 0.05rem;
}

.sc-negocio-ref-card-head {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 0.15rem;
}

.sc-negocio-ref-card-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.sc-negocio-ref-card-id {
  margin-top: 0.14rem;
  font-size: 0.54rem;
  font-weight: 700;
  color: #ffffff;
}

.sc-dash-filter-actions {
  display: flex;
  justify-content: flex-end;
}

.sc-dash-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.sc-dash-var {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sc-dash-var-up {
  color: #166534;
  background: #dcfce7;
}

.sc-dash-var-down {
  color: #b91c1c;
  background: #fee2e2;
}

.sc-dash-var-flat {
  color: #334155;
  background: #e2e8f0;
}

.sc-dash-line-list {
  display: grid;
  gap: 0.5rem;
}

.sc-dash-line-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.sc-dash-line-item > span {
  font-size: 0.74rem;
  color: #64748b;
  min-width: 52px;
}

.sc-dash-line-item > strong {
  font-size: 0.78rem;
  color: #0f172a;
  min-width: 36px;
  text-align: right;
}

.sc-dash-line-track {
  height: 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.sc-dash-line-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee 0%, #2563eb 100%);
}

.sc-dash-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #475569;
  border-bottom: 1px solid #d6e3f4;
}

.sc-dash-table tbody td {
  font-size: 0.82rem;
  color: #0f172a;
}

.sc-dash-mini-progress {
  margin-top: 0.25rem;
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.sc-dash-mini-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
}

.sc-report-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.sc-report-mini-grid-income {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sc-report-mini-card {
  border: 1px solid #d7e2f2;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.62rem;
}

.sc-report-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.sc-report-mini-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}

.sc-report-mini-head h3 i {
  color: #2563eb;
}

.sc-report-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #c9dcf8;
  background: #eef5ff;
  color: #1e3a8a;
  font-size: 0.69rem;
  font-weight: 700;
}

.sc-report-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.sc-report-mini-stats > div {
  border: 1px solid #e3ebf8;
  border-radius: 0.6rem;
  background: #fff;
  padding: 0.5rem 0.6rem;
}

.sc-report-mini-stats span {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  color: #5f7190;
}

.sc-report-mini-stats strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.93rem;
  font-weight: 800;
  color: #0f172a;
}

.sc-report-mini-actions {
  display: flex;
  justify-content: flex-end;
}

.sc-report-total-strip {
  border: 1px solid #cddcf2;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #ecf4ff 0%, #f8fbff 100%);
  padding: 0.58rem 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.58rem;
}

.sc-report-total-strip > div {
  border: 1px solid #dce8f8;
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.42rem 0.52rem;
  text-align: center;
}

.sc-report-total-strip span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: #5f7190;
}

.sc-report-total-strip strong {
  display: block;
  margin-top: 0.11rem;
  font-size: 0.93rem;
  font-weight: 800;
  color: #0f172a;
}

/* Firma: FRANCO LARA - 11/05/2026 | Unifica estilo de titulos internos en pestanas del panel (admin negocio y superadmin) con apariencia tipo chip de Perfil Publico. */
.sc-admin-main .table-card .section-title,
.sc-admin-main .table-card .table-card-title,
.sc-admin-main .content-card .section-title,
.sc-admin-main .filter-card .section-title,
.sc-admin-main .sc-maestro-panel-header .section-title,
.sc-admin-main .platform-card-title,
.sc-admin-main .sc-dash-panel-head h3,
.sc-admin-main .sc-form-title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  margin: 0 0 .45rem 0;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid #b9d2fb;
  background: linear-gradient(180deg, #eaf3ff 0%, #d9e9ff 100%);
  color: #174892;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.1;
  box-shadow: 0 6px 14px rgba(28, 79, 164, .14);
}

.sc-admin-main .table-card .section-title i,
.sc-admin-main .table-card .table-card-title i,
.sc-admin-main .content-card .section-title i,
.sc-admin-main .filter-card .section-title i,
.sc-admin-main .sc-maestro-panel-header .section-title i,
.sc-admin-main .platform-card-title i,
.sc-admin-main .sc-dash-panel-head h3 i,
.sc-admin-main .sc-form-title i {
  font-size: .9rem;
  line-height: 1;
  color: #1f5fd4;
}

.sc-admin-main .platform-card-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.sc-admin-main .platform-card-title-text {
  line-height: 1;
}

/* Firma: Codex - 19/04/2026 | Estandar visual reutilizable para cabeceras de pop-up con titulo principal y subtitulo opcional. */
.sc-modal-content {
  border: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.sc-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 0;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2f68 0%, #114792 52%, #155cc0 100%);
  color: #fff;
}

.sc-modal-title-wrap {
  min-width: 0;
}

.sc-modal-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
}

.sc-modal-subtitle {
  margin: 0.34rem 0 0;
  max-width: 52rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.sc-modal-close {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.38rem;
  border-radius: 999px;
  opacity: 0.92;
  filter: invert(1) grayscale(1) brightness(200%);
  background-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.sc-modal-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.24);
}

.sc-modal-body {
  padding-top: 1.15rem;
}

/* Firma: Franco Lara - 21/05/2026 | Se fija footer del modal de reservas y se habilita scroll interno para evitar perdida de controles con zoom/scroll. */
#reservaModal .modal-dialog {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#reservaModal .sc-modal-content {
  max-height: calc(100vh - 2rem);
  display: flex;
}

#reservaModal #reservaModalForm {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

#reservaModal .sc-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#reservaModal .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  border-top: 1px solid #dee2e6;
}

/* Firma: Franco Lara - 21/05/2026 | Se agrega realce visual con sombra para checks de cupon y registrar pago en modal de reservas. */
.sc-check-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.52rem;
  border-radius: 0.55rem;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.sc-check-highlight-cupon {
  background: rgba(212, 165, 116, 0.12);
  box-shadow: 0 0 0 1px rgba(176, 128, 58, 0.3), 0 0 10px rgba(212, 165, 116, 0.42);
}

.sc-check-highlight-pago {
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.3), 0 0 10px rgba(34, 197, 94, 0.45);
}

@media (max-width: 1400px) {
  .sc-dash-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-dash-filter-actions {
    grid-column: span 2;
    justify-content: flex-start;
  }

  .sc-dash-negocio-card-inline {
    min-width: 220px;
    max-width: 100%;
  }

  .sc-negocio-ref-card {
    min-width: 220px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .sc-dash-title-wrap {
    align-items: flex-start;
  }

  .sc-page-title-wrap {
    min-width: 0;
  }

  .sc-dash-filter-grid {
    grid-template-columns: 1fr;
  }

  .sc-dash-filter-actions {
    grid-column: auto;
  }
}

.home-space-media {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid #d6e3f6;
  background: #eef3fb;
}

.home-space-media .carousel,
.home-space-media .carousel-inner,
.home-space-media .carousel-item {
  height: 152px;
}

.home-space-media-img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  display: block;
}

.home-space-media .carousel-control-prev,
.home-space-media .carousel-control-next {
  width: 2rem;
}

.home-space-media .carousel-control-prev-icon,
.home-space-media .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.45);
}

.home-promos-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 1.5rem));
}

.home-promos-modal-content {
  background: #081221;
}

.home-promos-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.7rem;
}

.home-promos-header-cta {
  margin-left: auto;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.18);
}

.home-promos-slide {
  display: grid;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #0b1423 0%, #09111d 100%);
  align-items: stretch;
}

.home-promos-slide-vertical {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  min-height: 560px;
}

.home-promos-slide-horizontal {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 500px;
}

.home-promos-media-link,
.home-promos-slide > .home-promos-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1rem 1.35rem 1.35rem;
  min-height: 100%;
}

.home-promos-media-link-horizontal {
  padding: 1.35rem 1rem 1.35rem 1.35rem;
}

.home-promos-image {
  object-fit: cover;
  background: #0f172a;
  border-radius: 1rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.home-promos-image-vertical {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 460px;
}

.home-promos-image-horizontal {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.home-promos-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  padding: 2rem 2rem 2.2rem;
  color: #fff;
}

.home-promos-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.26);
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-promos-subtitle {
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(147, 197, 253, 0.96);
}

.home-promos-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.home-promos-copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.7;
  font-size: 0.98rem;
}

.home-promos-control {
  width: 3.3rem;
}

.home-promos-control .carousel-control-prev-icon,
.home-promos-control .carousel-control-next-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background-color: rgba(8, 18, 33, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-promos-indicators {
  margin-bottom: 1rem;
}

.home-promos-indicators [data-bs-target] {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
}

.sc-row-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.42rem;
  min-width: 8.25rem;
}

.sc-row-action-form {
  margin: 0;
}

.sc-row-action-btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  border-radius: 0.7rem;
  white-space: nowrap;
}

.platform-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0d2a57;
}

.platform-card-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eaf2ff 0%, #d9e8ff 100%);
  border: 1px solid #c6dbff;
  color: #1f5fd4;
  font-size: 0.9rem;
}

.platform-card-title-text {
  line-height: 1.2;
}

.sc-pagination-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.sc-pagination-meta {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

.sc-pagination-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sc-pagination-spacer {
  display: block;
}

.sc-page-link {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #c8d7ef;
  background: #fff;
  color: #1d4ea1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sc-page-link:hover {
  background: #eef4ff;
  border-color: #adc5eb;
}

.sc-page-link.is-active {
  background: #2458c6;
  border-color: #2458c6;
  color: #fff;
}

.sc-page-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 991.98px) {
  .home-benefits-top-split {
    grid-template-columns: 1fr;
  }

  .home-promos-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-promos-media-link,
  .home-promos-slide > .home-promos-image {
    padding: 1rem 1rem 0;
  }

  .home-promos-image-vertical,
  .home-promos-image-horizontal {
    min-height: 320px;
    max-height: 480px;
  }
}

@media (max-width: 767.98px) {
  .home-promos-modal-header {
    flex-wrap: wrap;
  }

  .home-promos-header-cta {
    order: 3;
    margin-left: 0;
  }

  .home-promos-copy {
    padding: 1.35rem 1rem 1.5rem;
  }

  .home-promos-copy h3 {
    font-size: 1.5rem;
  }

  .home-promos-control {
    width: 2.6rem;
  }

  .sc-row-actions {
    min-width: 7.35rem;
  }

  .sc-pagination-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .sc-pagination-spacer {
    display: none;
  }
}

/* Firma: Codex - 11/05/2026 | Remodelado visual de KPIs en panel admin y superadmin (sin subdato inferior) */
.kpi-card,
.sc-kpi-card,
.sc-dash-kpi-card,
.sc-kpi-item,
.sc-reservas-metric,
.sc-kpi-card.sc-kpi-emerald,
.sc-kpi-card.sc-kpi-indigo,
.sc-kpi-card.sc-kpi-cyan,
.sc-kpi-card.sc-kpi-amber {
  --kpi-accent-1: #2563eb;
  --kpi-accent-2: #0ea5e9;
  --kpi-icon-bg: rgba(37, 99, 235, 0.12);
  --kpi-icon-color: #1d4ed8;
  --kpi-icon-bubble: rgba(37, 99, 235, 0.16);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #d7e3f3;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 72%, #eff6ff 100%);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  padding-right: 3.1rem;
}

.kpi-card::before,
.sc-kpi-card::before,
.sc-dash-kpi-card::before,
.sc-kpi-item::before,
.sc-reservas-metric::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kpi-accent-1) 0%, var(--kpi-accent-2) 100%);
}

.kpi-card::after,
.sc-kpi-card::after,
.sc-dash-kpi-card::after,
.sc-kpi-item::after,
.sc-reservas-metric::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--kpi-icon-bubble) 0%, rgba(37, 99, 235, 0) 72%);
  pointer-events: none;
}

.kpi-card:hover,
.sc-kpi-card:hover,
.sc-dash-kpi-card:hover,
.sc-kpi-item:hover,
.sc-reservas-metric:hover {
  transform: translateY(-3px);
  border-color: #b8cae8;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
}

.kpi-card-label,
.sc-dash-kpi-label,
.sc-kpi-card p,
.sc-kpi-item > span,
.sc-reservas-metric > span {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #5b6f8b;
  font-weight: 700;
}

.kpi-card-value,
.sc-dash-kpi-value,
.sc-kpi-card h2,
.sc-kpi-item > strong,
.sc-reservas-metric > strong {
  margin-top: 0.35rem;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.kpi-card-value,
.sc-dash-kpi-value,
.sc-kpi-item > strong,
.sc-reservas-metric > strong {
  font-size: 1.72rem;
}

.sc-kpi-card h2 {
  font-size: 1.75rem;
}

.sc-kpi-item > span,
.sc-kpi-item > strong,
.sc-reservas-metric > span,
.sc-reservas-metric > strong {
  display: block;
  position: relative;
  z-index: 1;
}

.sc-kpi-item > .kpi-context-icon,
.sc-reservas-metric > .kpi-context-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  bottom: auto;
  display: inline-flex;
  margin: 0;
  z-index: 2;
}

/* Firma: Codex - 01/06/2026 | Reservas listado general: ocultar burbuja decorativa KPI y compactar altura. */
.sc-reservas-list-card .sc-reservas-metric::after {
  content: none !important;
  display: none !important;
}

.sc-reservas-list-card .sc-reservas-metric {
  padding-right: 0.65rem !important;
  min-height: auto;
}

.kpi-tone-blue {
  --kpi-accent-1: #2563eb;
  --kpi-accent-2: #0ea5e9;
  --kpi-icon-bg: rgba(37, 99, 235, 0.12);
  --kpi-icon-color: #1d4ed8;
  --kpi-icon-bubble: rgba(37, 99, 235, 0.16);
}

.kpi-tone-green {
  --kpi-accent-1: #16a34a;
  --kpi-accent-2: #22c55e;
  --kpi-icon-bg: rgba(34, 197, 94, 0.16);
  --kpi-icon-color: #15803d;
  --kpi-icon-bubble: rgba(34, 197, 94, 0.22);
}

.kpi-tone-amber {
  --kpi-accent-1: #d97706;
  --kpi-accent-2: #f59e0b;
  --kpi-icon-bg: rgba(245, 158, 11, 0.2);
  --kpi-icon-color: #b45309;
  --kpi-icon-bubble: rgba(245, 158, 11, 0.24);
}

.kpi-tone-red {
  --kpi-accent-1: #dc2626;
  --kpi-accent-2: #f43f5e;
  --kpi-icon-bg: rgba(244, 63, 94, 0.16);
  --kpi-icon-color: #be123c;
  --kpi-icon-bubble: rgba(244, 63, 94, 0.25);
}

.kpi-context-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kpi-icon-bg);
  color: var(--kpi-icon-color);
  font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.sc-dash-kpi-foot,
.sc-kpi-foot {
  display: none !important;
}

/* Firma: Codex - 11/05/2026 | Vista previa: tarjeta de contexto del complejo en Dashboard (solo Panel/Index). */
.sc-dash-negocio-card--focus {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-width: 280px;
  max-width: 360px;
  padding: 0.5rem 0.62rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(191, 219, 254, 0.52) !important;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.3) 0%, rgba(30, 64, 175, 0.26) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 18px rgba(15, 23, 42, 0.16);
}

.sc-dash-negocio-card-focus-avatar {
  width: 2.3rem !important;
  height: 2.3rem !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  color: #eff6ff !important;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.62) 0%, rgba(14, 165, 233, 0.5) 100%) !important;
  border: 1px solid rgba(191, 219, 254, 0.82) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 16px rgba(15, 23, 42, 0.2) !important;
}

.sc-dash-negocio-card-focus-avatar i {
  display: inline-block !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  color: #eff6ff !important;
}

.sc-dash-negocio-card-focus-body {
  min-width: 0;
  display: grid;
  gap: 0.06rem;
}

.sc-dash-negocio-card--focus .sc-dash-negocio-card-head {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.sc-dash-negocio-card-focus-idchip {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.55);
  background: rgba(15, 23, 42, 0.34);
  color: #dbeafe;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sc-dash-negocio-card--focus .sc-dash-negocio-card-name {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-dash-negocio-card-focus-note {
  font-size: 0.58rem;
  color: #bfdbfe;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* Firma: Codex - 11/05/2026 | Replica del estilo de tarjeta de complejo para todas las pestañas del panel admin negocio. */
.sc-admin-topbar .sc-negocio-ref-card,
.admin-page-frame .page-header .sc-negocio-ref-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.08rem;
  min-width: 280px;
  max-width: 360px;
  padding: 0.46rem 0.62rem 0.46rem 3.1rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(191, 219, 254, 0.52) !important;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.3) 0%, rgba(30, 64, 175, 0.26) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 18px rgba(15, 23, 42, 0.16);
}

.sc-admin-topbar .sc-negocio-ref-card::before,
.admin-page-frame .page-header .sc-negocio-ref-card::before {
  content: none !important;
}

.sc-admin-topbar .sc-negocio-ref-card-head,
.admin-page-frame .page-header .sc-negocio-ref-card-head {
  margin: 0 0 0.02rem 0;
  display: block;
  color: #dbeafe !important;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.sc-admin-topbar .sc-negocio-ref-card-head i,
.admin-page-frame .page-header .sc-negocio-ref-card-head i {
  position: absolute;
  left: 0.62rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #eff6ff !important;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.62) 0%, rgba(14, 165, 233, 0.5) 100%) !important;
  border: 1px solid rgba(191, 219, 254, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 16px rgba(15, 23, 42, 0.2);
  font-size: 1rem;
  line-height: 1;
  z-index: 2;
}

.sc-admin-topbar .sc-negocio-ref-card-name,
.admin-page-frame .page-header .sc-negocio-ref-card-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.sc-admin-topbar .sc-negocio-ref-card-id,
.admin-page-frame .page-header .sc-negocio-ref-card-id {
  margin-top: 0.12rem;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.55);
  background: rgba(15, 23, 42, 0.34);
  color: #dbeafe !important;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Firma: Codex - 15/05/2026 | FAQ Home segmentado con menu lateral y panel de detalle para disminuir carga visual. */
.home-faq-section {
  padding: 1.1rem 0 2.2rem;
}

.home-faq-head {
  margin-bottom: 1rem;
}

.home-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #c8dbf9;
  background: #edf4ff;
  color: #174892;
  font-size: 0.76rem;
  font-weight: 800;
}

.home-faq-head h2 {
  margin: 0.65rem 0 0.35rem;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 800;
  color: #0f274c;
}

.home-faq-title {
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-faq-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 0.26rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f5fd4 0%, #4ea1ff 100%);
  box-shadow: 0 6px 16px rgba(31, 95, 212, 0.24);
}

.home-faq-head p {
  margin: 0;
  color: #54657f;
}

.home-faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.home-faq-sidebar {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.78rem;
  border-radius: 0.95rem;
  border: 1px solid #d5e3f8;
  background: #f8fbff;
}

.home-faq-tab {
  text-align: left;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: #2b4368;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.52rem 0.62rem;
  transition: all .2s ease;
}

.home-faq-tab:hover {
  border-color: #c8dbfb;
  background: #eef5ff;
}

.home-faq-tab.is-active {
  border-color: #8fb6f6;
  background: linear-gradient(135deg, #1f5fd4 0%, #2f7be8 100%);
  color: #fff;
  box-shadow: 0 12px 18px rgba(31, 95, 212, 0.22);
}

.home-faq-content {
  border: 1px solid #d8e5f8;
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.home-faq-search-wrap {
  margin-bottom: 0.8rem;
}

.home-faq-search {
  border-radius: 0.75rem;
  border-color: #c7d9f5;
}

.home-faq-panel {
  display: none;
}

.home-faq-panel.is-active {
  display: block;
}

.home-faq-panel h3 {
  margin: 0.2rem 0 0.8rem;
  font-size: 1.14rem;
  font-weight: 800;
  color: #113b7a;
}

.home-faq-item {
  border: 1px solid #dbe7f8;
  border-radius: 0.72rem;
  overflow: hidden;
}

.home-faq-item + .home-faq-item {
  margin-top: 0.55rem;
}

.home-faq-item .accordion-button {
  font-weight: 700;
  color: #1d3357;
  background: #f8fbff;
}

.home-faq-item .accordion-button:not(.collapsed) {
  color: #0f3f82;
  background: #edf4ff;
  box-shadow: none;
}

.home-faq-item .accordion-body {
  color: #334155;
  line-height: 1.5;
}

.home-faq-item.is-hidden-by-search {
  display: none;
}

.admin-faq-page .page-header {
  margin-bottom: 0.95rem;
}

.admin-faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-faq-sidebar {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.78rem;
  border-radius: 0.95rem;
  border: 1px solid #d5e3f8;
  background: #f8fbff;
}

.admin-faq-tab {
  text-align: left;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: #2b4368;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.52rem 0.62rem;
  transition: all .2s ease;
}

.admin-faq-tab:hover {
  border-color: #c8dbfb;
  background: #eef5ff;
}

.admin-faq-tab.is-active {
  border-color: #8fb6f6;
  background: linear-gradient(135deg, #1f5fd4 0%, #2f7be8 100%);
  color: #fff;
  box-shadow: 0 12px 18px rgba(31, 95, 212, 0.22);
}

.admin-faq-content {
  border: 1px solid #d8e5f8;
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.admin-faq-search-wrap {
  margin-bottom: 0.8rem;
}

.admin-faq-search {
  border-radius: 0.75rem;
  border-color: #c7d9f5;
}

.admin-faq-panel {
  display: none;
}

.admin-faq-panel.is-active {
  display: block;
}

.admin-faq-item {
  border: 1px solid #dbe7f8;
  border-radius: 0.72rem;
  overflow: hidden;
}

.admin-faq-item + .admin-faq-item {
  margin-top: 0.55rem;
}

.admin-faq-item .accordion-button {
  font-weight: 700;
  color: #1d3357;
  background: #f8fbff;
}

.admin-faq-item .accordion-button:not(.collapsed) {
  color: #0f3f82;
  background: #edf4ff;
  box-shadow: none;
}

.admin-faq-item .accordion-body {
  color: #334155;
  line-height: 1.5;
}

.admin-faq-item .accordion-body ol {
  margin: 0;
  padding-left: 1.15rem;
}

.admin-faq-item .accordion-body li + li {
  margin-top: 0.45rem;
}

.admin-faq-item.is-hidden-by-search {
  display: none;
}

@media (max-width: 991.98px) {
  .admin-faq-layout {
    grid-template-columns: 1fr;
  }

  .admin-faq-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .admin-faq-sidebar {
    grid-template-columns: 1fr;
  }

  .admin-faq-content {
    padding: 0.8rem;
  }
}

.home-faq-cta-btn {
  border-radius: 0.7rem;
  border: 1px solid #1f5fd4;
  background: linear-gradient(135deg, #1f5fd4 0%, #2f7be8 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 95, 212, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.home-faq-cta-btn:hover,
.home-faq-cta-btn:focus {
  color: #ffffff;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 28px rgba(31, 95, 212, 0.28);
}

@media (max-width: 991.98px) {
  .home-faq-layout {
    grid-template-columns: 1fr;
  }

  .home-faq-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .home-faq-sidebar {
    grid-template-columns: 1fr;
  }

  .home-faq-content {
    padding: 0.8rem;
  }
}

.sc-onboarding-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1rem;
  width: min(360px, calc(100vw - 2rem));
  z-index: 1080;
  border: 1px solid #c9dbf5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.22);
  padding: 0.9rem;
}

.sc-onboarding-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #c9dbf5;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
  z-index: 1081;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sc-onboarding-fab-robot {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sc-onboarding-collapse-btn {
  margin-left: auto;
  border: 1px solid #d7e4f8;
  background: #f8fbff;
  color: #1d4ed8;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sc-onboarding-float-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.sc-onboarding-float-avatars {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sc-onboarding-float-head small {
  display: block;
  color: #475569;
}

.sc-onboarding-float-logo,
.sc-onboarding-float-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #dbe7f8;
}

.sc-onboarding-float-logo {
  object-fit: contain;
  background: #fff;
}

.sc-onboarding-float-robot {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #dbe7f8;
  background: #fff;
  object-fit: contain;
}

.sc-onboarding-float-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.sc-onboarding-float-progress {
  margin-bottom: 0.65rem;
}

.sc-onboarding-highlight {
  outline: 3px solid #1d4ed8 !important;
  outline-offset: 2px;
  border-radius: 8px;
  transition: outline-color .2s ease;
}

@media (max-width: 991.98px) {
  .sc-onboarding-float {
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
    bottom: 0.65rem;
  }

  .sc-onboarding-fab {
    right: 0.65rem;
    bottom: 0.65rem;
  }
}
