:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f6a63;
  --line: #e8ded2;
  --paper: #f6f3ee;
  --panel: #ffffff;
  --orange: #ff7a00;
  --orange-dark: #d95f00;
  --orange-soft: #fff0df;
  --gold: #c99a3d;
  --green: #16845c;
  --red: #d04a36;
  --blue: #2f5f8f;
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 0, 0.1), transparent 34rem),
    linear-gradient(180deg, #fffaf4 0, var(--paper) 340px, var(--paper) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #29211b);
  color: var(--orange);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: stretch;
  margin-top: 18px;
}

.hero-main {
  min-height: 360px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 22, 22, 0.92), rgba(47, 95, 143, 0.78)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.hero-main h1 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-main p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
}

.panel {
  padding: 20px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-title h2,
.panel-title h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.panel-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.card {
  padding: 14px;
}

.stack {
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 13px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #25201b, var(--ink));
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.14);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.05);
}

.btn.gold {
  background: var(--gold);
  color: #1b1305;
}

.btn.green {
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: #fff;
}

.btn.red {
  background: var(--red);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.icon {
  width: 38px;
  padding: 0;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 122, 0, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--orange-dark);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.18);
}

.hidden {
  display: none !important;
}

.client-panel-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.notification-wrap {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #b73423);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.notification-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 25;
  width: min(380px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 160px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 10px;
}

.notification-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 10px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.notification-item.unread {
  border-left: 4px solid var(--orange);
  background: linear-gradient(180deg, #fffaf6, #fff);
}

.notification-item p {
  margin: 0;
}

.schedule-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 122, 0, 0.18);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(45, 31, 21, 0.92) 62%, rgba(217, 95, 0, 0.88)),
    linear-gradient(180deg, #fff, #fbfaf8);
  color: #fff;
  box-shadow: 0 24px 54px rgba(17, 17, 17, 0.18);
}

.schedule-panel::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.schedule-panel > * {
  position: relative;
  z-index: 1;
}

.schedule-panel .panel-title p,
.schedule-panel .item-sub {
  color: rgba(255, 255, 255, 0.74);
}

.schedule-panel .btn.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.schedule-panel .notification-bell {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.schedule-panel .notification-menu {
  color: var(--ink);
}

.schedule-panel .notification-menu .item-sub,
.schedule-panel .notification-menu .muted {
  color: var(--muted);
}

.schedule-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.schedule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.schedule-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.schedule-card-main .item-title,
.schedule-card-main .item-sub {
  overflow-wrap: anywhere;
}

.schedule-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--orange), var(--gold));
  color: #1b1305;
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.26);
}

.schedule-card .btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding-inline: 16px;
}

.client-dashboard {
  align-items: start;
}

.client-panel {
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
}

.client-hero-title h2 {
  font-size: 27px;
}

.schedule-panel .client-hero-title {
  position: relative;
  z-index: 5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd6a6;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}

.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.notice {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff8e6;
  padding: 12px 14px;
  color: #5d4214;
}

.message {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(420px, calc(100% - 40px));
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(22, 22, 22, 0.42);
}

.modal {
  width: min(480px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.confirm-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.confirm-summary div {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfaf8;
}

.confirm-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.error {
  border-color: rgba(181, 72, 62, 0.35);
  background: #fff1ef;
  color: #7a231c;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ebe5dc;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.pill.green {
  background: #def5ea;
  color: #106243;
}

.pill.red {
  background: #fde2df;
  color: #8d3028;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.list-item:hover {
  border-color: rgba(255, 122, 0, 0.32);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.item-title {
  font-weight: 800;
}

.item-sub {
  color: var(--muted);
  font-size: 14px;
}

.appointment-card {
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 14px;
}

.appointment-time {
  display: grid;
  place-items: center;
  gap: 3px 8px;
  min-height: 68px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--orange-soft), #fff);
  color: var(--ink);
  border: 1px solid rgba(255, 122, 0, 0.24);
}

.appointment-time strong {
  color: var(--orange-dark);
  font-size: 24px;
  line-height: 1;
}

.appointment-time span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.appointment-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.appointment-main > div {
  min-width: 0;
}

.appointment-main .item-title,
.appointment-main .item-sub {
  overflow-wrap: anywhere;
}

.appointment-cancel {
  min-width: 96px;
}

.service-checks,
.week-grid,
.slots {
  display: grid;
  gap: 8px;
}

.service-checks {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.check input {
  width: 17px;
  height: 17px;
}

.week-row {
  display: grid;
  grid-template-columns: 56px repeat(4, minmax(92px, 1fr)) 92px;
  gap: 8px;
  align-items: end;
}

.slot-group {
  display: grid;
  gap: 8px;
}

.slot-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot {
  min-width: 74px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.slot:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.14);
}

.slot.selected {
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.22);
}

.slot.selected:hover {
  color: #fff;
}

.slot.unavailable {
  display: grid;
  gap: 1px;
  align-content: center;
  background: #f0ece6;
  color: #8a8177;
  cursor: not-allowed;
  opacity: 0.9;
  box-shadow: none;
}

.slot.unavailable:hover {
  border-color: var(--line);
  color: #8a8177;
  filter: none;
  transform: none;
  box-shadow: none;
}

.slot small {
  display: block;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 750;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 13px;
}

.public-header {
  display: grid;
  gap: 10px;
  padding: 24px 0 8px;
}

.public-header .pill {
  justify-self: start;
}

.public-header h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
}

.empty {
  border: 1px dashed #cfc6ba;
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.empty.compact {
  padding: 12px;
}

.auth-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.choice-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  text-decoration: none;
}

.choice-card strong {
  font-size: 20px;
}

.choice-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .auth-mini,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: auto;
  }

  .hero-main {
    min-height: 300px;
    padding: 24px;
  }

  .hero-main h1,
  .public-header h1 {
    font-size: 32px;
  }

  .appointment-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .appointment-cancel {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    align-items: center;
    flex-direction: row;
  }

  .top-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .top-actions .pill {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .container {
    width: min(100% - 22px, 1160px);
    padding-top: 18px;
  }

  .panel {
    padding: 14px;
  }

  .week-row {
    grid-template-columns: 1fr 1fr;
  }

  .week-row > strong {
    grid-column: 1 / -1;
  }

  .item-head {
    display: grid;
  }

  .panel-title {
    display: grid;
  }

  .client-panel-actions {
    justify-content: flex-start;
  }

  .notification-menu {
    left: 0;
    right: auto;
    width: min(327px, calc(100vw - 48px));
  }

  .schedule-card {
    align-items: stretch;
    display: grid;
  }

  .schedule-card-main {
    align-items: flex-start;
  }

  .schedule-card .btn {
    width: 100%;
  }

  .client-hero-title h2 {
    font-size: 24px;
  }

  .appointment-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .appointment-time {
    grid-template-columns: auto 1fr;
    justify-content: start;
    place-items: center start;
    min-height: 56px;
    padding: 10px 12px;
  }

  .appointment-time strong {
    font-size: 22px;
  }

  .appointment-main {
    display: grid;
  }

  .table {
    display: block;
    overflow-x: auto;
  }
}

/* --- CLIENT MOBILE-LIKE STYLES --- */

.client-shell {
  background: var(--paper); /* Fundo claro e limpo */
}

.client-shell .topbar {
  display: none; /* Oculta a barra original no mobile like */
}

.client-shell .container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 90px; /* Espaço para o bottom nav */
  background: var(--paper);
  min-height: 100vh;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 50;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.03);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  transition: color 0.2s;
}

.nav-item svg {
  stroke-width: 2.2;
}

.nav-item.active {
  color: var(--orange-dark);
}

/* Tela Inicial - Greeting */
.client-greeting {
  margin-bottom: 24px;
}

.client-greeting h1 {
  font-size: 26px;
  margin: 0 0 4px;
  line-height: 1.2;
}

.client-greeting p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* Ações Rápidas */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}

.action-card:active {
  transform: scale(0.98);
  border-color: var(--orange);
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-radius: 12px;
  flex-shrink: 0;
}

.action-text {
  flex: 1;
}

.action-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.action-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.action-arrow {
  color: var(--muted);
}

/* Barbearia Vinculada (Destaque) */
.shop-highlight-card {
  background: linear-gradient(135deg, #2a2a2a, #111);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.shop-highlight-card::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 61, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.shop-highlight-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.shop-highlight-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.shop-highlight-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.shop-highlight-text span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.shop-highlight-card .btn {
  width: 100%;
}

/* Tela de Agendamento Pública */
.public-booking-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.booking-shop-info h2 {
  font-size: 20px;
  margin: 0 0 4px;
}

.booking-shop-info a {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.booking-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.booking-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
}

.booking-card-header svg {
  color: var(--orange-dark);
}

.booking-date-field input[type="date"] {
  border-color: rgba(255, 122, 0, 0.38);
  background: linear-gradient(180deg, #fff, var(--orange-soft));
  font-weight: 750;
}

.selected-date-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 122, 0, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8ef, #fff);
  padding: 12px;
  color: var(--ink);
}

.selected-date-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
}

.selected-date-banner span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.selected-date-banner strong {
  display: block;
  margin-top: 2px;
  color: var(--orange-dark);
  font-size: 15px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.slot-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.slot-item.selected {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.slot-item.unavailable {
  background: #f5f5f5;
  color: #bbb;
  cursor: not-allowed;
  border-color: #eee;
}

.floating-action-container {
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 16px;
  z-index: 45;
  background: linear-gradient(to top, var(--paper) 60%, transparent);
}

.btn-large {
  width: 100%;
  height: 52px;
  font-size: 16px;
  border-radius: 12px;
}

/* Appointment Cards Updated */
.appointment-card-modern {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.appointment-modern-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.appointment-modern-time {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange-dark);
  line-height: 1;
}

.appointment-modern-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.appointment-modern-details {
  display: grid;
  gap: 4px;
}

.appointment-modern-details strong {
  font-size: 16px;
}

.appointment-modern-details span {
  color: var(--muted);
  font-size: 13px;
}

.notification-card-modern {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.notification-card-modern.unread {
  border-color: rgba(255, 122, 0, 0.34);
  background: linear-gradient(180deg, #fff8ef, #fff);
}

.notification-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.notification-card-head strong {
  display: block;
  font-size: 15px;
}

.notification-card-head span:not(.pill) {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.notification-card-modern p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

/* Profile Tab */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 16px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--muted);
}

.profile-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.profile-header p {
  margin: 0;
  color: var(--muted);
}

.list-item-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.list-item-modern-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-item-modern-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-item-modern-text strong {
  display: block;
  font-size: 15px;
}

.list-item-modern-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
