:root {
  --background-cream: #fff5e6;
  --warm-honey-glow: #ffe7b8;
  --amber-wash: #ffd17a;
  --soft-lavender-wash: #f6e5ff;
  --deep-plum: #241033;
  --clean-text: #1b1026;
  --royal-purple: #6d35ff;
  --lavender-accent: #b68cff;
  --honey-gold: #ffb72b;
  --ember-accent: #ff6b2c;
  --card-glass: rgba(255, 255, 255, 0.78);
  --border-glass: rgba(109, 53, 255, 0.17);
  --shadow-soft: 0 24px 80px rgba(36, 16, 51, 0.14);
  --shadow-card: 0 18px 46px rgba(36, 16, 51, 0.1);
  --shadow-button: 0 16px 36px rgba(255, 138, 31, 0.28);
  color: var(--clean-text);
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #fff5e6 0%, #f6e5ff 52%, #ffe7b8 100%);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 9% 7%, rgba(255, 183, 43, 0.42), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(182, 140, 255, 0.26), transparent 24rem),
    radial-gradient(circle at 94% 82%, rgba(255, 138, 31, 0.34), transparent 30rem),
    radial-gradient(circle at 8% 86%, rgba(255, 209, 122, 0.26), transparent 28rem),
    linear-gradient(135deg, #fff2d8 0%, #fff5e6 24%, #f6e5ff 56%, #ffe0a8 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(30deg, rgba(255, 183, 43, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 183, 43, 0.05) 87.5%, rgba(255, 183, 43, 0.05)),
    linear-gradient(150deg, rgba(109, 53, 255, 0.028) 12%, transparent 12.5%, transparent 87%, rgba(109, 53, 255, 0.028) 87.5%, rgba(109, 53, 255, 0.028));
  background-size: 72px 42px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.62) 52%, transparent 84%);
}

body::after {
  position: fixed;
  inset: auto -12rem -14rem auto;
  z-index: -1;
  width: min(46rem, 82vw);
  height: min(46rem, 82vw);
  pointer-events: none;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 183, 43, 0.34) 0%, rgba(255, 138, 31, 0.22) 34%, transparent 68%);
  filter: blur(12px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h2,
h3,
p {
  margin-top: 0;
}

h2,
h3 {
  color: var(--deep-plum);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

h3 {
  margin-bottom: 8px;
}

.page-shell {
  position: relative;
  width: min(1080px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.page-header {
  margin: 26px 0 20px;
}

.page-header h1,
.dashboard-header h1,
.login-card h1 {
  margin: 0;
  color: var(--deep-plum);
  font-size: clamp(2.1rem, 10vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.dashboard-header h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--royal-purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede,
.section-copy {
  margin: 0 0 18px;
  color: rgba(27, 16, 38, 0.72);
  font-size: 1.08rem;
  line-height: 1.65;
}

.lede {
  font-size: 1.15rem;
}

.muted {
  color: rgba(27, 16, 38, 0.62);
  line-height: 1.55;
}

.hero-orb {
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.38;
}

.hero-orb-one {
  top: 13%;
  left: -112px;
  background: linear-gradient(135deg, var(--honey-gold), var(--ember-accent));
}

.hero-orb-two {
  right: -105px;
  bottom: 18%;
  background: linear-gradient(135deg, var(--lavender-accent), var(--amber-wash));
  opacity: 0.3;
}

.glass-card,
.login-card {
  position: relative;
  margin: 16px 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 247, 231, 0.72)),
    var(--card-glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(132%);
}

.glass-card::after,
.login-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid var(--border-glass);
  border-radius: inherit;
}

.glass-card > *,
.login-card > * {
  position: relative;
  z-index: 1;
}

.brand-card {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 183, 43, 0.44), transparent 13rem),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 31, 0.26), transparent 14rem),
    linear-gradient(135deg, #5b25e0 0%, #7b43ff 48%, #b68cff 100%);
}

.brand-card h2,
.brand-card .muted,
.brand-card .section-copy {
  color: white;
}

.home-hero-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 230, 0.74)),
    rgba(255, 255, 255, 0.82);
}

.honeyglass-panel {
  border-color: rgba(255, 183, 43, 0.28);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 183, 43, 0.28), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 231, 184, 0.54) 54%, rgba(246, 229, 255, 0.48));
}

.flow-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.flow-signal {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(109, 53, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
}

.flow-signal strong {
  color: var(--deep-plum);
}

.flow-signal span {
  color: rgba(27, 16, 38, 0.64);
  line-height: 1.45;
}

.booking-hero-card {
  padding: clamp(22px, 5vw, 34px);
  box-shadow: 0 28px 80px rgba(65, 24, 153, 0.24);
}

.booking-hero-card h2 {
  color: white;
  font-size: clamp(1.8rem, 7vw, 3rem);
}

.brand-subtitle {
  max-width: 620px;
  margin: 4px 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.5;
}

.install-hint,
.demo-note {
  width: fit-content;
  margin: 0 0 12px;
  padding: 9px 12px;
  border: 1px solid rgba(109, 53, 255, 0.14);
  border-radius: 999px;
  color: rgba(27, 16, 38, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 28px rgba(36, 16, 51, 0.06);
}

.demo-note {
  color: rgba(36, 16, 51, 0.72);
  background: rgba(255, 231, 184, 0.58);
}

.booking-business,
.dashboard-header,
.appointment-head,
.nav-brand,
.command-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booking-business {
  justify-content: flex-start;
  align-items: flex-start;
}

.logo-mark,
.nav-sigil {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #ffb72b 0%, #ff8a1f 100%);
  box-shadow: 0 18px 45px rgba(255, 138, 31, 0.28);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: capitalize;
}

.badge-purple {
  color: white;
  background: var(--royal-purple);
}

.badge-gold,
.badge-accepted {
  color: #3b2100;
  background: linear-gradient(135deg, #ffdf8a, #ffb72b);
}

.badge-light {
  color: var(--deep-plum);
  background: rgba(255, 255, 255, 0.76);
}

.badge-plum {
  color: white;
  background: linear-gradient(135deg, #241033 0%, #6d35ff 100%);
}

.badge-pending {
  color: #381461;
  background: linear-gradient(135deg, rgba(182, 140, 255, 0.28), rgba(255, 183, 43, 0.5));
}

.badge-declined {
  color: white;
  background: rgba(36, 16, 51, 0.82);
}

.badge-canceled {
  color: white;
  background: linear-gradient(135deg, #ff6b2c, #b62358);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #371c00;
  background: linear-gradient(135deg, #ffb72b 0%, #ff8a1f 100%);
  box-shadow: var(--shadow-button);
}

.btn-secondary {
  color: white;
  background: linear-gradient(135deg, #6d35ff 0%, #b68cff 100%);
}

.btn-danger {
  color: white;
  background: linear-gradient(135deg, #ff6b2c, #a62253);
}

.btn-ghost {
  color: var(--deep-plum);
  background: rgba(255, 255, 255, 0.62);
}

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

.field-label {
  color: rgba(27, 16, 38, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.field-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(109, 53, 255, 0.18);
  border-radius: 16px;
  color: var(--clean-text);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.field-input:focus {
  border-color: rgba(109, 53, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(182, 140, 255, 0.18);
}

.form-grid,
.login-card {
  display: grid;
  gap: 16px;
}

.service-grid,
.slot-grid,
.metric-grid,
.service-list,
.appointment-list,
.next-action-grid {
  display: grid;
  gap: 14px;
}

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

.slot-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  margin-top: 16px;
}

.service-card,
.slot-button {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(109, 53, 255, 0.16);
  border-radius: 22px;
  cursor: pointer;
  color: var(--deep-plum);
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.slot-button {
  text-align: center;
}

.service-card.is-selected,
.slot-button.is-selected {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #6d35ff 0%, #b68cff 100%);
}

.service-card-title {
  font-weight: 900;
}

.service-card-meta,
.service-card-price,
.metric-caption {
  color: rgba(27, 16, 38, 0.58);
  font-size: 0.86rem;
}

.service-card.is-selected .service-card-meta,
.service-card.is-selected .service-card-price {
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  gap: 22px;
  padding: 18px;
}

.dashboard-nav {
  position: sticky;
  top: 18px;
  display: flex;
  height: calc(100vh - 36px);
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.nav-brand {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.nav-sigil {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-size: 0.8rem;
}

.nav-item {
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(27, 16, 38, 0.68);
  font-weight: 900;
}

.nav-item.is-active {
  color: white;
  background: linear-gradient(135deg, #6d35ff 0%, #b68cff 100%);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-stack {
  display: grid;
  gap: 16px;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
}

.metric-label {
  color: rgba(27, 16, 38, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-value {
  color: var(--deep-plum);
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  line-height: 1;
}

.command-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 183, 43, 0.32), transparent 13rem),
    radial-gradient(circle at 12% 100%, rgba(255, 138, 31, 0.14), transparent 15rem),
    rgba(255, 255, 255, 0.8);
}

.request-status-card {
  border-color: rgba(255, 183, 43, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 183, 43, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.84);
}

.demo-fallback-card {
  border-color: rgba(109, 53, 255, 0.2);
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 183, 43, 0.24), transparent 11rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 229, 255, 0.5));
}

.request-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.command-card-head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.next-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.action-tile {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(109, 53, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 231, 184, 0.5) 48%, rgba(246, 229, 255, 0.54));
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, border-color 160ms ease;
}

.action-tile:hover {
  border-color: rgba(109, 53, 255, 0.42);
  transform: translateY(-2px);
}

.action-tile strong {
  color: var(--deep-plum);
}

.action-tile span {
  color: rgba(27, 16, 38, 0.6);
  line-height: 1.45;
}

.appointment-card {
  border-left: 6px solid rgba(109, 53, 255, 0.32);
}

.appointment-card.status-pending {
  border-left-color: var(--royal-purple);
  background:
    linear-gradient(90deg, rgba(109, 53, 255, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.8);
}

.appointment-card.status-accepted {
  border-left-color: var(--honey-gold);
  background:
    linear-gradient(90deg, rgba(255, 183, 43, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.appointment-card.status-declined {
  border-left-color: rgba(36, 16, 51, 0.68);
  background: rgba(255, 255, 255, 0.66);
}

.appointment-card.status-canceled {
  border-left-color: var(--ember-accent);
  background:
    linear-gradient(90deg, rgba(255, 107, 44, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.78);
}

.appointment-head h3 {
  margin-bottom: 4px;
}

.appointment-email {
  margin: 0;
  color: rgba(27, 16, 38, 0.58);
  font-size: 0.92rem;
  font-weight: 700;
}

.appointment-service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
  padding: 13px 14px;
  border-radius: 18px;
  color: var(--deep-plum);
  background: rgba(255, 255, 255, 0.58);
}

.appointment-service-line span {
  color: rgba(27, 16, 38, 0.62);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 0;
}

.detail-grid dt {
  color: rgba(27, 16, 38, 0.54);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.intro-card {
  background:
    radial-gradient(circle at 95% 8%, rgba(255, 183, 43, 0.3), transparent 12rem),
    radial-gradient(circle at 8% 100%, rgba(255, 138, 31, 0.12), transparent 13rem),
    rgba(255, 255, 255, 0.8);
}

.premium-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.readonly-service-card,
.availability-card,
.profile-details-card,
.profile-upload-card {
  box-shadow: var(--shadow-card);
}

.service-card-top,
.availability-day,
.upload-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-kicker {
  margin: 0 0 6px;
  color: var(--royal-purple);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.time-window {
  display: inline-flex;
  margin: 8px 0 18px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #3b2100;
  background: linear-gradient(135deg, rgba(255, 223, 138, 0.78), rgba(255, 183, 43, 0.48));
}

.upload-panel {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.upload-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 20px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #6d35ff 0%, #b68cff 100%);
  box-shadow: 0 18px 45px rgba(109, 53, 255, 0.22);
}

.file-upload {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed rgba(109, 53, 255, 0.35);
  border-radius: 22px;
  color: rgba(27, 16, 38, 0.68);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.58);
}

.file-upload input {
  background: white;
}

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

.inline-status {
  min-height: 22px;
  color: rgba(36, 16, 51, 0.68);
  font-size: 0.88rem;
  font-weight: 800;
}

.inline-status.is-visible {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 231, 184, 0.6);
}

.policy-card,
.session-card {
  max-width: 760px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding-left: 20px;
  color: rgba(27, 16, 38, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 16px 0 0;
  color: rgba(36, 16, 51, 0.56);
  font-size: 0.88rem;
  font-weight: 900;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(109, 53, 255, 0.28);
  text-underline-offset: 4px;
}

.error-banner,
.success-banner,
.loading-state,
.empty-state {
  border-radius: 22px;
}

.error-banner,
.success-banner,
.loading-state {
  padding: 14px 16px;
  font-weight: 800;
}

.error-banner {
  color: #65120b;
  background: rgba(255, 107, 44, 0.16);
}

.success-banner {
  color: #382000;
  background: rgba(255, 183, 43, 0.28);
}

.loading-state {
  color: var(--deep-plum);
  background: rgba(255, 255, 255, 0.56);
}

.code-block {
  overflow: auto;
  padding: 16px;
  border-radius: 16px;
  background: rgba(36, 16, 51, 0.08);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 820px) {
  .page-shell {
    padding: 22px 12px 44px;
  }

  .page-header {
    margin-top: 14px;
  }

  .glass-card,
  .login-card {
    padding: 18px;
    border-radius: 24px;
  }

  .booking-business,
  .dashboard-header,
  .command-card-head,
  .request-status-head,
  .appointment-head,
  .service-card-top,
  .availability-day {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-business {
    gap: 14px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .dashboard-nav {
    position: sticky;
    z-index: 10;
    top: 8px;
    height: auto;
    flex-flow: row wrap;
    border-radius: 24px;
  }

  .nav-brand {
    width: 100%;
  }

  .nav-item {
    flex: 1 1 42%;
    text-align: center;
  }

  .dashboard-nav .btn {
    width: 100%;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .action-row .btn,
  .btn-primary,
  .btn-secondary,
  .btn-danger,
  .btn-ghost {
    width: 100%;
  }

  .service-grid,
  .flow-signal-grid,
  .metric-grid,
  .premium-list,
  .next-action-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
