/* =====================================================================
   VMS UI (Shared Components)
   - Components reused in BOTH admin + portal
   - NO admin schedule grid rules here
   - NO portal page layout rules here
   ===================================================================== */

/* Navigation pills (used for view toggles, filters, etc.) */
.vms-portal-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 0 16px;

  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.vms-portal-nav::-webkit-scrollbar {
  display: none;
}

.vms-portal-nav a {
  flex: 0 0 auto;
  max-width: 78vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--vms-link);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.vms-portal-nav a:hover {
  background: rgba(34, 113, 177, .06);
}

.vms-portal-nav a.is-active {
  background: var(--vms-link);
  border-color: var(--vms-link);
  color: #fff;
}

/* Shared 7-column calendar table base (used by All Venues grid) */
.vms-av-grid {
  width: 100%;
  table-layout: fixed;

  /*
    Markup historically included inline styles like:
      border-collapse:separate; border-spacing:6px;
    Inline styles override normal CSS.
    These !important rules guarantee a stable grid.
  */
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.vms-av-grid th,
.vms-av-grid td {
  vertical-align: top;
  min-width: 0;
  box-sizing: border-box;
}