/* ── Eu: her page and the settings of her craft (design C1, C2, C3, 6) ──── */

/* C1 header: photo, business name, salon. */
.me-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px var(--gutter) 0;
}
.me-header__photo {
  width: 64px;
  height: 64px;
  flex: none;
  font: 700 22px var(--font-display);
  color: var(--muted);
}
.me-header__name {
  margin: 0;
  font: 800 28px/1 var(--font-display);
  letter-spacing: -.02em;
}
.me-header__salon { margin-top: 5px; font: 400 13px var(--font-body); color: var(--muted); }

/* C1 "A minha página": the red card with her link. */
.my-page {
  margin: 18px var(--gutter) 0;
  padding: 16px 18px;
  border-radius: 24px;
  background: var(--verniz);
  color: var(--card);
}
.my-page__kicker {
  font: 600 12px var(--font-body);
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.my-page__link { margin-top: 4px; font: 700 20px var(--font-display); overflow-wrap: anywhere; }
.my-page__note { margin-top: 4px; font: 400 13px var(--font-body); opacity: .9; }

.demo-card__button { margin-top: 12px; }
.sign-out { display: block; }

/* Sub-screen titles: design 6 / C2 set them a size down from 8c's. */
.eu-title { margin-top: 14px; font-size: 30px; }
.eu-lede { margin: 0 0 4px; font: 400 13px var(--font-body); color: var(--muted); }

/* Design 6's switch: white track, ink pill for the current one. */
.eu-seg { margin-top: 16px; padding: 4px; background: var(--card); }
.eu-seg .seg__item { padding: 8px 16px; }
.eu-seg .seg__item[aria-current="page"] { background: var(--ink); color: var(--card); }

/* ── Serviços (design 6) ─────────────────────────────────────────────── */
.service-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--card);
}
.service-row__body { flex: 1; min-width: 0; }
.service-row__name { font: 600 15px var(--font-body); }
.service-row__duration { font: 400 12px var(--font-body); color: var(--muted); }
.service-row__price { font: 700 15px var(--font-display); }

.add-dashed {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 4px;
  border: 2px dashed var(--verniz-dash);
  border-radius: var(--radius-pill);
  color: var(--verniz);
  font: 600 14px var(--font-body);
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: var(--card);
}
.setting-row__title { display: block; font: 600 15px var(--font-body); }
.setting-row__sub { font: 400 12px var(--font-body); color: var(--muted); }

/* 16px: iOS zooms into a smaller select on focus. */
.select-pill {
  flex: none;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--verniz-wash);
  color: var(--verniz);
  font: 700 16px var(--font-display);
}

.field__select { -webkit-appearance: none; appearance: none; }

.eu-danger { display: block; margin-top: 8px; }
.eu-danger .btn { color: var(--verniz); }

/* ── Horário e salão (design C2, C3) ──────────────────────────────────── */
.day-toggles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  font: 600 13px var(--font-body);
  cursor: pointer;
}
.day-toggle:has(:checked) { background: var(--verniz); color: var(--card); }
.day-toggle:has(:focus-visible) { outline: 3px solid var(--verniz); outline-offset: 2px; }
/* The checkbox stays in the page for forms and screen readers; the chip is
   what she sees and taps. */
.day-toggle__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.eu-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.eu-head__action { font: 500 13px var(--font-body); }
.eu-kicker-gap { margin-top: 6px; }

.day-hours { padding: 6px 16px; border-radius: 22px; background: var(--card); }
.day-hours[hidden] { display: none; }
.day-hours--invalid { outline: 2px solid var(--verniz); }
.day-hours__title { margin: 10px 0 2px; font: 700 17px var(--font-display); }
.day-hours__error { font: 500 13px var(--font-body); color: var(--verniz); }
.day-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.day-hours__row:last-child { border-bottom: 0; }
.day-hours__label { font: 500 15px var(--font-body); }
.day-hours__hint { font: 400 12px var(--font-body); color: var(--muted); }
/* Wraps under "Almoço" when the phone writes times wide (12-hour locales). */
.day-hours__row--wrap { flex-wrap: wrap; }
.day-hours__range { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.time-input {
  padding: 4px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font: 700 20px var(--font-display);
}
.time-input:focus { outline: 3px solid var(--verniz); outline-offset: 2px; background: var(--verniz-wash); color: var(--verniz); }
.time-input--small { font-size: 17px; padding: 4px 8px; }

/* C3's footnote: what saving changes, and what it doesn't. */
.note {
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--note-wash);
  color: var(--note-ink);
  font: 400 13px/1.5 var(--font-body);
}

/* ── Férias e folgas ──────────────────────────────────────────────────── */
.time-off-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: var(--card);
}
.time-off-row__dates { font: 700 17px var(--font-display); }
/* Date inputs keep an intrinsic width that would push the grid off-screen. */
.time-off-form .field { min-width: 0; }
.time-off-form .field__input { min-width: 0; }
.time-off-row__label { font: 400 13px var(--font-body); color: var(--muted); }

/* ── O meu perfil ─────────────────────────────────────────────────────── */
.field--readonly { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.field--readonly .field__input { color: var(--muted); }
