/* ============================================================
   Be Enhanced Customer Portal — Design System
   Strict Black / White / Greyscale — Premium & Minimal
   ============================================================ */

:root {
  /* ── Palette ─────────────────────────────── */
  --bep-black: #000000;
  --bep-white: #ffffff;
  --bep-grey-50: #f9f9f9;
  --bep-grey-100: #f3f3f3;
  --bep-grey-200: #e8e8e8;
  --bep-grey-300: #d4d4d4;
  --bep-grey-400: #a3a3a3;
  --bep-grey-500: #737373;
  --bep-grey-600: #525252;
  --bep-grey-700: #404040;
  --bep-grey-800: #262626;
  --bep-grey-900: #171717;

  /* ── Semantic tokens ────────────────────── */
  --bep-bg: var(--bep-grey-50);
  --bep-surface: var(--bep-white);
  --bep-surface-alt: var(--bep-grey-100);
  --bep-border: var(--bep-grey-200);
  --bep-border-dark: var(--bep-grey-300);
  --bep-text: var(--bep-grey-900);
  --bep-text-muted: var(--bep-grey-500);
  --bep-text-subtle: var(--bep-grey-400);
  --bep-accent: var(--bep-black);
  --bep-accent-inv: var(--bep-white);

  /* ── Status colours (greyscale-accessible) ── */
  --bep-success: #1a6b3a;
  --bep-warning: #7a4d00;
  --bep-danger: #8b1a1a;
  --bep-info: #1a3a6b;

  /* ── Typography ─────────────────────────── */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;

  /* ── Spacing / Layout ───────────────────── */
  --bep-nav-h: 64px; /* bottom nav height on mobile */
  --bep-topbar-h: 56px;
  --bep-safe-bottom: env(safe-area-inset-bottom, 0px);
  --bep-page-px: 16px;

  /* ── Radii ───────────────────────────────── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* ── Shadows ─────────────────────────────── */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* ── Transitions ─────────────────────────── */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bep-bg);
  color: var(--bep-text);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
:focus-visible {
  outline: 2px solid var(--bep-black);
  outline-offset: 2px;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--bep-grey-300);
  border-radius: 2px;
}

/* ─── App Shell ─────────────────────────────────────────────── */
.bep-app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: var(--bep-bg);
}
.bep-main {
  flex: 1;
  padding-top: var(--bep-topbar-h);
  padding-bottom: calc(var(--bep-nav-h) + var(--bep-safe-bottom));
  overflow-y: auto;
}
.bep-page-content {
  padding: 16px var(--bep-page-px) 24px;
}

/* ─── Topbar ─────────────────────────────────────────────────── */
.bep-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--bep-topbar-h);
  background: var(--bep-black);
  color: var(--bep-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bep-topbar__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bep-white);
  text-decoration: none;
}
.bep-topbar__logo span {
  font-weight: 300;
}
.bep-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bep-topbar__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--bep-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 1rem;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-topbar__icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.bep-topbar__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: var(--bep-white);
  color: var(--bep-black);
  border-radius: var(--radius-pill);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bep-topbar__page-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Bottom Navigation ─────────────────────────────────────── */
.bep-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--bep-nav-h) + var(--bep-safe-bottom));
  padding-bottom: var(--bep-safe-bottom);
  background: var(--bep-black);
  display: flex;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}
.bep-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 6px;
  color: var(--bep-grey-500);
  text-decoration: none;
  gap: 4px;
  cursor: pointer;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  min-height: 56px;
}
.bep-nav-item:active {
  opacity: 0.7;
}
.bep-nav-item.active {
  color: var(--bep-white);
}
.bep-nav-item__icon {
  font-size: 1.25rem;
  line-height: 1;
  position: relative;
}
.bep-nav-item__label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bep-nav-item__dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: var(--bep-white);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bep-black);
}
/* Active indicator bar */
.bep-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--bep-white);
  border-radius: 0 0 2px 2px;
  transition: transform var(--transition-fast);
}
.bep-nav-item.active::before {
  transform: translateX(-50%) scaleX(1);
}

/* ─── Booking media tabs ────────────────────────────────────── */
.bep-media-card {
  padding: 0;
}
.bep-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--bep-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bep-tabs::-webkit-scrollbar {
  display: none;
}
.bep-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 14px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bep-text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}
.bep-tab i {
  font-size: 0.95rem;
}
.bep-tab:hover {
  color: var(--bep-text);
}
.bep-tab.active {
  color: var(--bep-text);
  border-bottom-color: var(--bep-accent);
}
.bep-tab__count {
  background: var(--bep-grey-100);
  color: var(--bep-text-muted);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  line-height: 1.4;
}
.bep-tab.active .bep-tab__count {
  background: var(--bep-black);
  color: var(--bep-white);
}
.bep-tab-panels {
  padding: 16px;
}
.bep-tab-panel {
  display: none;
}
.bep-tab-panel.active {
  display: block;
}
.bep-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bep-media-thumb {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--bep-border);
  background: var(--bep-surface-alt);
}
.bep-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}
.bep-media-thumb:hover img {
  transform: scale(1.05);
}
.bep-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bep-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bep-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--bep-text);
  background: var(--bep-surface-alt);
  transition: background var(--transition-fast);
}
.bep-file-row:hover {
  background: var(--bep-grey-100);
}
.bep-file-row i {
  color: var(--bep-text-muted);
}
.bep-file-row__name {
  flex: 1;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bep-file-row__open {
  font-size: 0.8rem;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.bep-card {
  background: var(--bep-surface);
  border: 1px solid var(--bep-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.bep-card--flush {
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.bep-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bep-border);
}
.bep-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bep-text);
}
.bep-card__body {
  padding: 16px;
}
.bep-card__link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bep-grey-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Section heading ────────────────────────────────────────── */
.bep-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bep-text-muted);
  margin: 0 0 10px;
}

/* ─── Welcome strip (dashboard) ──────────────────────────────── */
.bep-welcome {
  padding: 16px var(--bep-page-px) 12px;
  background: var(--bep-black);
  color: var(--bep-white);
  margin-top: -16px; /* bleeds under topbar padding */
}
.bep-welcome__subtitle {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.bep-welcome__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 2px 0 0;
  line-height: 1.2;
  color: var(--bep-white);
}

/* ─── Membership banner ──────────────────────────────────────── */
.bep-membership-banner {
  background: var(--bep-surface);
  border: 1px solid var(--bep-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bep-membership-banner__discount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--bep-text);
}
.bep-membership-banner__label {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  margin-top: 2px;
}
.bep-membership-banner__tier {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bep-info-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--bep-grey-100);
  border: 1px solid var(--bep-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--bep-grey-600);
  -webkit-tap-highlight-color: transparent;
}

/* ─── Tier Badges ────────────────────────────────────────────── */
.bep-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
}
.bep-tier-badge--basic {
  background: var(--bep-grey-100);
  color: var(--bep-grey-700);
  border-color: var(--bep-grey-300);
}
.bep-tier-badge--silver {
  background: #f0f0f0;
  color: #404040;
  border-color: #c0c0c0;
}
.bep-tier-badge--gold {
  background: #1a1a1a;
  color: #d4d4d4;
  border-color: #3a3a3a;
}
.bep-tier-badge--platinum {
  background: var(--bep-black);
  color: var(--bep-white);
  border-color: var(--bep-grey-700);
}

/* ─── Upcoming Bookings list ─────────────────────────────────── */
.bep-booking-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bep-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-booking-row:last-child {
  border-bottom: none;
}
.bep-booking-row:active {
  background: var(--bep-grey-50);
}
.bep-booking-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  background: var(--bep-grey-100);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bep-border);
}
.bep-booking-row__day {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bep-text);
}
.bep-booking-row__mon {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bep-text-muted);
}
.bep-booking-row__body {
  flex: 1;
  min-width: 0;
}
.bep-booking-row__name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--bep-text);
}
.bep-booking-row__sub {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  margin-top: 1px;
}
.bep-booking-row__arrow {
  color: var(--bep-grey-400);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ─── Status Badges ──────────────────────────────────────────── */
.bep-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}
.bep-status--pending {
  background: #f5f5f5;
  color: #525252;
  border-color: #d4d4d4;
}
.bep-status--confirmed {
  background: #f0f7f0;
  color: #1a6b3a;
  border-color: #b8dcc4;
}
.bep-status--in-progress {
  background: #f5f5f5;
  color: #262626;
  border-color: #d4d4d4;
}
.bep-status--closed {
  background: #f0f0f0;
  color: #525252;
  border-color: #c8c8c8;
}
.bep-status--cancelled {
  background: #f7f0f0;
  color: #8b1a1a;
  border-color: #dcc4c4;
}
.bep-status--no-show {
  background: #f2f2f2;
  color: #737373;
  border-color: #d0d0d0;
}
.bep-status--rescheduled {
  background: #f0f4f7;
  color: #1a3a6b;
  border-color: #b8c8dc;
}

/* ─── Quick Actions ──────────────────────────────────────────── */
.bep-quick-actions {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
}
.bep-quick-actions::-webkit-scrollbar {
  display: none;
}
.bep-quick-action {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--bep-surface);
  border: 1px solid var(--bep-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  color: var(--bep-text);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-quick-action:active {
  background: var(--bep-grey-100);
  transform: scale(0.97);
}
.bep-quick-action__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bep-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--bep-text);
}
.bep-quick-action__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ─── Treatment Group Carousel ───────────────────────────────── */
.bep-carousel-wrap {
  margin: 0 calc(-1 * var(--bep-page-px));
  padding: 4px var(--bep-page-px) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 12px;
}
.bep-carousel-wrap::-webkit-scrollbar {
  display: none;
}
.bep-carousel-item {
  flex: 0 0 140px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bep-border);
  cursor: pointer;
  background: var(--bep-surface);
  transition: transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-carousel-item:active {
  transform: scale(0.96);
}
.bep-carousel-item__img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: var(--bep-grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bep-grey-400);
}
.bep-carousel-item__label {
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bep-text);
  line-height: 1.3;
}

/* ─── Carousel Desktop Navigation ────────────────────────────── */
.bep-carousel-nav-wrap {
  position: relative;
}
/* Buttons hidden by default; JS adds --visible when window.innerWidth > 480 */
.bep-carousel-btn {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--bep-border);
  background: var(--bep-surface);
  color: var(--bep-text);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition:
    background var(--transition-fast),
    opacity var(--transition-fast);
  font-size: 0.85rem;
  padding: 0;
}
.bep-carousel-btn--visible {
  display: flex;
}
.bep-carousel-btn:hover {
  background: var(--bep-grey-100);
}
.bep-carousel-btn--prev {
  left: -14px;
}
.bep-carousel-btn--next {
  right: -14px;
}
.bep-carousel-btn[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ─── Content Cards (blog / FAQ) ─────────────────────────────── */
.bep-content-card {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bep-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bep-content-card:last-child {
  border-bottom: none;
}
.bep-content-card:active {
  background: var(--bep-grey-50);
}
.bep-content-card__thumb {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bep-grey-200);
  border: 1px solid var(--bep-border);
}
.bep-content-card__body {
  flex: 1;
  min-width: 0;
}
.bep-content-card__title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bep-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bep-content-card__meta {
  font-size: 0.68rem;
  color: var(--bep-text-muted);
  margin-top: 4px;
}

/* ─── Forms ──────────────────────────────────────────────────── */
.bep-form-group {
  margin-bottom: 20px;
}
.bep-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bep-grey-600);
  margin-bottom: 6px;
}
.bep-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bep-border-dark);
  border-radius: var(--radius-sm);
  background: var(--bep-surface);
  color: var(--bep-text);
  font-size: 0.9rem;
  font-family: var(--font-ui);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}
.bep-input:focus {
  outline: none;
  border-color: var(--bep-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.bep-input::placeholder {
  color: var(--bep-grey-400);
}
.bep-input.is-invalid {
  border-color: var(--bep-danger);
}
.bep-invalid-feedback {
  font-size: 0.72rem;
  color: var(--bep-danger);
  margin-top: 4px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-bep-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--bep-black);
  color: var(--bep-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.btn-bep-primary:hover {
  opacity: 0.85;
  color: var(--bep-white);
}
.btn-bep-primary:active {
  opacity: 0.7;
}
.btn-bep-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-bep-primary.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-bep-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: transparent;
  color: var(--bep-text);
  border: 1.5px solid var(--bep-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.btn-bep-secondary:hover {
  background: var(--bep-grey-100);
  color: var(--bep-text);
}
.btn-bep-secondary:active {
  opacity: 0.7;
}

.btn-bep-ghost {
  background: none;
  border: none;
  color: var(--bep-grey-600);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-ui);
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-tap-highlight-color: transparent;
}
.btn-bep-ghost:hover {
  color: var(--bep-text);
}

/* ─── Auth layout ────────────────────────────────────────────── */
.bep-auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bep-black);
}
.bep-auth-header {
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bep-auth-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--bep-white);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-decoration: none;
}
.bep-auth-logo span {
  font-weight: 300;
}
.bep-auth-tagline {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.bep-auth-card {
  flex: 1;
  background: var(--bep-white);
  border-radius: 24px 24px 0 0;
  padding: 28px 24px 40px;
  margin-top: 8px;
}
.bep-auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--bep-text);
}
.bep-auth-subtitle {
  font-size: 0.82rem;
  color: var(--bep-text-muted);
  margin: 0 0 24px;
}
.bep-auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--bep-text-muted);
}
.bep-auth-footer a {
  color: var(--bep-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bep-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--bep-grey-400);
  font-size: 0.72rem;
}
.bep-divider::before,
.bep-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bep-border);
}

/* ─── Modals ─────────────────────────────────────────────────── */
.bep-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.bep-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.bep-modal {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bep-white);
  border-radius: 20px 20px 0 0;
  max-height: 90dvh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--transition);
  padding-bottom: calc(24px + var(--bep-safe-bottom));
}
.bep-modal-backdrop.open .bep-modal {
  transform: translateY(0);
}
.bep-modal__drag {
  width: 40px;
  height: 4px;
  background: var(--bep-grey-300);
  border-radius: 2px;
  margin: 10px auto 4px;
}
.bep-modal__header {
  padding: 12px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bep-modal__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bep-text);
  margin: 0;
}
.bep-modal__close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--bep-grey-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--bep-grey-600);
  -webkit-tap-highlight-color: transparent;
}
.bep-modal__body {
  padding: 12px 20px 20px;
}

/* Session expiry modal (centred, not sheet) */
.bep-modal-backdrop.bep-modal-backdrop--centered {
  align-items: center;
  padding: 16px;
}
.bep-modal-backdrop.bep-modal-backdrop--centered .bep-modal {
  border-radius: var(--radius-lg);
  max-height: 80dvh;
  padding-bottom: 24px;
}

/* ─── Toasts ─────────────────────────────────────────────────── */
.bep-toast-container {
  position: fixed;
  top: calc(var(--bep-topbar-h) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.bep-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bep-grey-900);
  color: var(--bep-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  animation: bep-toast-in 0.25s ease forwards;
  pointer-events: auto;
}
.bep-toast--success {
  background: #1a3a24;
}
.bep-toast--error {
  background: #3a1a1a;
}
.bep-toast--warning {
  background: #3a2e1a;
}
@keyframes bep-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bep-toast-out {
  animation: bep-toast-out 0.2s ease forwards;
}
@keyframes bep-toast-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ─── Empty State ────────────────────────────────────────────── */
.bep-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  gap: 8px;
}
.bep-empty__icon {
  font-size: 2rem;
  color: var(--bep-grey-300);
  margin-bottom: 8px;
}
.bep-empty__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bep-text);
}
.bep-empty__text {
  font-size: 0.78rem;
  color: var(--bep-text-muted);
  line-height: 1.5;
}

/* ─── Loader ─────────────────────────────────────────────────── */
.bep-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--bep-grey-200);
  border-top-color: var(--bep-black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.bep-page-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

/* ─── Profile page ───────────────────────────────────────────── */
.bep-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--bep-grey-900);
  color: var(--bep-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  flex-shrink: 0;
}
.bep-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bep-border);
}
.bep-profile-row:last-child {
  border-bottom: none;
}
.bep-profile-row__label {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.bep-profile-row__value {
  font-size: 0.85rem;
  color: var(--bep-text);
  font-weight: 500;
}
.bep-profile-row__edit {
  font-size: 0.75rem;
  color: var(--bep-grey-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-ui);
}

/* ─── Booking detail page ─────────────────────────────────────── */
.bep-detail-header {
  padding: 20px 16px;
  border-bottom: 1px solid var(--bep-border);
}
.bep-detail-ref {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bep-text-muted);
  font-weight: 600;
}
.bep-detail-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--bep-text);
  margin: 4px 0 8px;
  line-height: 1.2;
}
.bep-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: var(--bep-text-muted);
}
.bep-detail-meta-row i {
  width: 16px;
  flex-shrink: 0;
}
.bep-detail-section {
  padding: 16px;
  border-bottom: 1px solid var(--bep-border);
}
.bep-detail-section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--bep-text-muted);
  margin-bottom: 8px;
}
.bep-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.82rem;
}
.bep-price-row--total {
  font-weight: 700;
  font-size: 0.9rem;
  padding-top: 10px;
  border-top: 1px solid var(--bep-border);
  margin-top: 4px;
}
.bep-price-row__discount {
  color: var(--bep-success);
}

/* ─── Booking flow steps ─────────────────────────────────────── */
.bep-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bep-steps::-webkit-scrollbar {
  display: none;
}
.bep-step-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bep-grey-300);
  flex-shrink: 0;
  transition:
    background var(--transition-fast),
    width var(--transition-fast);
}
.bep-step-dot.active {
  background: var(--bep-black);
  width: 20px;
}
.bep-step-dot.done {
  background: var(--bep-grey-500);
}

/* ─── Cart badge (bottom nav) ────────────────────────────────── */
.bep-cart-count {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  width: 16px;
  height: 16px;
  background: var(--bep-white);
  color: var(--bep-black);
  border-radius: var(--radius-pill);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bep-black);
}

/* ─── Contact menu items ─────────────────────────────────────── */
.bep-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--bep-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-contact-item:last-child {
  border-bottom: none;
}
.bep-contact-item:active {
  background: var(--bep-grey-50);
}
.bep-contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bep-grey-100);
  border: 1px solid var(--bep-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bep-text);
  flex-shrink: 0;
}
.bep-contact-item__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bep-text);
}
.bep-contact-item__sub {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  margin-top: 1px;
}
.bep-contact-item__arrow {
  margin-left: auto;
  color: var(--bep-grey-400);
  font-size: 0.75rem;
}

/* ─── Password input toggle ──────────────────────────────────── */
.bep-input-group {
  position: relative;
}
.bep-input-group .bep-input {
  padding-right: 44px;
}
.bep-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--bep-grey-500);
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
}

/* ─── Toggle switch ──────────────────────────────────────────── */
.bep-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.bep-toggle-row__label {
  font-size: 0.85rem;
  color: var(--bep-text);
  font-weight: 500;
}
.bep-toggle-row__sub {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  margin-top: 2px;
}
.bep-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.bep-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.bep-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--bep-grey-300);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.bep-toggle__slider::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--bep-white);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.bep-toggle input:checked + .bep-toggle__slider {
  background: var(--bep-black);
}
.bep-toggle input:checked + .bep-toggle__slider::after {
  transform: translateX(20px);
}

/* ─── Offline banner ─────────────────────────────────────────── */
.bep-offline-banner {
  display: none;
  background: var(--bep-grey-900);
  color: var(--bep-white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  position: fixed;
  bottom: calc(var(--bep-nav-h) + var(--bep-safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 200;
}
.bep-offline-banner.visible {
  display: block;
}

/* ─── PWA Install prompt ─────────────────────────────────────── */
.bep-install-banner {
  display: none;
  position: fixed;
  bottom: calc(var(--bep-nav-h) + var(--bep-safe-bottom) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: var(--bep-grey-900);
  color: var(--bep-white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  align-items: center;
  gap: 12px;
}
.bep-install-banner.visible {
  display: flex;
}
.bep-install-banner__text {
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.4;
}
.bep-install-banner__text strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

/* ─── Membership tier card (info modal) ──────────────────────── */
.bep-tier-card {
  border: 1px solid var(--bep-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}
.bep-tier-card--current {
  border-color: var(--bep-black);
  background: var(--bep-grey-50);
}
.bep-tier-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.bep-tier-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bep-text);
}
.bep-tier-card__discount {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.bep-tier-card__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bep-tier-card__benefits li {
  font-size: 0.75rem;
  color: var(--bep-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bep-tier-card__benefits li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bep-grey-400);
  flex-shrink: 0;
}

/* ─── Booking status box (top card on booking detail page) ───── */
.bep-status-box {
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1px solid;
}
.bep-status-box__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.bep-status-box__icon {
  font-size: 1.6rem;
  line-height: 1;
}
.bep-status-box__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.bep-status-box__message {
  font-size: 0.85rem;
  color: var(--bep-text);
  margin: 0 0 14px;
  line-height: 1.45;
}
.bep-status-box__meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bep-text);
  line-height: 1.6;
}
.bep-status-box--success {
  background: #cdeedb;
  border-color: #b8dcc4;
}
.bep-status-box--success .bep-status-box__icon,
.bep-status-box--success .bep-status-box__title {
  color: #1a6b3a;
}
.bep-status-box--info {
  background: #c9eef4;
  border-color: #a9dfe8;
}
.bep-status-box--info .bep-status-box__icon,
.bep-status-box--info .bep-status-box__title {
  color: #1187a0;
}
.bep-status-box--error {
  background: #f9d3da;
  border-color: #f0b9c3;
}
.bep-status-box--error .bep-status-box__icon,
.bep-status-box--error .bep-status-box__title {
  color: #c23956;
}
.bep-status-box--warning {
  background: #f7ecd0;
  border-color: #ecd9a8;
}
.bep-status-box--warning .bep-status-box__icon,
.bep-status-box--warning .bep-status-box__title {
  color: #7a4d00;
}

/* ─── Flash / Alert ──────────────────────────────────────────── */
.bep-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 16px;
  border: 1px solid;
}
.bep-alert--success {
  background: #f0f7f0;
  color: #1a6b3a;
  border-color: #b8dcc4;
}
.bep-alert--error {
  background: #f7f0f0;
  color: #8b1a1a;
  border-color: #dcc4c4;
}
.bep-alert--info {
  background: var(--bep-grey-100);
  color: var(--bep-grey-700);
  border-color: var(--bep-border-dark);
}
.bep-alert--warning {
  background: #f7f5f0;
  color: #7a4d00;
  border-color: #dcd0b8;
}
.bep-alert__close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 0.9rem;
  flex-shrink: 0;
  padding: 0;
}

/* ─── Date / time picker rows ────────────────────────────────── */
.bep-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bep-slot-btn {
  padding: 10px 6px;
  border: 1.5px solid var(--bep-border-dark);
  border-radius: var(--radius-sm);
  background: var(--bep-surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bep-text);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  font-family: var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}
.bep-slot-btn:active {
  transform: scale(0.96);
}
.bep-slot-btn.selected {
  background: var(--bep-black);
  color: var(--bep-white);
  border-color: var(--bep-black);
}
.bep-slot-btn.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ─── Inline loading state ───────────────────────────────────── */
.bep-skeleton {
  background: linear-gradient(
    90deg,
    var(--bep-grey-100) 25%,
    var(--bep-grey-200) 50%,
    var(--bep-grey-100) 75%
  );
  background-size: 200% 100%;
  animation: bep-shimmer 1.4s infinite;
  border-radius: var(--radius-xs);
}
@keyframes bep-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.bep-skeleton-text {
  height: 14px;
  margin-bottom: 6px;
  border-radius: var(--radius-xs);
}
.bep-skeleton-text:last-child {
  width: 60%;
}

/* ─── Desktop fallback ────────────────────────────────────────── */
@media (min-width: 481px) {
  .bep-app {
    border-left: 1px solid var(--bep-border);
    border-right: 1px solid var(--bep-border);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
  }
  .bep-topbar,
  .bep-bottom-nav {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ─── Booking flow progress bar ──────────────────────────────── */
.bep-booking-progress {
  display: flex;
  align-items: center;
  padding: 4px 0 16px;
}
.bep-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.bep-progress-step__dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bep-grey-300);
  background: var(--bep-white);
  color: var(--bep-grey-400);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.bep-progress-step__label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--bep-grey-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.bep-progress-step.active .bep-progress-step__dot {
  background: var(--bep-black);
  border-color: var(--bep-black);
  color: var(--bep-white);
}
.bep-progress-step.active .bep-progress-step__label {
  color: var(--bep-text);
}
.bep-progress-step.done .bep-progress-step__dot {
  background: var(--bep-grey-700);
  border-color: var(--bep-grey-700);
  color: var(--bep-white);
}
.bep-progress-step.done .bep-progress-step__dot::after {
  content: "✓";
  font-size: 0.7rem;
}
.bep-progress-step.done .bep-progress-step__dot {
  font-size: 0;
}
.bep-progress-step__line {
  flex: 1;
  height: 2px;
  background: var(--bep-grey-200);
  margin: 0 4px;
  margin-bottom: 20px;
  transition: background var(--transition-fast);
}
.bep-progress-step__line.done {
  background: var(--bep-grey-600);
}

/* ─── Treatment thumbnail ─────────────────────────────────────── */
.bep-treatment-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}
.bep-treatment-thumb-fallback {
  width: 40px;
  height: 40px;
  background: var(--bep-grey-100);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bep-grey-400);
}

/* ─── Treatment selection card ────────────────────────────────── */
.bep-treatment-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bep-border);
  transition: background var(--transition-fast);
}
.bep-treatment-row:last-child {
  border-bottom: none;
}
.bep-treatment-row__body {
  flex: 1;
  min-width: 0;
}
.bep-treatment-row__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bep-text);
  line-height: 1.3;
}
.bep-treatment-row__meta {
  font-size: 0.72rem;
  color: var(--bep-text-muted);
  margin-top: 2px;
}
.bep-treatment-row__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bep-text);
  white-space: nowrap;
}
.bep-treatment-row__add {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--bep-border-dark);
  background: var(--bep-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--bep-text);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.bep-treatment-row__add:hover {
  background: var(--bep-black);
  color: var(--bep-white);
  border-color: var(--bep-black);
}
.bep-treatment-row__add.added {
  background: var(--bep-black);
  color: var(--bep-white);
  border-color: var(--bep-black);
}

/* Isolated treatment badge */
.bep-isolated-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bep-grey-500);
  border: 1px solid var(--bep-grey-300);
  border-radius: var(--radius-pill);
  padding: 1px 6px;
  margin-top: 3px;
}

/* ─── Cart item in booking flow ────────────────────────────────── */
.bep-cart-treatment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--bep-border);
  font-size: 0.82rem;
}
.bep-cart-treatment-row:last-child {
  border-bottom: none;
}
.bep-cart-treatment-row__name {
  font-weight: 600;
}
.bep-cart-treatment-row__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bep-cart-treatment-row__price {
  font-weight: 700;
}
.bep-cart-treatment-row__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bep-grey-400);
  font-size: 0.9rem;
  padding: 2px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.bep-cart-treatment-row__remove:hover {
  color: var(--bep-danger);
}

.bep-contact-item {
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--bep-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.bep-contact-item:last-child {
  border-bottom: none;
}
.bep-contact-item:active {
  background: var(--bep-grey-50);
}

.bep-contact-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--bep-grey-100);
  border: none; /* remove the border entirely */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bep-text);
  flex-shrink: 0;
  overflow: hidden; /* clips the image neatly */
}

.bep-contact-item__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bep-text);
}
.bep-contact-item__sub {
  font-size: 0.73rem;
  color: var(--bep-text-muted);
  margin-top: 1px;
}
.bep-contact-item__arrow {
  margin-left: auto;
  color: var(--bep-grey-400);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── Card wrapper: no border-radius, no border, no shadow ─── */
/* Use this anywhere the list sits — replaces bep-card on group lists */
.bep-list-card {
  background: var(--bep-surface);
  border-top: 0.5px solid var(--bep-grey-200);
  border-bottom: 0.5px solid var(--bep-grey-200);
  border-radius: 0;
  padding: 0 var(--bep-page-px);
  margin: 0 calc(-1 * var(--bep-page-px)); /* bleed to page edges */
}

/* ── Treatment thumbnail inside the icon slot ─────────────── */
.bep-treatment-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.bep-treatment-thumb-fallback {
  width: 52px;
  height: 52px;
  background: var(--bep-grey-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bep-grey-400);
}

/* ─── Treatment category header (grouped list) ──────────────────── */
.bep-treatment-category-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bep-text-muted);
  padding: 10px 16px 4px;
  background: var(--bep-grey-50, #f8f8f8);
  border-bottom: 1px solid var(--bep-border);
}
.bep-treatment-category-header:first-child {
  border-top: none;
}

/* ─── Isolated treatment notice (inline) ────────────────────────── */
.bep-isolated-notice {
  font-size: 0.72rem;
  color: var(--bep-grey-500);
  margin-top: 4px;
}
.bep-treatment-row--isolated {
  background: var(--bep-grey-50, #fafafa);
}

/* ─── Deposit price label under full price ──────────────────────── */
.bep-treatment-price-block {
  text-align: right;
}
.bep-treatment-deposit {
  display: block;
  font-size: 0.7rem;
  color: var(--bep-text-muted);
  white-space: nowrap;
  margin-top: 1px;
}

/* ─── Cart row: name + full-price sub-label ─────────────────────── */
.bep-cart-treatment-row__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.bep-cart-treatment-row__full-price {
  font-size: 0.7rem;
  color: var(--bep-text-muted);
}

/* ─── Deposit info notice in cart ───────────────────────────────── */
.bep-cart-deposit-notice {
  font-size: 0.75rem;
  color: var(--bep-text-muted);
  padding: 8px 16px 10px;
  border-top: 1px solid var(--bep-border);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.4;
}

/* ─── Name row (name + recommended badge + info button) ─────── */
.bep-treatment-row__name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
/* Re-scope the name element inside the name row */
.bep-treatment-row__name-row .bep-treatment-row__name {
  margin-bottom: 0;
}

/* ─── Recommended badge ─────────────────────────────────────── */
.bep-recommended-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bep-recommended-badge .bi {
  font-size: 0.55rem;
  color: #d97706;
}

/* ─── Info (description) icon button ───────────────────────── */
.bep-treatment-info-btn {
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  color: var(--bep-grey-400);
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--transition-fast);
}
.bep-treatment-info-btn:hover {
  color: var(--bep-text);
}

/* ─── Model message note ────────────────────────────────────── */
.bep-treatment-model-msg {
  font-size: 0.72rem;
  color: var(--bep-grey-500);
  background: var(--bep-grey-50, #f8f8f8);
  border-left: 2px solid var(--bep-border-dark);
  border-radius: 0 4px 4px 0;
  padding: 4px 8px;
  margin-top: 5px;
  line-height: 1.4;
}

/* ─── Category accordion ─────────────────────────────────────── */
.bep-cat-accordion {
  border-bottom: 1px solid var(--bep-border);
}
.bep-cat-accordion:last-child {
  border-bottom: none;
}
.bep-cat-accordion__header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: var(--bep-grey-50, #f8f8f8);
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  transition: background var(--transition-fast);
}
.bep-cat-accordion__header:hover {
  background: var(--bep-grey-100, #f0f0f0);
}
.bep-cat-accordion__name {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bep-text-muted);
}
.bep-cat-accordion__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--bep-black);
  color: var(--bep-white);
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.bep-cat-accordion__badge.visible {
  opacity: 1;
  transform: scale(1);
}
.bep-cat-accordion__chevron {
  font-size: 0.7rem;
  color: var(--bep-grey-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
/* Collapsed state */
.bep-cat-accordion.collapsed .bep-cat-accordion__body {
  display: none;
}
.bep-cat-accordion.collapsed .bep-cat-accordion__chevron {
  transform: rotate(180deg);
}
/* Rows inside accordion body lose their bottom-border on the last child
   since the accordion wrapper itself draws a separator */
.bep-cat-accordion__body .bep-treatment-row:last-child {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════════
   Booking Menu Sheet — bottom-sheet nav launched from BOOKING tab
   ═══════════════════════════════════════════════════════════════ */

.bep-booking-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bep-booking-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bep-border);
  text-decoration: none;
  color: var(--bep-text);
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.bep-booking-menu-item:last-child {
  border-bottom: none;
}

.bep-booking-menu-item:active {
  opacity: 0.7;
}

.bep-booking-menu-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bep-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--bep-text);
  flex-shrink: 0;
}

.bep-booking-menu-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bep-booking-menu-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bep-text);
  line-height: 1.2;
}

.bep-booking-menu-item__sub {
  font-size: 0.73rem;
  color: var(--bep-text-muted);
  line-height: 1.3;
}

.bep-booking-menu-item__arrow {
  color: var(--bep-grey-400);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Two-tab bar — used on bookings/index.php
   ═══════════════════════════════════════════════════════════════ */

.bep-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--bep-border);
}

.bep-tab-bar__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bep-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.bep-tab-bar__tab.active {
  color: var(--bep-black);
  border-bottom-color: var(--bep-black);
}

.bep-tab-bar__tab:active {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   Treatment row — recommended label above name
   ═══════════════════════════════════════════════════════════════ */

.bep-treatment-row__recommended-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-bottom: 5px;
  width: fit-content;
}

.bep-treatment-row__recommended-label .bi {
  font-size: 0.55rem;
  color: #d97706;
}

/* Treatment row right-side layout */
.bep-treatment-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Branch summary country sub-text
   ═══════════════════════════════════════════════════════════════ */

.bep-branch-summary-country {
  font-size: 0.75rem;
  color: var(--bep-text-muted);
  font-weight: 400;
  margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   Branch-change warning sheet body text
   ═══════════════════════════════════════════════════════════════ */

.bep-sheet-warning-text {
  font-size: 0.88rem;
  color: var(--bep-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bep-sheet-warning-text .bi {
  color: var(--bep-warning);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   Cart count badge — always rendered, hidden when 0
   ═══════════════════════════════════════════════════════════════ */

.bep-cart-count {
  position: absolute;
  top: 6px;
  right: calc(50% - 14px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--bep-white);
  color: var(--bep-black);
  border-radius: var(--radius-pill);
  font-size: 0.58rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid var(--bep-black);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   Loyalty banner — group picker page
   ═══════════════════════════════════════════════════════════════ */

.bep-loyalty-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef9ec;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  line-height: 1.4;
}

.bep-loyalty-banner .bi {
  font-size: 1.1rem;
  color: #d97706;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Loyalty discount notice — step 4 confirm
   ═══════════════════════════════════════════════════════════════ */

.bep-loyalty-discount-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fef9ec;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  line-height: 1.4;
}

.bep-loyalty-discount-notice .bi {
  font-size: 1rem;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   Group count badge — shown on treatment group list items
   ═══════════════════════════════════════════════════════════════ */

.bep-group-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--bep-black);
  color: var(--bep-white);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   Payment option cards — step 4
   ═══════════════════════════════════════════════════════════════ */

.bep-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bep-payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--bep-border);
  border-radius: var(--radius-md);
  background: var(--bep-surface);
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.bep-payment-option:active {
  opacity: 0.85;
}

.bep-payment-option.selected {
  border-color: var(--bep-black);
  background: var(--bep-white);
}

/* Custom radio circle */
.bep-payment-option__radio {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--bep-grey-300);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.bep-payment-option.selected .bep-payment-option__radio {
  border-color: var(--bep-black);
  border-width: 5px;
}

.bep-payment-option__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bep-payment-option__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bep-text);
  line-height: 1.2;
}

.bep-payment-option__sub {
  font-size: 0.73rem;
  color: var(--bep-text-muted);
  line-height: 1.3;
}

.bep-payment-option__price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bep-text);
  flex-shrink: 0;
  white-space: nowrap;
}

.bep-payment-option__icon {
  font-size: 1.1rem;
  color: var(--bep-grey-400);
  flex-shrink: 0;
}

.bep-payment-option.selected .bep-payment-option__icon {
  color: var(--bep-text);
}

/* ═══════════════════════════════════════════════════════════════
   No-payment notice — shown when discount covers full price
   ═══════════════════════════════════════════════════════════════ */

.bep-no-payment-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #166534;
  line-height: 1.5;
}

.bep-no-payment-notice .bi {
  font-size: 1.1rem;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   Coupon remove button — inside the applied coupon success alert
   ═══════════════════════════════════════════════════════════════ */

.bep-alert--success {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bep-coupon-remove-btn {
  background: none;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.bep-coupon-remove-btn:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   Chat — WhatsApp-style support conversation
   ═══════════════════════════════════════════════════════════════ */

.bep-main--chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--bep-safe-bottom);
}

.bep-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bep-grey-50);
}

.bep-chat__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px var(--bep-page-px) 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bep-chat__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 0;
  color: var(--bep-text-muted);
  font-size: 0.78rem;
}
.bep-chat__loading .bep-spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.bep-chat__system-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bep-grey-100);
  color: var(--bep-text-muted);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin: 4px auto 14px;
  max-width: 92%;
}
.bep-chat__system-msg .bi {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bep-chat__day-divider {
  text-align: center;
  font-size: 0.68rem;
  color: var(--bep-text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 14px 0 10px;
}

/* ── Message row / bubble ─────────────────────────────────── */
.bep-chat__row {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  margin-bottom: 10px;
}
.bep-chat__row--out {
  align-self: flex-end;
  align-items: flex-end;
}
.bep-chat__row--in {
  align-self: flex-start;
  align-items: flex-start;
}

.bep-chat__author {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--bep-text-subtle);
  margin: 0 4px 3px;
}

.bep-chat__bubble {
  position: relative;
  padding: 9px 12px 8px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.42;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: var(--shadow-xs);
}
.bep-chat__row--out .bep-chat__bubble {
  background: var(--bep-black);
  color: var(--bep-white);
  border-bottom-right-radius: 4px;
}
.bep-chat__row--in .bep-chat__bubble {
  background: var(--bep-white);
  color: var(--bep-text);
  border: 1px solid var(--bep-border);
  border-bottom-left-radius: 4px;
}

.bep-chat__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 3px 4px 0;
  font-size: 0.64rem;
  color: var(--bep-text-subtle);
}
.bep-chat__row--out .bep-chat__meta {
  color: var(--bep-text-subtle);
}

.bep-chat__ticks {
  display: inline-flex;
  font-size: 0.78rem;
  line-height: 1;
}
.bep-chat__ticks--read {
  color: var(--bep-info);
}
.bep-chat__ticks--sent {
  color: var(--bep-text-subtle);
}
.bep-chat__ticks--pending {
  color: var(--bep-text-subtle);
  opacity: 0.6;
}

/* ── Composer ──────────────────────────────────────────────── */
.bep-chat__composer {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px var(--bep-page-px);
  background: var(--bep-white);
  border-top: 1px solid var(--bep-border);
}

.bep-chat__input {
  flex: 1;
  resize: none;
  max-height: 110px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--bep-border-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.3;
  background: var(--bep-grey-50);
  color: var(--bep-text);
}
.bep-chat__input:focus {
  outline: none;
  border-color: var(--bep-black);
  background: var(--bep-white);
}

.bep-chat__send-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bep-black);
  color: var(--bep-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}
.bep-chat__send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   intl-tel-input overrides — match portal input styling
   ═══════════════════════════════════════════════════════════════ */
.iti {
  width: 100%;
}
.iti input.bep-input {
  width: 100%;
}
.iti__country-list {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.bep-date-wrapper {
  position: relative;
}

.bep-date-placeholder {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
}

.bep-date-wrapper input:focus + .bep-date-placeholder,
.bep-date-wrapper input.has-value + .bep-date-placeholder {
  display: none;
}
