/**
 * VBM Design System — components.css
 *
 * Shared UI components for the mobile-first VBM interface.
 * Contains all 17 reusable building blocks used across public org,
 * registration, and member portal pages.
 *
 * DEPENDENCY: tokens.css must be loaded before this file.
 *
 * Components:
 *   01. Base Reset
 *   02. Event Card         (.vbm-event-card)
 *   03. Status Badge       (.vbm-badge)
 *   04. Match Card         (.vbm-match-card)
 *   05. Sticky CTA Bar     (.vbm-sticky-cta)
 *   06. Filter Pills       (.vbm-pills / .vbm-pill)
 *   07. Pill Tabs          (.vbm-tabs / .vbm-tab)
 *   08. Collapsible Section(.vbm-collapse)
 *   09. Bottom Tab Bar     (.vbm-bottom-nav)
 *   10. Section Header     (.vbm-section-header)
 *   11. Info Row           (.vbm-info-row)
 *   12. Generic Card       (.vbm-card)
 *   13. Button             (.vbm-btn)
 *   14. Form Inputs        (.vbm-input)
 *   15. Progress Bar       (.vbm-progress)
 *   16. Avatar             (.vbm-avatar)
 *   17. Menu List          (.vbm-menu)
 */


/* ==== 01. BASE RESET ==== */

[class^="vbm-"],
[class*=" vbm-"] {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--vbm-font);
}


/* ==== 02. EVENT CARD ==== */

.vbm-event-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--vbm-bg-elevated);
  border-radius: var(--vbm-radius-lg);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: background var(--vbm-transition-fast);
}

.vbm-event-card:active {
  background: color-mix(in srgb, var(--vbm-bg-elevated) 80%, #000 20%);
}

.vbm-event-card--dimmed {
  opacity: 0.7;
}

.vbm-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  flex-shrink: 0;
}

.vbm-event-card__month {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--vbm-text-secondary);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.vbm-event-card__day {
  font-size: 22px;
  font-weight: 700;
  color: var(--vbm-text-primary);
  line-height: 1.1;
}

.vbm-event-card__content {
  flex: 1;
  min-width: 0;
}

.vbm-event-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--vbm-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.vbm-event-card__meta {
  font-size: 13px;
  color: var(--vbm-text-secondary);
  margin-bottom: 4px;
}

.vbm-event-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vbm-event-card__chevron {
  font-size: 16px;
  color: #475569;
  flex-shrink: 0;
}


/* ==== 03. STATUS BADGE ==== */

.vbm-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--vbm-radius-sm);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.vbm-badge--open {
  background: var(--vbm-success-bg);
  color: var(--vbm-success);
}

.vbm-badge--filling {
  background: var(--vbm-warning-bg);
  color: var(--vbm-warning);
}

.vbm-badge--full {
  background: var(--vbm-danger-bg);
  color: var(--vbm-danger);
}

.vbm-badge--league {
  background: var(--vbm-league-bg);
  color: var(--vbm-league);
}

.vbm-badge--training {
  background: var(--vbm-info-bg);
  color: var(--vbm-info);
}

.vbm-badge--closed {
  background: rgba(100, 116, 139, 0.15);
  color: var(--vbm-text-muted);
}

.vbm-badge--tournament {
  background: var(--vbm-league-bg);
  color: var(--vbm-league);
}

.vbm-badge--current {
  background: var(--vbm-info-bg);
  color: var(--vbm-info);
}


/* ==== 04. MATCH CARD ==== */

.vbm-match-card {
  background: var(--vbm-bg-surface);
  border-radius: var(--vbm-radius-md);
  padding: 12px;
}

.vbm-match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vbm-match-card__location {
  font-size: 12px;
  color: var(--vbm-text-secondary);
}

.vbm-match-card__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.vbm-match-card__team-name {
  font-size: 14px;
  color: var(--vbm-text-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vbm-match-card__score {
  font-size: 16px;
  font-weight: 700;
  color: var(--vbm-text-muted);
  flex-shrink: 0;
  margin-left: 8px;
}

/* Winner state */
.vbm-match-card__team--winner .vbm-match-card__team-name {
  color: var(--vbm-text-primary);
}

.vbm-match-card__team--winner .vbm-match-card__score {
  color: var(--vbm-success);
}

/* Loser state */
.vbm-match-card__team--loser .vbm-match-card__team-name {
  color: var(--vbm-text-secondary);
}

.vbm-match-card__team--loser .vbm-match-card__score {
  color: var(--vbm-text-muted);
}

/* Pending state — show dashes */
.vbm-match-card__team--pending .vbm-match-card__score::before {
  content: '—';
}

.vbm-match-card__team--pending .vbm-match-card__score {
  font-size: 14px;
  color: var(--vbm-text-muted);
}


/* ==== 05. STICKY CTA BAR ==== */

.vbm-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--vbm-z-sticky-cta);
  background: var(--vbm-bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--vbm-border);
  padding: 12px 16px 24px;
}

/* Push up when bottom nav is present */
.vbm-has-bottom-nav .vbm-sticky-cta {
  bottom: var(--vbm-bottom-nav-height);
  padding-bottom: 12px;
}

.vbm-sticky-cta__btn {
  display: block;
  width: 100%;
  min-height: 44px;
  border-radius: var(--vbm-radius-md);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 44px;
  padding: 0 16px;
  transition: opacity var(--vbm-transition-fast);
}

.vbm-sticky-cta__btn--register {
  background: var(--vbm-primary);
  color: var(--vbm-primary-text);
}

.vbm-sticky-cta__btn--pay {
  background: #22c55e;
  color: #052e16;
}

.vbm-sticky-cta__btn--waitlist {
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-muted);
}

.vbm-sticky-cta__btn--closed {
  background: var(--vbm-bg-elevated);
  color: var(--vbm-danger);
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.vbm-sticky-cta__btn--disabled {
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-secondary);
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==== 06. FILTER PILLS ==== */

.vbm-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  justify-content: center;
}

.vbm-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--vbm-radius-pill);
  font-size: 12px;
  font-weight: 400;
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-secondary);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--vbm-transition-fast), color var(--vbm-transition-fast);
  flex-shrink: 0;
}

.vbm-pill.is-active {
  background: var(--vbm-primary);
  color: var(--vbm-primary-text);
  font-weight: 600;
}

.vbm-pill__icon {
  font-size: 16px;
  line-height: 1;
}

.vbm-pill__label {
  display: none;
}

@media (min-width: 768px) {
  .vbm-pill__icon {
    margin-right: 4px;
    font-size: 14px;
  }
  .vbm-pill__label {
    display: inline;
  }
}


/* ==== 07. PILL TABS ==== */

.vbm-tabs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vbm-tabs::-webkit-scrollbar {
  display: none;
}

.vbm-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vbm-text-primary);
  border: 2px solid var(--vbm-text-muted);
  border-radius: var(--vbm-radius-pill);
  background: var(--vbm-bg-elevated);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--vbm-transition-fast), background var(--vbm-transition-fast), border-color var(--vbm-transition-fast);
}

.vbm-tab:hover {
  color: var(--vbm-primary);
  border-color: var(--vbm-primary);
  background: color-mix(in srgb, var(--vbm-primary) 10%, var(--vbm-bg-elevated));
}

.vbm-tab.is-active {
  color: #fff;
  font-weight: 700;
  background: var(--vbm-primary);
  border-color: var(--vbm-primary);
}


/* ==== 08. COLLAPSIBLE SECTION ==== */

.vbm-collapse {
  background: var(--vbm-bg-surface);
  border-radius: var(--vbm-radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--vbm-transition-fast), opacity var(--vbm-transition-fast);
}

.vbm-collapse--completed {
  border-color: rgba(74, 222, 128, 0.2);
}

.vbm-collapse--active {
  border-color: rgba(56, 189, 248, 0.2);
}

.vbm-collapse--locked {
  opacity: 0.5;
  pointer-events: none;
}

.vbm-collapse__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  min-height: 44px;
  cursor: pointer;
  user-select: none;
}

.vbm-collapse__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--vbm-radius-full);
  flex-shrink: 0;
}

.vbm-collapse__icon--number {
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.vbm-collapse--active .vbm-collapse__icon--number {
  background: var(--vbm-info-bg);
  color: var(--vbm-info);
}

.vbm-collapse__icon--check {
  background: var(--vbm-success-bg);
  color: var(--vbm-success);
  font-size: 13px;
}

.vbm-collapse__header-text {
  flex: 1;
  min-width: 0;
}

.vbm-collapse__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--vbm-text-primary);
}

.vbm-collapse__summary {
  font-size: 12px;
  color: var(--vbm-text-muted);
  margin-top: 1px;
}

.vbm-collapse__edit {
  font-size: 12px;
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-secondary);
  border: none;
  border-radius: var(--vbm-radius-sm);
  padding: 4px 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.vbm-collapse__body {
  padding: 0 16px 16px;
}


/* ==== 09. BOTTOM TAB BAR ==== */

.vbm-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--vbm-z-bottom-nav);
  background: #0f172a;
  border-top: 1px solid var(--vbm-border);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 8px 0 24px;
}

.vbm-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  color: var(--vbm-text-secondary);
  text-decoration: none;
  gap: 2px;
}

.vbm-bottom-nav__item.is-active {
  color: var(--vbm-primary);
}

.vbm-bottom-nav__item.is-active .vbm-bottom-nav__label {
  font-weight: 600;
}

.vbm-bottom-nav__icon {
  font-size: 22px;
  line-height: 1;
}

.vbm-bottom-nav__label {
  font-size: 10px;
  line-height: 1.2;
}


/* ==== 10. SECTION HEADER ==== */

.vbm-section-header {
  font-size: 11px;
  color: var(--vbm-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 4px 4px;
}


/* ==== 11. INFO ROW ==== */

.vbm-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--vbm-text-secondary);
  font-size: 13px;
}

.vbm-info-row__icon {
  font-size: 14px;
  color: var(--vbm-text-muted);
  flex-shrink: 0;
  line-height: 1.4;
}


/* ==== 12. GENERIC CARD ==== */

.vbm-card {
  background: var(--vbm-bg-surface);
  border-radius: var(--vbm-radius-lg);
  padding: 14px;
}

.vbm-card--elevated {
  background: var(--vbm-bg-elevated);
}

.vbm-card__label {
  font-size: 11px;
  color: var(--vbm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}


/* ==== 13. BUTTON ==== */

.vbm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--vbm-radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--vbm-transition-fast);
  line-height: 1;
}

.vbm-btn:active {
  opacity: 0.85;
}

.vbm-btn--primary {
  background: var(--vbm-primary);
  color: var(--vbm-primary-text);
}

.vbm-btn--secondary {
  background: var(--vbm-bg-elevated);
  color: var(--vbm-text-primary);
}

.vbm-btn--outline {
  background: transparent;
  border: 1px solid var(--vbm-primary);
  color: var(--vbm-primary);
}

.vbm-btn--danger {
  background: var(--vbm-danger-bg);
  color: var(--vbm-danger);
  border: 1px solid var(--vbm-danger);
}

.vbm-btn--block {
  display: flex;
  width: 100%;
}


/* ==== 14. FORM INPUTS ==== */

.vbm-input {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--vbm-bg-surface);
  border: 1px solid var(--vbm-border-strong);
  border-radius: var(--vbm-radius-md);
  color: var(--vbm-text-primary);
  font-size: 16px; /* 16px prevents iOS auto-zoom */
  font-family: var(--vbm-font);
  min-height: 44px;
  outline: none;
  transition: border-color var(--vbm-transition-fast);
}

.vbm-input::placeholder {
  color: var(--vbm-text-muted);
}

.vbm-input:focus {
  border-color: var(--vbm-primary);
}

.vbm-input--error {
  border-color: var(--vbm-danger);
}


/* ==== 15. PROGRESS BAR ==== */

.vbm-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #0f172a;
  border-bottom: 1px solid var(--vbm-border);
}

.vbm-progress__bar {
  flex: 1;
  height: 4px;
  background: var(--vbm-bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.vbm-progress__fill {
  height: 100%;
  background: var(--vbm-primary);
  border-radius: 2px;
  transition: width var(--vbm-transition-base);
}

.vbm-progress__fill--complete {
  background: var(--vbm-success);
}

.vbm-progress__text {
  font-size: 12px;
  color: var(--vbm-text-muted);
  flex-shrink: 0;
}


/* ==== 16. AVATAR ==== */

.vbm-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vbm-radius-full);
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.vbm-avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.vbm-avatar--md {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.vbm-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 20px;
}


/* ==== 17. MENU LIST ==== */

.vbm-menu {
  background: var(--vbm-bg-surface);
  border-radius: var(--vbm-radius-lg);
  overflow: hidden;
}

.vbm-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  min-height: 44px;
  color: var(--vbm-text-primary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--vbm-border);
  transition: background var(--vbm-transition-fast);
}

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

.vbm-menu__item:active {
  background: var(--vbm-bg-elevated);
}

.vbm-menu__item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.vbm-menu__item-icon {
  font-size: 18px;
  color: var(--vbm-text-secondary);
  flex-shrink: 0;
}


/* ============================================
   HERO BANNER (desktop only — shown via responsive.css)
   ============================================ */
.vbm-hero-banner {
    display: none; /* hidden on mobile, shown at 1024px+ via responsive.css */
    background: linear-gradient(135deg, var(--vbm-header-bg, #1a3a5c) 0%, #0f172a 100%);
    padding: 40px 48px;
    text-align: center;
    border-bottom: 1px solid var(--vbm-border);
}

.vbm-hero-banner__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--vbm-header-color, var(--vbm-text-primary));
    margin-bottom: 8px;
}

.vbm-hero-banner__subtitle {
    font-size: 16px;
    color: var(--vbm-text-secondary);
}

/* ============================================
   EVENT ROW (desktop list view — hidden on mobile)
   ============================================ */
.vbm-event-rows {
    display: none; /* hidden on mobile, shown at 1024px+ via responsive.css */
}

.vbm-event-rows__header {
    display: grid;
    grid-template-columns: 80px 1fr 200px 160px 120px 100px;
    gap: 16px;
    padding: 10px 16px;
    color: var(--vbm-text-muted);
    font-size: var(--vbm-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--vbm-border);
}

.vbm-event-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 160px 120px 100px;
    gap: 16px;
    padding: 14px 16px;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.04);
    text-decoration: none;
    color: inherit;
    border-radius: var(--vbm-radius-md);
    transition: background var(--vbm-transition-fast);
}

.vbm-event-row:hover {
    background: var(--vbm-bg-surface);
}

.vbm-event-row--dimmed {
    opacity: 0.6;
}

.vbm-event-row__date {
    text-align: center;
}

.vbm-event-row__month {
    color: var(--vbm-text-secondary);
    font-size: var(--vbm-text-xs);
    text-transform: uppercase;
}

.vbm-event-row__day {
    color: var(--vbm-text-primary);
    font-size: var(--vbm-text-2xl);
    font-weight: 700;
    line-height: 1.1;
}

.vbm-event-row__name {
    color: var(--vbm-text-primary);
    font-size: var(--vbm-text-base);
    font-weight: 600;
}

.vbm-event-row__desc {
    color: var(--vbm-text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.vbm-event-row__location {
    color: var(--vbm-text-secondary);
    font-size: var(--vbm-text-sm);
}

.vbm-event-row__time {
    color: var(--vbm-text-secondary);
    font-size: var(--vbm-text-sm);
}

.vbm-event-row__status {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.vbm-event-row__spots {
    color: var(--vbm-text-muted);
    font-size: var(--vbm-text-xs);
}

.vbm-event-row__details {
    color: var(--vbm-text-secondary);
    font-size: var(--vbm-text-sm);
}

/* ============================================
   OVERVIEW GRID (event detail Overview tab)
   ============================================ */
.vbm-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ============================================
   CHECKOUT LAYOUT (two-column registration)
   ============================================ */
.vbm-checkout-layout {
    display: flex;
    flex-direction: column; /* stacked on mobile */
    gap: 24px;
}

.vbm-checkout-layout__form {
    flex: 3;
}

.vbm-checkout-layout__summary {
    flex: 2;
}

/* ============================================
   EVENT DETAIL HERO (full-width with inline CTA)
   ============================================ */
.vbm-detail-hero {
    background: linear-gradient(135deg, var(--vbm-bg-surface) 0%, var(--vbm-bg-deep) 100%);
    padding: var(--vbm-space-lg);
    border-bottom: 1px solid var(--vbm-border);
}

.vbm-detail-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.vbm-detail-hero__cta {
    display: none; /* hidden on mobile — sticky CTA used instead */
}

/* Breadcrumbs */
.vbm-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 13px;
    max-width: var(--vbm-content-max);
    margin: 0 auto;
}
.vbm-breadcrumbs__link {
    color: var(--vbm-primary);
    text-decoration: none;
    white-space: nowrap;
}
.vbm-breadcrumbs__link:hover {
    text-decoration: underline;
}
.vbm-breadcrumbs__sep {
    color: var(--vbm-text-muted);
    flex-shrink: 0;
}
.vbm-breadcrumbs__current {
    color: var(--vbm-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   WEEK VIEW (desktop calendar — hidden on mobile)
   ============================================ */
.vbm-week-view-container {
    display: none; /* shown at 1024px+ via responsive.css */
}

.vbm-week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 12px;
}

.vbm-week-nav__label {
    color: var(--vbm-text-primary);
    font-size: 16px;
    font-weight: 700;
}

.vbm-week-nav__btn {
    background: var(--vbm-bg-elevated);
    border: none;
    color: var(--vbm-text-secondary);
    padding: 6px 10px;
    border-radius: var(--vbm-radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: background var(--vbm-transition-fast);
}

.vbm-week-nav__btn:hover {
    background: var(--vbm-bg-surface);
}

.vbm-week-nav__today {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--vbm-primary);
    padding: 6px 14px;
    border-radius: var(--vbm-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--vbm-transition-fast);
}

.vbm-week-nav__today:hover {
    background: rgba(56, 189, 248, 0.2);
}

.vbm-week-view {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(148, 163, 184, 0.18);
    border-radius: var(--vbm-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.vbm-week-day {
    background: var(--vbm-bg-deep);
    min-height: 180px;
}

.vbm-week-day__header {
    padding: 10px 10px 6px;
    border-bottom: 1px solid var(--vbm-border);
}

.vbm-week-day__name {
    color: var(--vbm-text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vbm-week-day__num {
    color: var(--vbm-text-secondary);
    font-size: 18px;
    font-weight: 700;
}

.vbm-week-day--today .vbm-week-day__header {
    border-bottom: 2px solid var(--vbm-primary);
}

.vbm-week-day--today .vbm-week-day__num {
    color: var(--vbm-primary);
}

.vbm-week-day__events {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vbm-week-event {
    display: block;
    border-radius: 4px;
    padding: 6px 8px;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid var(--_week-event-color, var(--vbm-primary));
    background: var(--_week-event-bg, rgba(56, 189, 248, 0.15));
    transition: opacity var(--vbm-transition-fast);
}

.vbm-week-event:hover {
    opacity: 0.8;
}

.vbm-week-event__name {
    color: var(--vbm-text-primary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vbm-week-event__time {
    color: var(--vbm-text-muted);
    font-size: 10px;
}

/* ============================================
   LIST TABS (Coming Up / Past)
   ============================================ */
.vbm-list-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--vbm-border);
    margin-bottom: 16px;
}

.vbm-list-tab {
    background: none;
    border: none;
    color: var(--vbm-text-muted);
    font-size: 14px;
    font-family: var(--vbm-font);
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color var(--vbm-transition-fast), border-color var(--vbm-transition-fast);
}

.vbm-list-tab:hover {
    color: var(--vbm-text-secondary);
}

.vbm-list-tab.is-active {
    color: var(--vbm-primary);
    font-weight: 600;
    border-bottom-color: var(--vbm-primary);
}

/* ============================================
   PAGINATION
   ============================================ */
.vbm-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 32px;
}

.vbm-pagination__page {
    background: var(--vbm-bg-elevated);
    border: none;
    color: var(--vbm-text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--vbm-radius-sm);
    font-size: 13px;
    font-family: var(--vbm-font);
    cursor: pointer;
    transition: background var(--vbm-transition-fast);
}

.vbm-pagination__page:hover {
    background: var(--vbm-bg-surface);
}

.vbm-pagination__page.is-active {
    background: var(--vbm-primary);
    color: var(--vbm-bg-deep);
    font-weight: 600;
}
