/*
 * Formulario de reservas (widget.html). Se carga después de styles.css.
 * Colores configurables por negocio: --widget-bg, --widget-text y --brand.
 */

body {
  font-family: var(--widget-font, system-ui, sans-serif);
  padding: 20px;
  background: var(--widget-bg, #f3f5f8);
  color: var(--widget-text, #29394b);
}

.container {
  max-width: 520px;
  margin: auto;
}

.container .card {
  background: var(--widget-bg, #fff);
  color: var(--widget-text, #29394b);
}

img {
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

label input,
label select {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.primary {
  width: 100%;
}

.provider {
  text-align: center;
  font-size: 11px;
  padding: 20px;
}

h1 {
  font-size: 27px;
}

.container .card {
  border-color: var(--widget-secondary, #dee5ed);
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.slots button {
  min-height: 40px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--widget-secondary, #b7c3d1);
}

.slots button.selected {
  background: var(--brand, #526b86);
  border-color: var(--brand, #526b86);
  color: #fff;
}

.container .actions {
  margin: 14px 0;
}

/* App del cliente (magic.html) */
.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-head h1 {
  margin: 0;
}

.app-head #logo {
  max-height: 48px;
}

h2.section {
  margin: 20px 0 8px;
  font-size: 18px;
}

.appt.focus {
  border-color: var(--brand, #526b86);
}

.appt.past {
  padding: 8px 0;
  border-top: 1px solid var(--widget-secondary, #dee5ed);
}

.appt.past:first-child {
  border-top: 0;
}

.inline-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--widget-secondary, #b7c3d1);
}

.meter {
  height: 10px;
  border-radius: 6px;
  background: var(--widget-secondary, #dee5ed);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--brand, #526b86);
}

.stars {
  display: flex;
  gap: 4px;
}

.stars button {
  min-width: 44px;
  min-height: 44px;
  font-size: 22px;
  background: transparent;
  color: #8a96a6;
  border: 1px solid var(--widget-secondary, #b7c3d1);
}

.stars button.on {
  color: #b7791f;
  border-color: #b7791f;
}

.notice.small {
  font-size: 13px;
}
