*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-400: #a0a0a0;
  --gray-600: #6b6b6b;
  --gray-800: #2d2d2d;
  --accent: #c9a96e;
  --accent-dark: #a8884f;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100%;
  width: 100%;
}

.app-container {
  min-height: 100dvh;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--white);
  overflow-x: hidden;
}

/* ===== WELCOME ===== */
.welcome-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}

.welcome-screen.dark { background: var(--black); }
.welcome-screen.light { background: var(--white); }

.welcome-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0);
  background-size: 32px 32px;
}

.welcome-logo {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 1;
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.welcome-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-top: 16px;
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.welcome-color-toggle {
  position: absolute;
  top: 48px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.toggle-btn:active { transform: scale(0.92); }

.toggle-btn.dark-btn {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.toggle-btn.light-btn {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

.toggle-btn.active {
  box-shadow: 0 0 0 3px var(--accent);
}

.welcome-enter-btn {
  margin-top: 64px;
  padding: 16px 48px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.welcome-enter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white) !important;
}

.welcome-enter-btn:active { transform: scale(0.97); }

.welcome-choice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 24px;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.2em;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.welcome-choice-btn:active { transform: scale(0.97); }

/* ===== LOGIN ===== */
.login-screen {
  min-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.login-header {
  padding: 60px 32px 32px;
  background: var(--black);
  color: var(--white);
}

.login-logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

.login-body {
  flex: 1;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
}

.login-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.login-input {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--black);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.login-input:focus {
  border-color: var(--black);
  background: var(--white);
}

.login-input::placeholder { color: var(--gray-300); }

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 24px;
}

.btn-primary:hover { background: var(--gray-800); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { background: var(--gray-300); cursor: not-allowed; }

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 12px;
}

.btn-outline:hover { border-color: var(--black); }
.btn-outline:active { transform: scale(0.98); }

.btn-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gold:hover { background: var(--accent-dark); }
.btn-gold:active { transform: scale(0.98); }

/* ===== SERVICE SELECT ===== */
.service-screen {
  min-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.service-header {
  padding: 56px 24px 24px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--gray-100);
}

.service-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.2em;
}

.greeting {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.home-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.home-btn:hover { background: var(--gray-200); }
.home-btn:active { transform: scale(0.93); }

.service-cards {
  flex: 1;
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-section-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 8px;
  margin-bottom: 4px;
}

.service-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.service-card:hover { transform: scale(1.01); box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
.service-card:active { transform: scale(0.98); }

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.service-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.service-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.service-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 56px 24px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s;
}

.back-btn:hover { background: var(--gray-200); }
.back-btn:active { transform: scale(0.93); }

.page-header-content { flex: 1; }

.page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--black);
  line-height: 1.1;
}

.page-subtitle {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ===== CALENDAR ===== */
.calendar-section {
  padding: 24px 16px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 8px;
  margin-bottom: 16px;
}

.calendar-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--gray-100);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.cal-nav-btn:hover { background: var(--gray-100); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}

.cal-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  padding: 4px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  color: var(--black);
}

.cal-day:hover:not(:disabled):not(.cal-day-empty) {
  background: var(--gray-200);
}

.cal-day.today {
  font-weight: 600;
  color: var(--accent);
}

.cal-day.selected {
  background: var(--black) !important;
  color: var(--white) !important;
  font-weight: 500;
}

.cal-day.selected.today {
  background: var(--accent) !important;
  color: var(--white) !important;
}

.cal-day:disabled {
  color: var(--gray-300);
  cursor: not-allowed;
}

.cal-day.cal-day-empty {
  cursor: default;
}

.cal-day.has-slots {
  position: relative;
}

.cal-day.has-slots::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== DRUM PICKER ===== */
.drum-picker-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.drum-picker-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none;
  z-index: 2;
}

.drum-picker-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
  z-index: 2;
}

.drum-picker-highlight {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 44px;
  transform: translateY(-50%);
  background: transparent;
  border-top: 1.5px solid var(--gray-300);
  border-bottom: 1.5px solid var(--gray-300);
  pointer-events: none;
  z-index: 3;
  border-radius: 0;
}

.drum-picker-scroll {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 0;
}

.drum-picker-scroll::-webkit-scrollbar { display: none; }

.drum-picker-padding { height: 88px; }

.drum-picker-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.drum-picker-item-selected {
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* ===== TIME PICKER SECTION ===== */
.time-picker-section {
  padding: 24px 16px 0;
}

.time-pickers-row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 16px;
}

.time-picker-col {
  flex: 1;
}

.time-picker-label {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.time-colon {
  font-size: 28px;
  font-weight: 200;
  color: var(--gray-300);
  padding-bottom: 0;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 20px;
}

/* ===== SLOT CHIPS ===== */
.slots-section {
  padding: 20px 16px 0;
}

.slots-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.slot-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.slot-chip-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.slot-chip-time {
  font-size: 13px;
  color: var(--gray-600);
}

.slot-chip-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-600);
  flex-shrink: 0;
  transition: background 0.15s;
}

.slot-chip-remove:hover { background: #ffcccc; color: #cc0000; }

.add-slot-btn {
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
  margin-top: 12px;
}

.add-slot-btn:hover { background: var(--gray-800); }
.add-slot-btn:active { transform: scale(0.98); }

/* ===== MEAL SUPPORT ===== */
.meal-screen {
  min-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.meal-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.meal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.meal-hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
}

.meal-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.plans-section {
  padding: 24px 16px;
  flex: 1;
}

.plan-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: relative;
}

.plan-card:hover { border-color: var(--black); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.plan-card.selected { border-color: var(--black); background: var(--black); }

.plan-card-left { flex: 1; }

.plan-duration {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--black);
  transition: color 0.2s;
}

.plan-card.selected .plan-duration { color: var(--white); }

.plan-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--white);
  margin-left: 8px;
  vertical-align: middle;
}

.plan-saving {
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 500;
  transition: color 0.2s;
}

.plan-card.selected .plan-saving { color: rgba(201,169,110,0.9); }

.plan-price-block { text-align: right; }

.plan-price {
  font-size: 22px;
  font-weight: 300;
  color: var(--black);
  line-height: 1;
  transition: color 0.2s;
}

.plan-card.selected .plan-price { color: var(--white); }

.plan-price-unit {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  transition: color 0.2s;
}

.plan-card.selected .plan-price-unit { color: rgba(255,255,255,0.6); }

.plan-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: white;
}

.plan-set-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--accent);
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fef9f2, #fdf5e8);
  position: relative;
}

.plan-set-card:hover { box-shadow: 0 4px 16px rgba(201,169,110,0.25); }
.plan-set-card.selected { background: var(--accent); border-color: var(--accent); }
.plan-set-card.selected .plan-duration { color: var(--white); }
.plan-set-card.selected .plan-price { color: var(--white); }
.plan-set-card.selected .plan-price-unit { color: rgba(255,255,255,0.7); }

.plan-set-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.plan-set-card.selected .plan-set-label { color: rgba(255,255,255,0.7); }

/* ===== CONFIRM PAGE ===== */
.confirm-screen {
  min-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.confirm-body {
  flex: 1;
  padding: 24px 16px 32px;
}

.confirm-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  margin-bottom: 16px;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.confirm-row:last-child { border-bottom: none; }

.confirm-key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.confirm-val {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  text-align: right;
  max-width: 60%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.status-pending { background: #fff8e6; color: #c49a00; border: 1px solid #f0d070; }
.status-confirmed { background: #e6f7e6; color: #1a7a1a; border: 1px solid #7dc87d; }

/* ===== TRAINER ===== */
.trainer-screen {
  min-height: 100dvh;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
}

.trainer-topbar {
  padding: 56px 24px 20px;
  background: var(--black);
  color: var(--white);
}

.trainer-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trainer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.2em;
}

.trainer-name-badge {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  text-transform: uppercase;
}

.trainer-tabs {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 16px;
}

.trainer-tab {
  flex: 1;
  padding: 16px 8px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--gray-400);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}

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

.trainer-body {
  flex: 1;
  padding: 20px 16px 32px;
  overflow-y: auto;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-100);
}

.booking-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-customer {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
}

.booking-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.type-pt { background: #e8f0fe; color: #1a56db; }
.type-meal { background: #fef3e2; color: #c47a0e; }

.booking-detail {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-slots-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-slot-item {
  font-size: 12px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-slot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-400);
}

.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state-text { font-size: 14px; font-weight: 300; }

/* ===== AVAILABILITY BLOCK ===== */
.avail-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.avail-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.avail-block-date {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}

.remove-block-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-600);
  transition: background 0.15s;
}

.remove-block-btn:hover { background: #ffcccc; color: #cc0000; }

.time-blocks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.time-block-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.time-block-text {
  flex: 1;
  font-size: 14px;
  color: var(--black);
}

.time-block-remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.time-block-remove:hover { background: #ffcccc; color: #cc0000; }

.add-time-block-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.add-time-block-btn:hover { border-color: var(--black); color: var(--black); }

/* ===== TIME BLOCK MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.modal-sheet {
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 48px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-300);
  margin: 0 auto 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.modal-pickers-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}

.modal-picker-col {
  flex: 1;
}

.modal-picker-label {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.modal-colon {
  font-size: 24px;
  font-weight: 200;
  color: var(--gray-300);
  margin-top: 16px;
  flex-shrink: 0;
}

/* ===== MISC ===== */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0;
}

.success-screen {
  min-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

.footer-padding { padding-bottom: 32px; }

.page-scroll {
  overflow-y: auto;
  flex: 1;
}

/* Trainer login */
.trainer-login-screen {
  min-height: 100dvh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.trainer-login-logo {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--white);
  margin-bottom: 8px;
}

.trainer-login-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 48px;
}

.trainer-login-form {
  width: 100%;
  max-width: 320px;
}

.trainer-input-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  display: block;
}

.trainer-input {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.trainer-input:focus { border-color: rgba(255,255,255,0.5); }
.trainer-input::placeholder { color: rgba(255,255,255,0.25); }

.trainer-login-btn {
  width: 100%;
  padding: 18px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.05em;
}

.trainer-login-btn:hover { background: var(--gray-100); }
.trainer-login-btn:active { transform: scale(0.98); }

.trainer-back-link {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  letter-spacing: 0.1em;
  text-align: center;
  background: transparent;
  border: none;
}

.trainer-back-link:hover { color: rgba(255,255,255,0.7); }

.error-msg {
  font-size: 12px;
  color: #ff4d4d;
  margin-top: -8px;
  margin-bottom: 16px;
  text-align: center;
}

.pt-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 24px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 10;
}

.pt-scroll-body {
  overflow-y: auto;
  flex: 1;
  padding-bottom: 32px;
}

.confirm-next-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
