/* =========================================
   VARIABLES GLOBALES — SOL ADMIN
========================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Tipografía */
  --font-base: 'DM Sans', Arial, sans-serif;

  /* Colores base */
  --color-bg: #faf7f8;
  --color-surface: #ffffff;
  --color-surface-soft: #fdf0f3;

  --color-text: #2e2128;
  --color-text-muted: #9b8a90;

  /* Marca — rosado suave y delicado */
  --color-primary: #c4607a;
  --color-primary-hover: #a84d66;
  --color-primary-soft: #fae8ec;

  /* Sidebar */
  --color-sidebar-bg: #fff5f7;

  /* Bordes */
  --color-border: #eedde2;
  --color-border-soft: #f0e6e9;

  /* Tabla */
  --color-table-header: #fdf0f3;
  --color-time-col: #fdf5f6;

  /* Estados */
  --color-success: #2d8a5e;
  --color-warning: #c47d20;
  --color-danger: #c93535;
  --color-info: #c4607a;

  /* Sombras — cálidas y suaves */
  --shadow-sm: 0 2px 12px rgba(180, 80, 100, 0.07);
  --shadow-md: 0 8px 32px rgba(180, 80, 100, 0.11);

  /* Radios */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Espaciados */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Layout */
  --sidebar-width: 240px;
  --content-max-width: 100%;

  /* Turnos */
  --turno-bg: #fdf0f3;
  --turno-border: #e8a0b0;
}

/* =========================================
   DARK MODE
========================================= */
body.dark {
  --color-bg: #0f0b0d;
  --color-surface: #1c1418;
  --color-surface-soft: #251a1e;

  --color-text: #f5eef0;
  --color-text-muted: #b09aa0;

  --color-sidebar-bg: #160f12;

  --color-border: #3a2530;
  --color-border-soft: #2e1e24;

  --color-table-header: #251a1e;
  --color-time-col: #1f1418;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
}

/* =========================================
   RESET / BASE
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--color-bg);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   LAYOUT GENERAL
========================================= */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--color-sidebar-bg);
  padding: var(--space-xl) 20px var(--space-lg);
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-title {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease;
}

.sidebar-nav a:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  text-decoration: none;
}

.main-content {
  flex: 1;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  min-width: 0;
}

.topbar {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.topbar-title {
  font-size: 26px;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.4px;
}

.content-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: var(--content-max-width);
}

/* =========================================
   TITULOS / TEXTOS
========================================= */
h1, h2, h3, h4 {
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-weight: 600;
  letter-spacing: -0.2px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

small,
.text-muted {
  color: var(--color-text-muted);
  font-size: 13px;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

/* =========================================
   BOTONES
========================================= */
button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-base);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  letter-spacing: 0.1px;
}

button:hover,
.btn:hover {
  text-decoration: none;
}

.btn-primary,
button[type="submit"] {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(196, 96, 122, 0.25);
}

.btn-primary:hover,
button[type="submit"]:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 14px rgba(196, 96, 122, 0.3);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-soft);
  border-color: var(--color-primary-soft);
}

.btn-danger {
  background: var(--color-danger);
  color: #ffffff;
}

.btn-danger:hover {
  opacity: 0.88;
}

.btn-update {
  background: var(--color-info);
  color: #ffffff;
}

.btn-update:hover {
  opacity: 0.88;
  color: #ffffff;
}

.btn-sm {
  padding: 6px 11px;
  font-size: 13px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-icon.btn-edit {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-icon.btn-edit:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.btn-icon.btn-delete {
  background: #fdecea;
  color: var(--color-danger);
  border-color: #f5c8c8;
}

.btn-icon.btn-delete:hover {
  background: var(--color-danger);
  color: #fff;
  border-color: transparent;
}

/* =========================================
   FORMULARIOS
========================================= */
form {
  width: 100%;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.1px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(196, 96, 122, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: var(--space-md);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* =========================================
   BLOQUES DE ACCIONES SUPERIORES
========================================= */
.page-actions,
.filter-bar,
.toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.filter-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-quick .btn-sm {
  padding: 6px 11px;
  font-size: 13px;
}

.d-inline {
  display: inline;
}

.ml-sm {
  margin-left: var(--space-sm);
}

.gasto-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-form {
  display: inline;
}

/* =========================================
   TABLAS GENERALES
========================================= */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

th,
td {
  border: none;
  border-bottom: 1px solid var(--color-border-soft);
  padding: 11px 14px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--color-table-header);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

td {
  color: var(--color-text);
  font-size: 14px;
}

tbody tr:nth-child(even) {
  background: rgba(196, 96, 122, 0.025);
}

tbody tr:hover {
  background: var(--color-surface-soft);
  transition: background 0.15s ease;
}

body.dark tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.table-actions form {
  width: auto;
}

/* =========================================
   LISTAS / METRICAS
========================================= */
ul {
  margin-left: 20px;
}

.metric-list li,
.resumen-list li {
  margin-bottom: 8px;
}

/* =========================================
   LOGIN
========================================= */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-bg);
}

.login-container {
  background: var(--color-surface);
  padding: var(--space-xl) var(--space-xl);
  border-radius: var(--radius-xl);
  width: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.login-container h1 {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -0.4px;
}

.login-container p {
  margin-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.login-form input,
.login-form button {
  padding: 11px 14px;
  border-radius: var(--radius-md);
}

.login-form button {
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(196, 96, 122, 0.25);
}

.login-form button:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(196, 96, 122, 0.3);
}

/* =========================================
   AGENDA
========================================= */
.agenda-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.agenda-date-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.agenda-date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-date-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.18s ease, color 0.18s ease;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.agenda-date-nav-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
}

.agenda-date-form input {
  width: auto;
}

.agenda-date-form button {
  width: auto;
}

.agenda-grid-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 180px);
}

.agenda-table {
  width: auto;
  border-collapse: collapse;
  background: var(--color-surface);
  min-width: 900px;
}

.agenda-table th,
.agenda-table td {
  border: 1px solid var(--color-border-soft);
  vertical-align: top;
}

.agenda-table th {
  background: var(--color-table-header);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 12px 14px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.hora-col {
  width: 90px;
}

.hora-cell {
  width: 90px;
  background: var(--color-time-col);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  padding: 14px 8px;
  color: var(--color-text-muted);
}

.agenda-cell {
  height: 90px;
  min-width: 180px;
  padding: 7px;
  background: var(--color-surface);
}

.turno-card {
  background: var(--turno-bg);
  border: 1.5px solid var(--turno-border);
  border-radius: var(--radius-md);
  padding: 10px 12px 9px;
  font-size: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  line-height: 1.3;
}

.turno-card a {
  color: var(--color-info);
  font-weight: 600;
}

.empty-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 100%;
  text-decoration: none;
  font-size: 22px;
  color: var(--color-border);
  font-weight: 400;
  border-radius: var(--radius-md);
  transition: color 0.18s ease, background 0.18s ease;
}

.empty-slot:hover {
  background: var(--color-surface-soft);
  color: var(--color-primary);
  text-decoration: none;
}

.turno-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.turno-form input,
.turno-form select,
.turno-form button {
  width: 100%;
}

.turno-form a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.turno-form a:hover {
  background: var(--color-border);
  text-decoration: none;
}

/* =========================================
   TARJETAS DE RESUMEN / DASHBOARD
========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md) 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.stat-card h4 {
  margin-bottom: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

/* =========================================
   UTILIDADES
========================================= */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.w-auto { width: auto; }
.text-center { text-align: center; }
.hidden { display: none; }

/* =========================================
   RESPONSIVE — TABLET
========================================= */
@media (max-width: 992px) {
  .main-content {
    padding: var(--space-md);
  }

  .topbar-title {
    font-size: 22px;
  }
}
/* =========================================
   BOTÓN HAMBURGUESA — oculto en PC
========================================= */
.btn-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-menu:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* Overlay del sidebar en mobile */
.sidebar-overlay {
  display: none;
}
/* =========================================
   RESPONSIVE — MOBILE
========================================= */
@media (max-width: 768px) {

  /* --- Sidebar: se oculta y aparece como drawer --- */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    border-right: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* --- Overlay oscuro detrás del sidebar --- */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 199;
  }

  .sidebar-overlay.active {
    display: block;
  }

  /* --- Layout: columna, el sidebar ya no ocupa espacio --- */
  .layout {
    flex-direction: column;
  }

  /* --- Botón hamburguesa visible solo en mobile --- */
  .btn-menu {
    display: inline-flex;
  }

  /* --- Header más compacto --- */
  .topbar {
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .topbar-title {
    font-size: 18px;
  }

  /* --- Contenido principal --- */
  .main-content {
    padding: var(--space-md) var(--space-sm);
  }

  .content-box {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  /* --- Formularios: una columna, inputs grandes para dedos --- */
  .form-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    padding: 12px 13px;
    font-size: 16px; /* evita zoom automático en iOS */
  }

  .btn, button {
    padding: 11px 16px;
    font-size: 15px;
  }

  button[type="submit"],
  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn,
  .form-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* --- Tablas: scroll horizontal suave --- */
  .table-wrapper {
    overflow-x: auto;   
    border-radius: var(--radius-md);
  }

  th, td {
    padding: 9px 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* --- Stats grid: 2 columnas en mobile --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card .stat-value {
    font-size: 22px;
  }
  /* Fix checkbox label en mobile */
label {
  white-space: normal;
  word-break: break-word;
}

input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
}
}



/* =========================================
   TURNO LINKS Y CARDS (AGENDA)
========================================= */
.turno-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.turno-link:hover {
  text-decoration: none;
}

.turno-servicio {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.turno-cliente {
  font-size: 13px;
  font-weight: 500;
  color: #2e2128;
  margin: 0;
}

.turno-precio {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2px 0 0;
}

.turno-duracion {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}

.turno-estado-pagado {
  background: #dcfce7;
  border: 2.5px solid #4ade80;
}

.turno-estado-pagado .turno-servicio,
.turno-estado-pagado .turno-precio {
  color: #166534;
}

.turno-estado-parcial {
  background: #fef9c3;
  border: 2.5px solid #facc15;
}

.turno-estado-parcial .turno-servicio,
.turno-estado-parcial .turno-precio {
  color: #92400e;
}

.turno-estado-pendiente {
  background: #ffe4e6;
  border: 2.5px solid #f87171;
}

.turno-estado-pendiente .turno-servicio,
.turno-estado-pendiente .turno-precio {
  color: #991b1b;
}

.turno-senia,
.turno-saldo {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.turno-estado-parcial .turno-senia,
.turno-estado-parcial .turno-saldo {
  color: #92400e;
}

.turno-estado-pagado .turno-senia,
.turno-estado-pagado .turno-saldo {
  color: #166534;
}

.turno-estado-pendiente .turno-senia,
.turno-estado-pendiente .turno-saldo {
  color: #991b1b;
}

/* Fix fondo dark mode en html */
html {
  background: var(--color-bg);
}

/* Fix topbar-actions */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Fix btn-dark-toggle */
.btn-dark-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-dark-toggle:hover {
  background: var(--color-primary-soft);
}

/* =========================================
   PESTAÑAS PERFIL EMPLEADA
========================================= */
.perfil-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.tab-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 0;
  box-shadow: none;
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* =========================================
   MI PANEL — AGENDA VISUAL
========================================= */
.agenda-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.agenda-panel-row {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
}

.agenda-panel-hora {
  min-width: 60px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  padding-top: 14px;
  text-align: right;
  flex-shrink: 0;
}

.agenda-panel-card {
  flex: 1;
  background: var(--turno-bg);
  border: 1.5px solid var(--turno-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agenda-panel-servicio {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.agenda-panel-clienta {
  font-size: 13px;
  color: var(--color-text-muted);
}

.agenda-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: 4px;
}

.agenda-panel-meta span {
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2px 10px;
}

.agenda-panel-propina {
  color: var(--color-success) !important;
  border-color: var(--color-success) !important;
}

.agenda-panel-dia-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.panel-empty {
  text-align: center;
  padding: var(--space-xl);
  color: var(--color-text-muted);
  font-size: 15px;
  background: var(--color-surface-soft);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}