* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --yellow: #f2c300;
  --yellow-strong: #ffd400;
  --black: #090909;
  --black-soft: #121212;
  --gray: #6f7278;
  --gray-light: #b9bcc3;
  --white: #ffffff;
  --danger: #ff5d5d;
  --success: #17c964;
  --border: rgba(255,255,255,0.08);
}

html,
body {
  min-height: 100%;
}

body.auth-body {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(242,195,0,0.12), transparent 20%),
    linear-gradient(225deg, rgba(255,255,255,0.03), transparent 30%),
    linear-gradient(180deg, #0b0b0b 0%, #151515 100%);
  overflow-x: hidden;
  position: relative;
}

.bg-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-yellow {
  width: 280px;
  height: 280px;
  background: rgba(242, 195, 0, 0.18);
  top: 8%;
  left: -80px;
}

.orb-gray {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  bottom: 2%;
  right: -80px;
  animation-delay: 1.8s;
}

.auth-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding: 40px 0;
}

.auth-left {
  padding: 24px 10px 24px 0;
}

.brand-wrap {
  max-width: 700px;
}

.brand-logo-box {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0,0,0,0.35);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
  font-size: 2rem;
  color: var(--yellow);
}

.brand-chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(242,195,0,0.12);
  border: 1px solid rgba(242,195,0,0.28);
  color: #ffe57a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.auth-left h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

.auth-left h1 span {
  display: block;
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(242,195,0,0.18);
}

.hero-copy {
  max-width: 620px;
  color: #d2d5db;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 30px;
}

.hero-mini-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-card {
  min-width: 180px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242,195,0,0.35);
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--yellow);
}

.mini-card span {
  color: #c4c7ce;
  line-height: 1.6;
  font-size: 0.92rem;
}

.auth-right {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  border-radius: 30px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    rgba(12,12,12,0.86);
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
}

.auth-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: var(--yellow);
}

.window-dots span:nth-child(2) {
  background: #ffffff;
}

.window-dots span:nth-child(3) {
  background: #8b8f96;
}

.card-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #d2d5db;
  font-weight: 800;
}

.tab-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 18px;
}

.tab-btn {
  border: none;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 14px;
  background: transparent;
  color: #d7dae0;
  font-weight: 700;
  transition: 0.25s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--yellow), #ffde3b);
  color: #111;
  box-shadow: 0 10px 24px rgba(242,195,0,0.22);
}

.alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.alert.success {
  background: rgba(23,201,100,0.12);
  border: 1px solid rgba(23,201,100,0.3);
  color: #9df0bd;
}

.panel-head {
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
  color: var(--white);
}

.panel-head p {
  color: #c5c8cf;
  line-height: 1.6;
}

.tab-panel {
  display: none;
  animation: fadeSlide 0.35s ease;
}

.tab-panel.active {
  display: block;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f0f0f0;
}

.field input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  padding: 0 16px;
  font-size: 0.96rem;
  outline: none;
  transition: 0.25s ease;
}

.field input::placeholder {
  color: #9ea3ab;
}

.field input:focus {
  border-color: rgba(242,195,0,0.42);
  box-shadow: 0 0 0 4px rgba(242,195,0,0.08);
}

.field input.is-invalid {
  border-color: rgba(255,93,93,0.55);
  box-shadow: 0 0 0 4px rgba(255,93,93,0.08);
}

.error-text {
  color: #ff9090;
  font-size: 0.82rem;
  line-height: 1.5;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 78px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--yellow);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-primary-main {
  height: 56px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--yellow), #ffdf48);
  color: #101010;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 36px rgba(242,195,0,0.2);
  transition: 0.28s ease;
}

.btn-primary-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(242,195,0,0.24);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.8s ease forwards;
}

.delay-2 {
  animation-delay: 0.2s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-16px) translateX(10px);
  }
}

@media (max-width: 1024px) {
  .auth-shell {
    grid-template-columns: 1fr;
    padding: 30px 0 40px;
  }

  .auth-left {
    padding-right: 0;
  }

  .auth-right {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .auth-shell {
    width: min(100% - 24px, 1200px);
    gap: 22px;
  }

  .auth-card {
    padding: 18px;
    border-radius: 24px;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .auth-left h1 {
    line-height: 0.98;
  }

  .hero-mini-cards {
    flex-direction: column;
  }
}




.panel-body {
    margin: 0;
    background: #f6f7f9;
    color: #1f2937;
    font-family: 'Inter', Arial, sans-serif;
}

.panel-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr 330px;
}

.panel-sidebar {
    background: #111827;
    color: #fff;
    padding: 24px;
}

.panel-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 34px;
}

.panel-logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #facc15;
    color: #111827;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.panel-brand h1 {
    margin: 0;
    font-size: 20px;
}

.panel-brand p {
    margin: 3px 0 0;
    color: #d1d5db;
    font-size: 13px;
}

.panel-menu {
    display: grid;
    gap: 8px;
}

.panel-menu a {
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

.panel-menu a:hover,
.panel-menu a.active {
    background: rgba(255,255,255,.1);
}

.panel-main {
    padding: 28px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.panel-header h2 {
    margin: 0;
    font-size: 30px;
}

.panel-header p {
    margin: 6px 0 0;
    color: #6b7280;
}

.user-chip {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px 16px;
    display: grid;
    gap: 3px;
}

.user-chip span {
    color: #6b7280;
    font-size: 13px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card,
.panel-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.stat-card {
    padding: 18px;
}

.stat-card span {
    color: #6b7280;
    font-size: 14px;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    margin-top: 8px;
}

.panel-card {
    padding: 20px;
    margin-top: 18px;
}

.panel-card h3 {
    margin-top: 0;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
}

.panel-table th,
.panel-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.panel-table th {
    color: #6b7280;
    font-size: 14px;
}

.panel-btn {
    display: inline-block;
    background: #facc15;
    color: #111827;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 900;
    text-decoration: none;
}

.admin-viewer {
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    padding: 24px;
}

.admin-viewer-head h3 {
    margin: 0;
    font-size: 20px;
}

.admin-viewer-head p {
    margin: 5px 0 18px;
    color: #6b7280;
    font-size: 14px;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.accordion-btn {
    width: 100%;
    border: 0;
    background: #fff;
    color: #111827;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.accordion-btn b {
    transition: transform .2s ease;
}

.accordion-item.active .accordion-btn b {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 12px 12px;
    gap: 8px;
}

.accordion-item.active .accordion-content {
    display: grid;
}

.accordion-content a {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 13px;
    font-weight: 700;
    font-size: 14px;
}

.accordion-content a:hover {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

@media (max-width: 1200px) {
    .panel-layout {
        grid-template-columns: 240px 1fr;
    }

    .admin-viewer {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 850px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }
}




/* =========================
   PANEL ADMIN RUTA77
========================= */

body.panel-body {
    margin: 0 !important;
    padding: 0 !important;
    background: #f6f7f9 !important;
    color: #1f2937 !important;
    font-family: 'Inter', Arial, sans-serif !important;
}

.panel-layout {
    width: 100%;
    min-height: 100vh;
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) 330px;
    background: #f6f7f9;
}

.panel-sidebar {
    background: #111827 !important;
    color: #ffffff !important;
    padding: 24px !important;
    min-height: 100vh;
}

.panel-brand {
    display: flex !important;
    gap: 12px;
    align-items: center;
    margin-bottom: 34px;
}

.panel-logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #facc15;
    color: #111827;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.panel-brand h1 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
}

.panel-brand p {
    margin: 3px 0 0;
    color: #d1d5db;
    font-size: 13px;
}

.panel-menu {
    display: grid;
    gap: 8px;
}

.panel-menu a {
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    display: block;
}

.panel-menu a:hover,
.panel-menu a.active {
    background: rgba(255,255,255,.1);
}

.panel-main {
    padding: 28px !important;
    min-width: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.panel-header h2 {
    margin: 0;
    font-size: 30px;
    color: #111827;
}

.panel-header p {
    margin: 6px 0 0;
    color: #6b7280;
}

.user-chip {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px 16px;
    display: grid;
    gap: 3px;
}

.user-chip strong {
    color: #111827;
}

.user-chip span {
    color: #6b7280;
    font-size: 13px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-card,
.panel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.stat-card {
    padding: 18px;
}

.stat-card span {
    color: #6b7280;
    font-size: 14px;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    margin-top: 8px;
    color: #111827;
}

.panel-card {
    padding: 20px;
    margin-top: 18px;
}

.panel-card h3 {
    margin-top: 0;
    color: #111827;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
}

.panel-table th,
.panel-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.panel-table th {
    color: #6b7280;
    font-size: 14px;
}

.panel-btn {
    display: inline-block;
    background: #facc15;
    color: #111827;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 900;
    text-decoration: none;
}

.admin-viewer {
    background: #ffffff !important;
    border-left: 1px solid #e5e7eb;
    padding: 24px !important;
    min-height: 100vh;
}

.admin-viewer-head h3 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.admin-viewer-head p {
    margin: 5px 0 18px;
    color: #6b7280;
    font-size: 14px;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.accordion-btn {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: #111827;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.accordion-btn b {
    transition: transform .2s ease;
}

.accordion-item.active .accordion-btn b {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 12px 12px;
    gap: 8px;
}

.accordion-item.active .accordion-content {
    display: grid;
}

.accordion-content a {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 13px;
    font-weight: 700;
    font-size: 14px;
}

.accordion-content a:hover {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

@media (max-width: 1200px) {
    .panel-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .admin-viewer {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
        min-height: auto;
    }
}

@media (max-width: 850px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-sidebar {
        min-height: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   AGENDA POR CRÉDITOS
========================= */

.agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 18px;
}

.agenda-left,
.agenda-right {
    display: grid;
    gap: 18px;
    align-content: start;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-title-row h3 {
    margin: 0;
    color: #111827;
}

.section-title-row p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.agenda-service-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.agenda-service {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    text-decoration: none;
    color: #111827;
    display: grid;
    gap: 6px;
    transition: .2s;
}

.agenda-service:hover {
    transform: translateY(-1px);
    border-color: #d1d5db;
}

.agenda-service.active {
    border-color: #facc15;
    box-shadow: 0 0 0 4px rgba(250,204,21,.22);
}

.agenda-service span {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fffbea;
    border: 1px solid #fde68a;
    color: #92400e;
    font-weight: 900;
    font-size: 13px;
}

.agenda-service strong {
    font-size: 16px;
}

.agenda-service small {
    color: #6b7280;
}

.agenda-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.agenda-plan {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    background: #ffffff;
}

.agenda-plan h4 {
    margin: 0 0 6px;
    color: #111827;
}

.agenda-plan p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
}

.agenda-plan-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.agenda-plan-bottom strong {
    color: #111827;
}

.agenda-slots {
    display: grid;
    gap: 12px;
}

.agenda-slot {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
}

.agenda-slot.disabled {
    background: #f3f4f6;
    color: #9ca3af;
}

.agenda-slot strong {
    display: block;
    color: #111827;
}

.agenda-slot span {
    display: block;
    color: #6b7280;
    margin-top: 3px;
}

.agenda-slot small {
    color: #6b7280;
    font-weight: 800;
}

.agenda-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.agenda-kpi {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
}

.agenda-kpi span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
}

.agenda-kpi strong {
    color: #111827;
    font-size: 20px;
}

.agenda-reservas {
    display: grid;
    gap: 10px;
}

.agenda-reserva {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.agenda-reserva strong {
    display: block;
    color: #111827;
}

.agenda-reserva span,
.agenda-reserva small {
    display: block;
    color: #6b7280;
    margin-top: 3px;
}

.agenda-empty {
    padding: 14px;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    color: #6b7280;
    background: #f9fafb;
}

.agenda-admin-note {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.panel-btn.danger {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.panel-alert.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

@media (max-width: 1100px) {
    .agenda-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .agenda-service-row,
    .agenda-plans,
    .agenda-kpis {
        grid-template-columns: 1fr;
    }

    .agenda-slot {
        grid-template-columns: 1fr;
    }

    .agenda-plan-bottom,
    .agenda-reserva {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   CALENDARIO AGENDA REAL
========================= */

.calendar-head-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.calendar-head-panel h3 {
    margin: 0;
    color: #111827;
    text-align: center;
}

.calendar-head-panel p {
    margin: 5px 0 0;
    color: #6b7280;
    text-align: center;
}

.panel-btn.secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.agenda-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.agenda-dow {
    padding: 12px 8px;
    text-align: center;
    font-weight: 900;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.agenda-day {
    min-height: 86px;
    padding: 10px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .15s;
}

.agenda-day:nth-child(7n) {
    border-right: 0;
}

.agenda-day:hover {
    background: #fffbea;
}

.agenda-day strong {
    font-size: 16px;
    color: #111827;
}

.agenda-day span {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
}

.agenda-day span.ok {
    color: #92400e;
    background: #fffbea;
    border: 1px solid #fde68a;
    font-weight: 900;
}

.agenda-day span.full {
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    font-weight: 900;
}

.agenda-day.selected {
    outline: 4px solid rgba(250, 204, 21, .35);
    outline-offset: -4px;
    background: #fffbea;
}

.agenda-day.closed {
    background: #fafafa;
}

.agenda-day.muted {
    background: #f9fafb;
    min-height: 86px;
}

.agenda-day-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
}

.agenda-day-dropdown-head {
    padding: 14px;
    background: #111827;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.agenda-day-dropdown-head strong {
    color: #ffffff;
}

.agenda-day-dropdown-head span {
    color: #facc15;
    font-weight: 900;
    font-size: 13px;
}

.agenda-slot-detail {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    padding: 14px;
}

.agenda-slot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.agenda-slot-top strong {
    display: block;
    color: #111827;
}

.agenda-slot-top span {
    display: block;
    color: #6b7280;
    margin-top: 4px;
}

.agenda-users-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.agenda-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.agenda-user-row strong {
    display: block;
    color: #111827;
}

.agenda-user-row span {
    display: block;
    color: #6b7280;
    margin-top: 3px;
    font-size: 13px;
}

.agenda-empty.small {
    padding: 10px;
    font-size: 13px;
}

@media (max-width: 760px) {
    .calendar-head-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .agenda-day {
        min-height: 72px;
        padding: 8px;
    }

    .agenda-day span {
        font-size: 10px;
        padding: 3px 6px;
    }

    .agenda-slot-top,
    .agenda-user-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.panel-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.panel-alert.success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.panel-alert.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.panel-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.panel-field {
    display: grid;
    gap: 8px;
}

.panel-field label {
    font-weight: 800;
    color: #111827;
    font-size: 14px;
}

.panel-field input,
.panel-field select {
    width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    font-size: 15px;
    background: #ffffff;
    color: #111827;
}

.panel-field input:focus,
.panel-field select:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 4px rgba(250, 204, 21, .18);
}

.panel-field small {
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 850px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.inline-form {
    display: inline;
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.muted-text {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.panel-field.full {
    grid-column: 1 / -1;
}

.panel-btn.secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.panel-btn.danger {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

/* =========================
   CALENDARIO ADMIN / TEMPORADAS / HORARIOS
========================= */

.admin-calendar-wrap {
    display: grid;
    gap: 18px;
}

.admin-calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-calendar-head h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
}

.admin-calendar-head p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.admin-calendar-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.admin-calendar-dow {
    padding: 12px 8px;
    background: #111827;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
    font-size: 13px;
}

.admin-calendar-day {
    min-height: 120px;
    padding: 10px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-calendar-day:nth-child(7n) {
    border-right: 0;
}

.admin-calendar-day.muted {
    background: #f9fafb;
}

.admin-calendar-day.today {
    background: #fffbea;
    box-shadow: inset 0 0 0 3px rgba(250, 204, 21, .35);
}

.admin-calendar-day.has-items {
    background: #ffffff;
}

.admin-calendar-day-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.admin-calendar-day-number strong {
    color: #111827;
    font-size: 15px;
}

.admin-calendar-day-number span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.admin-calendar-badges {
    display: grid;
    gap: 6px;
}

.admin-calendar-badge {
    display: block;
    width: 100%;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    border: 1px solid transparent;
}

.admin-calendar-badge.temporada {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

.admin-calendar-badge.horario {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.admin-calendar-badge.lleno {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.admin-calendar-badge.disponible {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.admin-calendar-more {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    margin-top: auto;
}

.admin-calendar-side {
    display: grid;
    gap: 14px;
}

.admin-day-detail {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
}

.admin-day-detail-head {
    padding: 14px 16px;
    background: #111827;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.admin-day-detail-head strong {
    color: #ffffff;
}

.admin-day-detail-head span {
    color: #facc15;
    font-weight: 900;
    font-size: 13px;
}

.admin-day-detail-body {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.admin-day-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.admin-day-item strong {
    color: #111827;
}

.admin-day-item span {
    color: #6b7280;
    font-size: 13px;
}

.admin-day-item-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.admin-day-item-pill {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: #fffbea;
    border: 1px solid #fde68a;
    color: #92400e;
    white-space: nowrap;
}

.admin-day-empty {
    padding: 14px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.admin-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

@media (max-width: 1150px) {
    .admin-calendar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .admin-calendar-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-calendar-nav {
        justify-content: space-between;
    }

    .admin-calendar-day {
        min-height: 92px;
        padding: 8px;
    }

    .admin-calendar-badge {
        font-size: 10px;
        padding: 5px 6px;
    }

    .admin-day-item-row {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================
   CALENDARIO DE TEMPORADAS
========================= */

.temporadas-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.temporadas-calendar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 20px;
}

.temporadas-calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.temporadas-calendar-head h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
}

.temporadas-calendar-head p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.temporadas-calendar-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.temporadas-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.temporadas-calendar-dow {
    padding: 12px 8px;
    background: #111827;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
    font-size: 13px;
}

.temporadas-calendar-day {
    min-height: 125px;
    padding: 10px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.temporadas-calendar-day:nth-child(7n) {
    border-right: 0;
}

.temporadas-calendar-day.muted {
    background: #f9fafb;
}

.temporadas-calendar-day.today {
    background: #fffbea;
    box-shadow: inset 0 0 0 3px rgba(250, 204, 21, .35);
}

.temporadas-calendar-day.has-season {
    background: #ffffff;
}

.temporadas-day-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.temporadas-day-number strong {
    color: #111827;
    font-size: 15px;
}

.temporadas-day-number span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.temporadas-badges {
    display: grid;
    gap: 6px;
}

.temporadas-badge {
    display: block;
    width: 100%;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    border: 1px solid transparent;
}

.temporadas-badge.nutricion {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.temporadas-badge.spinning {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

.temporadas-badge.lleno {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.temporadas-badge.inactiva {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280;
}

.temporadas-more {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    margin-top: auto;
}

.temporadas-side {
    display: grid;
    gap: 14px;
}

.temporadas-side-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
}

.temporadas-side-head {
    padding: 14px 16px;
    background: #111827;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.temporadas-side-head strong {
    color: #ffffff;
}

.temporadas-side-head span {
    color: #facc15;
    font-weight: 900;
    font-size: 13px;
}

.temporadas-side-body {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.temporadas-side-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.temporadas-side-item strong {
    color: #111827;
}

.temporadas-side-item span {
    color: #6b7280;
    font-size: 13px;
}

.temporadas-side-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.temporadas-pill {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: #fffbea;
    border: 1px solid #fde68a;
    color: #92400e;
    white-space: nowrap;
}

.temporadas-pill.nutricion {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.temporadas-pill.spinning {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

.temporadas-empty {
    padding: 14px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1150px) {
    .temporadas-calendar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .temporadas-calendar-head {
        flex-direction: column;
        align-items: stretch;
    }

    .temporadas-calendar-nav {
        justify-content: space-between;
    }

    .temporadas-calendar-day {
        min-height: 92px;
        padding: 8px;
    }

    .temporadas-badge {
        font-size: 10px;
        padding: 5px 6px;
    }

    .temporadas-side-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================
   MULTI HORARIOS POR DÍA
========================= */

.multi-hours-box {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.multi-hours-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.multi-hours-head strong {
    color: #111827;
    font-size: 16px;
}

.multi-hours-list {
    display: grid;
    gap: 12px;
}

.multi-hour-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.temporadas-calendar-day.selected-day {
    background: #fffbea;
    box-shadow: inset 0 0 0 4px rgba(250, 204, 21, .45);
}

.panel-btn.active-filter {
    background: #facc15;
    color: #111827;
    border-color: #facc15;
}

@media (max-width: 900px) {
    .multi-hour-row {
        grid-template-columns: 1fr;
    }

    .multi-hours-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.panel-field.full {
    grid-column: 1 / -1;
}


/* =========================
   CLIENTES CRM
========================= */

.client-search-card {
    margin-bottom: 18px;
}

.client-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.client-search-main input {
    height: 54px;
    font-size: 16px;
}

.client-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.client-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.client-list-panel {
    display: grid;
    gap: 14px;
}

.client-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: grid;
    gap: 14px;
}

.client-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.client-card-top h3 {
    margin: 0;
    color: #111827;
}

.client-card-top p {
    margin: 6px 0 0;
    color: #6b7280;
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.client-tag {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 900;
}

.client-tag.success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.client-tag.warning {
    background: #fffbea;
    border-color: #fde68a;
    color: #92400e;
}

.client-tag.danger {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.client-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.client-card-grid div {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
}

.client-card-grid span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
}

.client-card-grid strong {
    display: block;
    color: #111827;
}

.client-card-grid small {
    display: block;
    color: #6b7280;
    margin-top: 4px;
}

.client-note {
    background: #fffbea;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 16px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
}

.client-side-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 18px;
}

@media (max-width: 1150px) {
    .client-layout {
        grid-template-columns: 1fr;
    }

    .client-side-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .client-search-form {
        grid-template-columns: 1fr;
    }

    .client-card-top {
        flex-direction: column;
    }

    .client-tags {
        justify-content: flex-start;
    }

    .client-card-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   DASHBOARD REPORTE TOTAL
========================= */

.report-filter-card {
    margin-bottom: 18px;
}

.report-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.report-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.report-hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: grid;
    gap: 8px;
}

.report-hero-card.money {
    background: linear-gradient(135deg, #111827, #1f2937);
    border-color: #111827;
}

.report-hero-card.money span,
.report-hero-card.money small {
    color: #d1d5db;
}

.report-hero-card.money strong {
    color: #facc15;
}

.report-hero-card span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
}

.report-hero-card strong {
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.report-hero-card small {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.report-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 18px;
}

.report-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.report-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.report-mini-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 6px;
}

.report-mini-card span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.report-mini-card strong {
    color: #111827;
    font-size: 18px;
}

.report-mini-card small {
    color: #6b7280;
    font-size: 13px;
}

.panel-table small {
    color: #6b7280;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .report-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-two-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .report-hero-grid,
    .report-kpi-grid,
    .report-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   DASHBOARD REPORTE TOTAL
========================= */

.report-filter-card {
    margin-bottom: 18px;
}

.report-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.report-print-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.report-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.report-hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: grid;
    gap: 8px;
}

.report-hero-card.money {
    background: linear-gradient(135deg, #111827, #1f2937);
    border-color: #111827;
}

.report-hero-card.money span,
.report-hero-card.money small {
    color: #d1d5db;
}

.report-hero-card.money strong {
    color: #facc15;
}

.report-hero-card span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
}

.report-hero-card strong {
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.report-hero-card small {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.report-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 18px;
}

.report-chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.report-chart-card {
    min-height: 380px;
}

.report-chart-card h3 {
    margin-bottom: 4px;
}

.report-chart-card p {
    color: #6b7280;
    margin-top: 0;
    margin-bottom: 18px;
}

.report-chart-card canvas {
    width: 100% !important;
    height: 280px !important;
}

.report-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.report-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.report-mini-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 6px;
}

.report-mini-card span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.report-mini-card strong {
    color: #111827;
    font-size: 18px;
}

.report-mini-card small {
    color: #6b7280;
    font-size: 13px;
}

.panel-table small {
    color: #6b7280;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .report-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-two-cols,
    .report-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .report-hero-grid,
    .report-kpi-grid,
    .report-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   IMPRESIÓN / GUARDAR PDF
========================= */

@media print {
    body {
        background: #ffffff !important;
    }

    .no-print,
    .panel-sidebar,
    .admin-viewer,
    .panel-btn,
    .report-filter-card {
        display: none !important;
    }

    .panel-layout {
        display: block !important;
    }

    .panel-main {
        padding: 0 !important;
    }

    .panel-card,
    .stat-card,
    .report-hero-card {
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .report-chart-grid,
    .report-two-cols,
    .dashboard-grid,
    .report-hero-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .panel-table {
        font-size: 11px;
    }

    .panel-table th,
    .panel-table td {
        padding: 7px;
    }

    .report-chart-card {
        min-height: 280px;
    }

    .report-chart-card canvas {
        max-height: 220px !important;
    }

    @page {
        size: A4 landscape;
        margin: 10mm;
    }
}