/* BMG Client Booking Page Styles */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #16a34a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px;
}

.brand-header {
  text-align: center;
  margin-bottom: 32px;
}

.brand-header h1 {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.brand-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.greeting {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.intro-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

/* Domain table */
.domain-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 24px;
}

.domain-card h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

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

.domain-table th,
.domain-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.domain-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Slot picker */
.slot-picker {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 24px;
}

.slot-picker h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

.slot-day-group {
  margin-bottom: 20px;
}

.slot-day-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

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

.slot-option {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.15s;
}

.slot-option:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

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

/* Confirm button */
.confirm-section {
  text-align: center;
  margin-top: 24px;
}

.btn-confirm {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.btn-confirm:hover {
  background: var(--primary-hover);
}

.btn-confirm:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* Confirmation page */
.confirmation-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 40px;
  text-align: center;
}

.confirmation-card .check-icon {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--success);
}

.confirmation-card h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.confirmation-card .booked-time {
  background: #eff6ff;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

/* Error/info states */
.message-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 60px auto;
}

.message-card h1 {
  font-size: 20px;
  margin-bottom: 12px;
}

.message-card p {
  color: var(--text-muted);
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }

/* Responsive */
@media (max-width: 480px) {
  .booking-container { padding: 16px 12px; }
  .slot-option { padding: 10px 12px; font-size: 13px; }
  .domain-table th, .domain-table td { padding: 8px; font-size: 13px; }
}
