/* SBCalendar — mini calendario de mes reutilizable (estilo cal.com).
   Se carga globalmente para que funcione en el perfil, /reservar y el panel
   del negocio (alta manual). El componente JS vive en js/components/sb-calendar.js. */
.sbcal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.sbcal__title { font-weight: 700; font-size: 0.95rem; text-transform: capitalize; }
.sbcal__nav { border: 1px solid var(--c-border, #e5e7eb); background: #fff; color: var(--c-text, #111827); width: 30px; height: 30px; border-radius: 8px; font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 0; }
.sbcal__nav:disabled { opacity: 0.35; cursor: default; }
.sbcal__nav:hover:not(:disabled) { background: #f3f4f6; color: var(--c-text, #111827); }
.sbcal__wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.sbcal__wd span { text-align: center; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; color: var(--c-text-muted, #9ca3af); }
.sbcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.sbcal__cell { aspect-ratio: 1 / 1; border: 0; border-radius: 8px; background: #f3f4f6; color: var(--c-text, #111827); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0; transition: background-color .12s ease, color .12s ease; }
.sbcal__cell:hover:not(:disabled) { background: #111827; color: #fff; }
.sbcal__cell--empty { background: none; cursor: default; }
.sbcal__cell--off { background: none; color: var(--c-text-muted, #d1d5db); cursor: default; font-weight: 400; }
.sbcal__cell--today { box-shadow: inset 0 0 0 1.5px #111827; }
.sbcal__cell--on { background: #111827; color: #fff; }

/* Embed / tema oscuro: legibilidad sobre fondo oscuro */
body.sb-embed .sbcal__cell { background: #1e293b; color: #e2e8f0; }
body.sb-embed .sbcal__cell--off { background: none; color: #475569; }
body.sb-embed .sbcal__nav { background: #1e293b; color: #e2e8f0; border-color: #334155; }
@media (prefers-color-scheme: dark) {
    body.sb-embed .sbcal__nav:hover:not(:disabled) { background: #334155; color: #fff; }
}
