/**
 * VBM Design System — registration.css
 *
 * Page layout styles for the member registration and checkout flow.
 * Covers the registration page wrapper, teammate slots, add-teammate
 * form, order summary, confirmation page, and info boxes.
 *
 * DEPENDENCIES: tokens.css, components.css must be loaded before this file.
 *
 * Sections:
 *   01. Registration Page       (.vbm-register)
 *   02. Sections Stack          (.vbm-register__sections)
 *   03. Teammate Slot           (.vbm-teammate)
 *   04. Add Teammate Form       (.vbm-add-teammate)
 *   05. Order Summary           (.vbm-order-summary)
 *   06. Confirmation Page       (.vbm-confirmation)
 *   07. Info Box                (.vbm-info-box)
 */


/* ==== 01. REGISTRATION PAGE ==== */

.vbm-register {
  background: var(--vbm-bg-deep);
  min-height: 100vh;
}

.vbm-register__header-subtitle {
  font-size: 12px;
  color: var(--vbm-text-secondary);
  margin-top: 1px;
}


/* ==== 02. SECTIONS STACK ==== */

.vbm-register__sections {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 100px;
}


/* ==== 03. TEAMMATE SLOT ==== */

.vbm-teammate {
  background: var(--vbm-bg-elevated);
  border-radius: var(--vbm-radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vbm-teammate__name {
  font-size: 14px;
  color: var(--vbm-text-primary);
}

.vbm-teammate__email {
  font-size: 12px;
  color: var(--vbm-text-muted);
}

.vbm-teammate__actions {
  display: flex;
  gap: 8px;
}

.vbm-teammate__remove {
  color: var(--vbm-text-muted);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Empty slot modifier */
.vbm-teammate--empty {
  border: 1px dashed var(--vbm-border-strong);
  background: transparent;
}

.vbm-teammate__empty-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--vbm-radius-full);
  background: rgba(148, 163, 184, 0.06);
  flex-shrink: 0;
}


/* ==== 04. ADD TEAMMATE FORM ==== */

.vbm-add-teammate {
  background: var(--vbm-surface-alt);
  border-radius: var(--vbm-radius-md);
  padding: 14px;
}

.vbm-add-teammate__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--vbm-text-primary);
  margin-bottom: 10px;
}

.vbm-add-teammate .vbm-input {
  margin-bottom: 8px;
}


/* ==== 05. ORDER SUMMARY ==== */

.vbm-order-summary {
  background: var(--vbm-surface-alt);
  border-radius: var(--vbm-radius-md);
  padding: 14px;
}

.vbm-order-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--vbm-border);
}

.vbm-order-summary__row:last-child {
  border-bottom: none;
}

.vbm-order-summary__label {
  font-size: 13px;
  color: var(--vbm-text-secondary);
}

.vbm-order-summary__value {
  font-size: 13px;
  color: var(--vbm-text-primary);
}

.vbm-order-summary__row--total {
  padding-top: 10px;
  margin-top: 4px;
}

.vbm-order-summary__row--total .vbm-order-summary__label,
.vbm-order-summary__row--total .vbm-order-summary__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--vbm-text-primary);
}


/* ==== 06. CONFIRMATION PAGE ==== */

.vbm-confirmation {
  text-align: center;
  padding: 40px 24px;
}

.vbm-confirmation__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--vbm-radius-full);
  background: var(--vbm-success-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.vbm-confirmation__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--vbm-text-primary);
  margin-bottom: 6px;
}

.vbm-confirmation__subtitle {
  font-size: 14px;
  color: var(--vbm-text-secondary);
  margin-bottom: 24px;
}

.vbm-confirmation__details {
  background: var(--vbm-bg-surface);
  border-radius: var(--vbm-radius-lg);
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
}

.vbm-confirmation__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ==== 07. INFO BOX ==== */

.vbm-info-box {
  background: rgba(56, 189, 248, 0.08);
  border-radius: var(--vbm-radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--vbm-text-secondary);
}
