:root {
  --accent: #136f63;
  --accent-dark: #0d4d45;
  --ink: #171717;
  --muted: #62666d;
  --line: #dfe4e0;
  --surface: #ffffff;
  --page: #f6f7f4;
  --danger: #b42318;
  --warning: #a15c07;
  --success: #137333;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a.as-link {
  min-height: 44px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.public-page {
  min-height: 100vh;
}

.site-hero {
  min-height: 26vh;
  background:
    linear-gradient(135deg, rgba(19, 111, 99, 0.88), rgba(23, 23, 23, 0.82)),
    url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-shade {
  min-height: 26vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 32px 18px 38px;
}

.shop-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
}

.brand-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-hero h1,
.page-heading {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 1.05;
  max-width: 760px;
}

.compact-heading {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  line-height: 1.1;
}

.public-shell {
  width: min(760px, calc(100% - 28px));
  margin: -18px auto 28px;
}

.compact-page .public-shell {
  margin-top: 24px;
}

.booking-panel,
.auth-panel,
.admin-app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-panel {
  padding: 18px;
}

.public-info {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.info-block {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-block h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-block p {
  margin: 0 0 8px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.compact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.compact-item strong {
  color: var(--muted);
  white-space: nowrap;
}

.step-row,
.admin-header,
.section-head,
.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.step-row {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.step-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.step-title,
.eyebrow {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.step-section {
  padding: 22px 0 10px;
}

h1,
h2 {
  margin: 0;
}

h2 {
  font-size: 1.24rem;
  line-height: 1.25;
}

.choice-grid,
.time-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.choice-button,
.time-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.choice-button {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
}

.barber-choice {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  text-align: left;
}

.choice-avatar,
.row-avatar,
.barber-card img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: color-mix(in srgb, var(--accent) 10%, white);
}

.choice-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.choice-button strong {
  font-size: 1rem;
}

.choice-button span,
.muted,
.row-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.choice-button.selected,
.time-button.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.time-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-button {
  min-height: 48px;
  text-align: center;
  font-weight: 800;
}

.loading-text {
  color: var(--muted);
  padding: 8px 0;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.field span,
.check-field {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.hour-row input,
.hour-row select,
.two-fields input,
.two-fields select,
.section-head input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
}

.manage-layout {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.manage-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.danger-link {
  min-height: 34px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 850;
}

.reservation-strip {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbf8;
}

.reservation-strip div {
  display: grid;
  gap: 2px;
}

.reservation-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reservation-strip strong {
  overflow-wrap: anywhere;
}

.manage-grid,
.agenda-controls {
  display: grid;
  gap: 10px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.summary-list div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-list div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.action-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}

.action-row.vertical {
  flex-direction: column;
  align-items: stretch;
}

.primary-btn,
.secondary-btn,
.danger-btn,
.mini-btn,
.tab-button {
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.primary-btn,
.secondary-btn,
.danger-btn {
  padding: 10px 16px;
}

.primary-btn,
a.primary-btn {
  background: var(--accent);
  color: #fff;
}

.secondary-btn,
a.secondary-btn {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.danger-btn {
  background: #fff;
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, white);
}

.as-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.small-btn,
.mini-btn {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.86rem;
}

.mini-btn {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.danger-text {
  color: var(--danger);
}

.form-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--danger) 38%, white);
  border-radius: 8px;
  background: color-mix(in srgb, var(--danger) 8%, white);
  color: var(--danger);
  font-weight: 700;
}

.success-panel {
  padding-top: 20px;
}

.success-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.site-footer {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.thank-you-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.admin-page {
  min-height: 100vh;
  padding: 16px;
}

.admin-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.auth-panel {
  width: min(420px, 100%);
  margin: 9vh auto;
  padding: 20px;
}

.auth-panel h1,
.admin-header h1 {
  font-size: 1.7rem;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.admin-app {
  padding: 14px;
}

.admin-header {
  align-items: flex-start;
  padding: 4px 2px 14px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 4px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding-bottom: 4px;
}

.tab-button {
  flex: 1 1 132px;
  min-height: 40px;
  padding: 8px 12px;
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.tab-button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.tab-panel {
  padding: 8px 0 0;
}

.section-head {
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.section-head.spaced {
  margin-top: 28px;
}

.list-stack {
  display: grid;
  gap: 10px;
}

.barber-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.barber-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
}

.barber-card.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, white);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.barber-admin-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.barber-admin-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.barber-admin-main .row-avatar {
  width: 64px;
  height: 64px;
}

.barber-admin-main .row-title {
  font-size: 1.08rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
}

.compact-stack {
  gap: 8px;
}

.barber-day-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.barber-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.barber-day-head strong {
  overflow-wrap: anywhere;
}

.barber-day-head span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.item-row {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.row-title {
  font-weight: 850;
  overflow-wrap: anywhere;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.status-pendiente {
  color: var(--warning);
  background: color-mix(in srgb, var(--warning) 12%, white);
}

.status-confirmada {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, white);
}

.status-cancelada_cliente,
.status-cancelada_dueno,
.status-rechazada {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, white);
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.wide-form {
  max-width: 720px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hours-list {
  display: grid;
  gap: 10px;
}

.hour-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.day-check {
  margin: 0;
}

@media (min-width: 620px) {
  .hero-shade {
    padding: 34px max(24px, calc((100vw - 760px) / 2)) 42px;
  }

  .booking-panel {
    padding: 22px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hour-row {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: end;
  }

  .public-info {
    grid-template-columns: 1fr;
  }

  .manage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manage-grid .field:first-child {
    grid-column: 1 / -1;
  }

  .agenda-controls {
    grid-template-columns: 1fr 1fr;
  }

  .barber-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .admin-page {
    padding: 28px;
  }

  .admin-app {
    padding: 22px;
  }

  .admin-grid {
    grid-template-columns: minmax(280px, 360px) 1fr;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .action-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .action-row.vertical {
    flex-direction: column;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .item-row {
    display: grid;
  }

  .row-actions {
    justify-content: flex-start;
  }
}

/* Final visual direction */
:root {
  --accent: #0f766e;
  --accent-dark: #064e3b;
  --ink: #111318;
  --muted: #6d7280;
  --line: #e4e7ec;
  --surface: #ffffff;
  --page: #f4f1ec;
  --premium: #c59b52;
  --charcoal: #151719;
  --danger: #b42318;
  --warning: #b76e00;
  --success: #0e7a45;
  --shadow: 0 22px 70px rgba(17, 19, 24, 0.14);
}

body {
  background:
    linear-gradient(180deg, rgba(244, 241, 236, 0.92), rgba(248, 249, 247, 0.98)),
    var(--page);
}

.final-public {
  position: relative;
  overflow-x: hidden;
}

.public-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.82), rgba(17, 19, 24, 0.18)),
    url("/assets/donde-charlie-interior-dark.jpg");
  background-position: center;
  background-size: cover;
}

.soft-backdrop {
  filter: saturate(0.9);
}

.soft-backdrop::after,
.public-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 18, 0.08), rgba(244, 241, 236, 0.94) 64%);
}

.public-topbar {
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark.text-only {
  letter-spacing: 0;
  text-transform: none;
}

.shop-logo {
  width: 58px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 7px;
}

.admin-entry {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.public-experience {
  width: min(1180px, calc(100% - 28px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding: 22px 0 30px;
}

.public-stage {
  color: #fff;
  display: grid;
  gap: 16px;
  max-width: 680px;
  padding: 20px 0;
}

.public-stage h1 {
  margin: 0;
  font-size: clamp(2.7rem, 12vw, 6rem);
  line-height: 0.92;
  max-width: 780px;
}

.stage-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.03rem;
  line-height: 1.55;
}

.studio-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 112px 112px;
  gap: 10px;
  width: min(610px, 100%);
}

.studio-card {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.studio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.studio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58));
}

.studio-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card {
  grid-row: 1 / 3;
}

.bright-card img {
  object-position: center;
}

.logo-card {
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.logo-card img {
  object-fit: contain;
}

.logo-card::after {
  display: none;
}

.brand-name {
  color: var(--premium);
  letter-spacing: 0.18em;
}

.stage-hours {
  width: min(460px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(17, 19, 24, 0.38);
  backdrop-filter: blur(18px);
}

.stage-hours > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.stage-hours .compact-item {
  border-color: rgba(255, 255, 255, 0.16);
}

.stage-hours .compact-item span,
.stage-hours .compact-item strong {
  color: #fff;
}

.booking-panel,
.auth-panel,
.admin-app,
.info-block {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.booking-panel {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.step-row {
  border-bottom: 1px solid #e8ece8;
}

.step-pill {
  background: #111318;
  color: #fff;
  border-radius: 999px;
}

.step-title {
  color: var(--premium);
}

.step-section {
  min-height: 292px;
  padding: 20px 0 8px;
}

.step-section h2,
.info-block h2,
.stack-form h2,
.section-head h2 {
  color: #111318;
  font-weight: 950;
}

.choice-grid {
  grid-template-columns: 1fr;
}

.choice-button,
.time-button,
.field input,
.field select,
.hour-row select,
.two-fields select,
.two-fields input,
.section-head input,
.section-head select {
  border-color: #dfe5df;
  background: #fbfcfa;
}

.choice-button {
  border-radius: 12px;
  padding: 12px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.choice-button:hover,
.time-button:hover,
.barber-card:hover,
.barber-admin-main:hover {
  transform: translateY(-1px);
}

.choice-button.selected,
.time-button.selected,
.barber-card.selected {
  border-color: var(--accent);
  background: #edf8f4;
  box-shadow: inset 0 0 0 1px var(--accent), 0 10px 28px rgba(15, 118, 110, 0.12);
}

.choice-avatar,
.row-avatar,
.barber-card img {
  border-radius: 14px;
}

.time-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-button {
  border-radius: 999px;
}

.primary-btn,
.secondary-btn,
.danger-btn,
.mini-btn,
.tab-button {
  border-radius: 999px;
}

.primary-btn,
a.primary-btn {
  background: linear-gradient(135deg, #0f766e, #064e3b);
}

.secondary-btn,
a.secondary-btn,
.mini-btn {
  background: #fff;
}

.public-shell.manage-shell {
  width: min(760px, calc(100% - 28px));
  margin-top: 22px;
}

.manage-shell .booking-panel {
  justify-self: center;
  max-width: 760px;
}

.reservation-strip {
  grid-template-columns: 1fr;
  background: #f8faf7;
}

.manage-grid {
  gap: 10px;
}

.thank-you-panel {
  min-height: 300px;
  align-content: center;
  text-align: center;
}

.admin-page {
  background:
    linear-gradient(135deg, rgba(21, 23, 25, 0.03), rgba(197, 155, 82, 0.09)),
    #f4f1ec;
  padding: 12px;
}

.admin-shell {
  width: min(1240px, 100%);
}

.admin-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.admin-rail {
  display: grid;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(21, 23, 25, 0.94), rgba(21, 23, 25, 0.98)),
    url("/assets/donde-charlie-interior-dark.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.admin-identity h1 {
  margin: 0;
  font-size: 1.55rem;
}

.admin-identity img {
  width: min(180px, 100%);
  max-height: 110px;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}

.admin-rail .eyebrow {
  color: var(--premium);
}

.admin-rail .secondary-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-tabs {
  margin: 0;
  padding: 0;
}

.tab-button {
  flex: 1 1 120px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.76);
}

.tab-button.active {
  color: #151719;
  background: var(--premium);
  border-color: var(--premium);
}

.admin-workspace {
  min-width: 0;
  padding: 16px;
}

.admin-header {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.section-head.spaced {
  margin-top: 24px;
}

.barber-selector {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.barber-card {
  border-radius: 14px;
  background: #fbfcfa;
}

.agenda-controls {
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f8faf7;
  border: 1px solid var(--line);
}

.item-row,
.barber-day-group,
.hour-row {
  border-radius: 14px;
  background: #fff;
}

.barber-admin-row {
  padding: 14px;
}

.barber-admin-main {
  border-radius: 14px;
}

.row-title {
  color: #111318;
}

.auth-panel {
  margin-top: 12vh;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("/assets/donde-charlie-logo.jpg");
  background-size: 86%, cover;
  background-position: center 18px, center;
  background-repeat: no-repeat;
}

@media (min-width: 760px) {
  .public-experience {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
    align-items: center;
    padding-top: 10px;
  }

  .booking-panel {
    padding: 22px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reservation-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .barber-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .admin-page {
    padding: 22px;
  }

  .admin-app {
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: calc(100vh - 44px);
  }

  .admin-rail {
    align-content: start;
    padding: 22px;
  }

  .admin-tabs {
    display: grid;
  }

  .tab-button {
    justify-content: flex-start;
    text-align: left;
  }

  .admin-workspace {
    padding: 24px;
  }

  .admin-grid {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .public-topbar {
    min-height: 64px;
  }

  .public-experience {
    min-height: auto;
    padding-top: 4px;
  }

  .public-stage {
    padding: 8px 0 4px;
  }

  .public-stage h1 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }

  .stage-copy {
    font-size: 0.96rem;
  }

  .stage-hours {
    display: none;
  }

  .studio-showcase {
    grid-template-columns: 1fr 0.74fr;
    grid-template-rows: 86px 86px;
  }

  .booking-panel {
    justify-self: stretch;
  }

  .step-section {
    min-height: 250px;
  }
}

/* Professional compact polish */
:root {
  --accent: #0f766e;
  --accent-dark: #064e3b;
  --gold: #c59b52;
  --gold-soft: #f1e3c7;
  --warm-white: #fffaf2;
  --charcoal: #121417;
  --charcoal-2: #1c2024;
  --soft-line: #e8e0d4;
}

.final-public {
  min-height: 100vh;
  background: #0f1113;
}

.public-backdrop {
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.88) 0%, rgba(12, 14, 16, 0.63) 45%, rgba(12, 14, 16, 0.34) 100%),
    url("/assets/donde-charlie-interior-dark.jpg");
  background-position: center;
  background-size: cover;
}

.public-backdrop::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(197, 155, 82, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.08) 0%, rgba(12, 14, 16, 0.52) 50%, rgba(244, 241, 236, 0.96) 100%);
}

.public-topbar {
  width: calc(100% - 28px);
  max-width: 1180px;
  min-height: 66px;
  padding-top: 8px;
}

.brand-mark {
  max-width: min(74vw, 480px);
  gap: 10px;
  letter-spacing: 0.03em;
}

.brand-mark span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-logo {
  width: 50px;
  height: 38px;
  border-radius: 9px;
}

.admin-entry {
  min-height: 34px;
  padding: 7px 12px;
  border-color: rgba(197, 155, 82, 0.42);
  color: #fff8ec;
  background: rgba(18, 20, 23, 0.34);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-experience {
  width: calc(100% - 28px);
  max-width: 1180px;
  min-height: calc(100vh - 78px);
  align-items: start;
  gap: 14px;
  padding: 10px 0 22px;
}

.public-stage {
  max-width: 620px;
  gap: 12px;
  padding: 4px 0 0;
}

.hero-lockup {
  display: grid;
  gap: 8px;
}

.brand-name {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-stage h1 {
  margin: 0;
  max-width: 520px;
  color: #fff;
  font-size: clamp(2.05rem, 9vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.stage-copy {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 3.5vw, 1.08rem);
  line-height: 1.45;
}

.stage-note {
  width: fit-content;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 8px 11px;
  border: 1px solid rgba(197, 155, 82, 0.34);
  border-radius: 999px;
  color: #fff2d6;
  background: rgba(18, 20, 23, 0.48);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
  backdrop-filter: blur(16px);
}

.studio-showcase {
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 94px 94px;
  gap: 9px;
  width: min(520px, 100%);
  margin-top: 2px;
}

.studio-card {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.studio-card figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.stage-hours {
  width: min(430px, 100%);
  padding: 11px;
  border-color: rgba(197, 155, 82, 0.28);
  background: rgba(18, 20, 23, 0.54);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.booking-panel {
  justify-self: center;
  max-width: 520px;
  padding: 17px;
  border: 1px solid rgba(255, 250, 242, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 28px 80px rgba(11, 12, 14, 0.22);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.step-row {
  display: grid;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--soft-line);
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-pill {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(197, 155, 82, 0.34);
  color: #fff6e8;
  background: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.step-title {
  min-width: 0;
  color: #926a28;
  font-size: 0.88rem;
  font-weight: 950;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.step-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece4d8;
}

.step-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #8b5e23);
  transition: width 220ms ease;
}

.step-section {
  min-height: 236px;
  padding: 16px 0 6px;
}

.step-section h2,
.info-block h2,
.stack-form h2,
.section-head h2 {
  margin-bottom: 12px;
  color: var(--charcoal);
  letter-spacing: 0;
}

.choice-grid {
  gap: 10px;
}

.choice-button,
.time-button {
  min-height: 52px;
  border: 1px solid #e2d8c9;
  color: var(--charcoal);
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(18, 20, 23, 0.05);
}

.choice-button {
  border-radius: 15px;
  padding: 11px;
}

.choice-button strong {
  color: var(--charcoal);
}

.choice-button .choice-copy span {
  color: #767066;
}

.choice-button.selected,
.time-button.selected,
.barber-card.selected {
  border-color: #b98b42;
  background: #fff4dd;
  box-shadow: inset 0 0 0 1px rgba(197, 155, 82, 0.62), 0 14px 30px rgba(139, 94, 35, 0.12);
}

.choice-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid #eadfce;
  background: #f3eadf;
  object-fit: cover;
}

.field span {
  color: #4e4942;
  font-weight: 850;
}

.field input,
.field select,
.hour-row select,
.two-fields select,
.two-fields input,
.section-head input,
.section-head select {
  border-color: #e1d7c8;
  border-radius: 13px;
  color: var(--charcoal);
  background: #fffdf8;
}

.time-grid {
  gap: 9px;
}

.time-button {
  border-radius: 999px;
  font-weight: 900;
}

.time-button {
  display: grid;
  place-items: center;
  gap: 2px;
  text-align: center;
}

.time-button small {
  font-size: 0.68rem;
  font-weight: 950;
}

.time-button.special-time {
  border-color: #b8873d;
  color: #5f3d11;
  background: linear-gradient(180deg, #fff2cf, #ffe3a1);
}

.special-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #d9a441;
  border-radius: 12px;
  color: #5f3d11;
  background: #fff4d9;
  font-size: 0.9rem;
  font-weight: 850;
}

.primary-btn,
a.primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #064e3b);
  box-shadow: 0 14px 28px rgba(6, 78, 59, 0.22);
}

.secondary-btn,
a.secondary-btn,
.mini-btn {
  border-color: #dccfbc;
  color: var(--charcoal);
  background: #fffdf8;
}

.form-error {
  border-radius: 12px;
}

.success-panel {
  padding: 18px 0 4px;
}

.admin-page {
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.04), rgba(197, 155, 82, 0.11)),
    #f4f1ec;
}

.admin-app,
.auth-panel,
.info-block {
  border-color: rgba(255, 250, 242, 0.82);
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(18, 20, 23, 0.12);
}

.auth-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.98));
}

.auth-panel::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -20px;
  width: 220px;
  height: 220px;
  background: url("/assets/donde-charlie-logo.jpg") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.admin-rail {
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.96), rgba(18, 20, 23, 0.98)),
    url("/assets/donde-charlie-interior-dark.jpg");
  background-size: cover;
  background-position: center;
}

.tab-button.active {
  color: var(--charcoal);
  background: linear-gradient(135deg, #d8b46c, #b8873d);
  border-color: #d8b46c;
}

.agenda-controls,
.barber-card,
.barber-admin-main,
.item-row,
.barber-day-group,
.hour-row {
  border-color: #e5daca;
  background: #fffdf8;
}

@media (min-width: 760px) {
  .public-experience {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.74fr);
    align-items: center;
    gap: clamp(18px, 4vw, 46px);
    padding-top: 2px;
  }

  .booking-panel {
    padding: 20px;
  }

  .step-section {
    min-height: 254px;
  }
}

@media (max-width: 620px) {
  .public-backdrop {
    background-position: 58% center;
  }

  .public-topbar {
    width: calc(100% - 24px);
    min-height: 60px;
    padding-top: 6px;
  }

  .shop-logo {
    width: 42px;
    height: 34px;
  }

  .brand-mark {
    font-size: 0.76rem;
  }

  .admin-entry {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .public-experience {
    display: block;
    width: calc(100% - 28px);
    gap: 12px;
    padding: 6px 0 18px;
  }

  .public-stage {
    gap: 10px;
    padding: 2px 0 0;
  }

  .public-stage h1 {
    max-width: 320px;
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .stage-copy {
    max-width: 330px;
    font-size: 0.94rem;
    line-height: 1.38;
  }

  .stage-note {
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .studio-showcase {
    display: none;
  }

  .booking-panel {
    margin-left: 0;
    margin-right: auto;
    width: calc(100vw - 34px);
    max-width: 350px;
    padding: 15px;
    border-radius: 18px;
  }

  .step-section {
    min-height: 218px;
    padding-top: 14px;
  }

  .choice-button,
  .time-button {
    min-height: 50px;
  }

  .choice-button.selected,
  .time-button.selected {
    box-shadow: inset 0 0 0 1px rgba(197, 155, 82, 0.62);
  }

  .choice-avatar {
    width: 48px;
    height: 48px;
  }

  .action-row {
    gap: 9px;
  }
}

/* Entrance animations and refined interactions */
.intro-logo {
  position: fixed;
  left: 50vw;
  top: 50vh;
  z-index: 30;
  width: min(74vw, 620px);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: logoJourney 1.9s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.intro-logo img {
  width: 100%;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, 0.42));
}

.public-backdrop {
  opacity: 0;
  animation: backdropFade 900ms ease 650ms forwards;
}

.shop-logo {
  opacity: 0;
  animation: headerLogoIn 260ms ease 1.55s forwards;
}

.brand-mark span,
.admin-entry {
  opacity: 0;
  animation: softRise 420ms ease 1.72s forwards;
}

.hero-lockup {
  opacity: 0;
  animation: titleReveal 620ms cubic-bezier(0.2, 0.72, 0.18, 1) 1.85s forwards;
}

.studio-showcase,
.stage-hours {
  opacity: 0;
  animation: softRise 620ms ease 2.05s forwards;
}

.booking-panel {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: panelReveal 620ms cubic-bezier(0.2, 0.72, 0.18, 1) 2.38s forwards;
}

.section-enter {
  animation: stepSlide 260ms ease both;
}

.choice-button,
.time-button,
.date-button,
.barber-card,
.mini-btn,
.primary-btn,
.secondary-btn {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.choice-button:active,
.time-button:active,
.date-button:active,
.barber-card:active,
.primary-btn:active,
.secondary-btn:active {
  transform: scale(0.985);
}

.choice-button.selected,
.time-button.selected,
.date-button.selected,
.barber-card.selected {
  animation: choiceSelect 260ms ease both;
}

.shop-logo {
  width: 70px;
  height: 50px;
}

.service-choice {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  text-align: left;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid #eadfce;
  background: linear-gradient(180deg, #fff8e8, #f3eadf);
}

.service-icon svg {
  width: 38px;
  height: 38px;
}

.head-face {
  fill: #d9b88a;
}

.head-hair,
.head-beard,
.head-neck {
  fill: #111318;
}

.date-picker {
  display: grid;
  gap: 10px;
}

.date-picker-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
}

.date-picker-head strong {
  color: var(--charcoal);
  text-align: center;
  text-transform: capitalize;
}

.date-nav {
  min-height: 38px;
  border: 1px solid #e1d7c8;
  border-radius: 999px;
  color: var(--charcoal);
  background: #fffdf8;
  font-size: 1.3rem;
  font-weight: 900;
}

.date-weekdays,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.date-weekdays span {
  color: #7b7162;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.date-empty {
  min-height: 42px;
}

.date-button {
  min-height: 42px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 5px 2px;
  border: 1px solid #e1d7c8;
  border-radius: 12px;
  color: var(--charcoal);
  background: #fffdf8;
  font-weight: 900;
  text-align: center;
}

.date-button small {
  color: #a35a1a;
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
}

.date-button.selected {
  border-color: #b98b42;
  background: #fff4dd;
  box-shadow: inset 0 0 0 1px rgba(197, 155, 82, 0.64);
}

.date-button:disabled {
  cursor: not-allowed;
  color: #b3aa9c;
  background: #eee8dd;
  box-shadow: none;
  opacity: 0.72;
}

.admin-header-actions {
  justify-content: flex-end;
  align-items: center;
  padding: 0 0 14px;
}

.agenda-controls {
  grid-template-columns: minmax(220px, 360px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 20, 23, 0.62);
  backdrop-filter: blur(8px);
}

.confirm-modal {
  width: min(430px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 250, 242, 0.86);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf2, #ffffff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  animation: modalIn 180ms ease both;
}

.confirm-modal h2 {
  margin: 0 0 8px;
}

.confirm-modal p {
  margin: 0 0 14px;
  color: #5f574c;
}

.mini-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e5daca;
  border-radius: 14px;
  background: #fffdf8;
}

.mini-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mini-summary dt {
  color: #7b7162;
  font-weight: 850;
}

.mini-summary dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 900;
  text-align: right;
}

@keyframes logoJourney {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  62% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  92% {
    opacity: 1;
    transform: translate(calc(-50vw + clamp(40px, 8.6vw, 128px)), calc(-50vh + 38px)) scale(0.14);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50vw + clamp(40px, 8.6vw, 128px)), calc(-50vh + 38px)) scale(0.14);
  }
}

@keyframes backdropFade {
  from {
    opacity: 0;
    filter: saturate(0.72) brightness(0.78);
  }
  to {
    opacity: 1;
    filter: saturate(0.92) brightness(1);
  }
}

@keyframes headerLogoIn {
  to {
    opacity: 1;
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes stepSlide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes choiceSelect {
  0% {
    transform: scale(0.985);
  }
  65% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo {
    display: none;
  }

  .public-backdrop,
  .shop-logo,
  .brand-mark span,
  .admin-entry,
  .hero-lockup,
  .studio-showcase,
  .stage-hours,
  .booking-panel,
  .section-enter,
  .choice-button.selected,
  .time-button.selected,
  .date-button.selected,
  .barber-card.selected,
  .confirm-modal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .shop-logo {
    width: 52px;
    height: 40px;
  }

  .intro-logo {
    width: min(86vw, 390px);
  }

  .date-empty,
  .date-button {
    min-height: 38px;
  }

  .service-choice {
    grid-template-columns: 50px 1fr;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }
}

/* Requested admin action colors and hero crop */
.public-backdrop {
  background-position: 28% center;
}

.action-confirm {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #064e3b);
  border-color: #0f766e;
  box-shadow: 0 10px 22px rgba(6, 78, 59, 0.18);
}

.action-reject,
.danger-btn {
  color: #fff;
  background: linear-gradient(135deg, #c0342b, #8f1f18);
  border-color: #b42318;
  box-shadow: 0 10px 22px rgba(180, 35, 24, 0.18);
}

.action-reject:hover,
.danger-btn:hover {
  color: #fff;
}

.barber-name-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-led {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(120, 120, 120, 0.1);
}

.status-led.is-active {
  background: #0f8f5f;
  box-shadow: 0 0 0 4px rgba(15, 143, 95, 0.13), 0 0 14px rgba(15, 143, 95, 0.42);
}

.status-led.is-inactive {
  background: #c0342b;
  box-shadow: 0 0 0 4px rgba(192, 52, 43, 0.13), 0 0 14px rgba(192, 52, 43, 0.35);
}

.block-group-row {
  gap: 12px;
  align-items: center;
}

.block-group-row .row-meta {
  margin-top: 3px;
}

.compact-note {
  margin: -4px 0 0;
  font-size: 0.82rem;
}

.barber-schedule-editor {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5daca;
  border-radius: 14px;
  background: #fffdf8;
}

.barber-schedule-editor h3 {
  margin: 0;
  font-size: 1rem;
}

.barber-hour-row {
  grid-template-columns: minmax(110px, 1fr) 1fr 1fr;
}

.barber-portal-shell {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
}

.portal-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.portal-header .brand-mark {
  color: var(--charcoal);
}

.barber-portal-panel {
  width: 100%;
  margin: 16px auto 28px;
}

.portal-count {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 950;
}

.barber-edit-shell {
  width: min(880px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 28px;
}

.barber-edit-card {
  width: 100%;
  max-width: none;
}

.photo-uploader {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5daca;
  border-radius: 16px;
  background: #fffdf8;
}

.photo-uploader img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border: 1px solid #decfb8;
  border-radius: 20px;
  background: #f4efe6;
  box-shadow: 0 16px 34px rgba(25, 25, 25, 0.12);
}

.success-message {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  border-radius: 14px;
  color: #064e3b;
  background: rgba(15, 118, 110, 0.1);
  font-weight: 850;
}

@media (max-width: 620px) {
  .public-backdrop {
    background-position: 20% center;
  }

  .topbar-actions {
    gap: 5px;
  }

  .topbar-actions .admin-entry {
    padding-inline: 8px;
  }

  .barber-hour-row {
    grid-template-columns: 1fr;
  }

.portal-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }
}

.time-button.special-time.selected {
  border-color: #0f766e;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #064e3b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 30px rgba(6, 78, 59, 0.24);
}

.time-button.special-time.selected small {
  color: #fff2d6;
}

#barberChoices {
  gap: 13px;
}

#barberChoices .barber-choice {
  position: relative;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 106px;
  overflow: hidden;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  border-radius: 22px;
}

#barberChoices .barber-photo-choice {
  background:
    linear-gradient(90deg, rgba(184, 135, 61, 0.11), rgba(255, 253, 248, 0) 46%),
    #fffdf8;
}

#barberChoices .barber-photo-choice::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(184, 135, 61, 0.08);
}

#barberChoices .barber-photo-frame {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 2px solid rgba(184, 135, 61, 0.28);
  border-radius: 20px;
  background: #efe7d8;
  box-shadow: 0 16px 28px rgba(18, 20, 23, 0.16);
}

#barberChoices .choice-avatar {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 24%;
  background: #efe7d8;
  transform: scale(1.04);
}

#barberChoices .choice-copy {
  position: relative;
  z-index: 1;
  gap: 7px;
}

#barberChoices .choice-copy strong {
  font-size: 1.15rem;
  line-height: 1.08;
}

#barberChoices .choice-copy span {
  font-size: 0.97rem;
}

#barberChoices .barber-auto-choice {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 88px;
  padding-left: 11px;
}

#barberChoices .barber-auto-choice .barber-photo-frame {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  box-shadow: none;
}

#barberChoices .barber-choice.selected .barber-photo-frame {
  border-color: rgba(146, 106, 40, 0.72);
  box-shadow: 0 18px 34px rgba(146, 106, 40, 0.22);
}

.barber-selector .barber-card {
  min-width: 116px;
  padding: 10px;
}

.barber-selector .barber-card img {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  object-position: center 24%;
  box-shadow: 0 12px 24px rgba(18, 20, 23, 0.14);
}

.barber-selector {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.barber-selector .barber-card {
  grid-template-columns: 88px minmax(0, 1fr);
  min-width: 0;
  min-height: 110px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
}

.barber-selector .barber-card img {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 24%;
}

.barber-selector .barber-card span {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.12;
  font-size: 1rem;
}

@media (max-width: 460px) {
  .barber-selector {
    grid-template-columns: 1fr;
  }
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  width: 100%;
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #5f574c;
  background: transparent;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--charcoal);
  background: rgba(184, 135, 61, 0.12);
  outline: none;
}

.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-closed {
  display: none;
}

.password-toggle.is-visible .eye-open {
  display: none;
}

.password-toggle.is-visible .eye-closed {
  display: block;
}

@media (max-width: 420px) {
  #barberChoices .barber-choice {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 98px;
    gap: 12px;
  }

  #barberChoices .barber-photo-frame {
    width: 84px;
    height: 84px;
  }

  #barberChoices .barber-auto-choice {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 84px;
  }

  #barberChoices .barber-auto-choice .barber-photo-frame {
    width: 58px;
    height: 58px;
  }
}

#barberChoices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

#barberChoices .barber-auto-choice {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

#barberChoices .barber-photo-choice {
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 10px;
  padding: 8px;
  text-align: left;
}

#barberChoices .barber-photo-choice .barber-photo-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

#barberChoices .barber-photo-choice .choice-copy {
  min-height: 54px;
  padding: 0 4px 4px;
}

#barberChoices .barber-photo-choice .choice-copy strong {
  font-size: 1.02rem;
}

#barberChoices .barber-photo-choice .choice-copy span {
  font-size: 0.86rem;
}

@media (min-width: 720px) {
  #barberChoices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  #barberChoices {
    grid-template-columns: 1fr;
  }
}
