.events-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding: 0.875rem;
  background: #F9FAFB;
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.events-filter-field {
  display: flex;
  flex-direction: column;
  min-width: 100px;
  flex: 1;
}

.events-filter-venue {
  flex: 2;
}

.events-filter-btn {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .events-filter-field,
  .events-filter-venue {
    flex: 1 1 calc(50% - 0.625rem);
  }
  .events-filter-btn {
    width: 100%;
  }
  .events-filter-btn .btn {
    width: 100%;
  }
}

.content-title-sub {
  font-size: 0.75em;
  font-weight: 400;
  color: #9CA3AF;
}

.event-advanced-toggle {

  padding-top: 1rem;
}

.event-image-block {
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-image-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.event-image-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.event-image-actions {
  display: flex;
  gap: 0.5rem;
}

.event-image-preview {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 0.5rem;
  cursor: pointer;
  background: #F9FAFB;
}

.event-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100px;
  background: #F9FAFB;
  border: 1px dashed #DDE0E4;
  border-radius: 0.5rem;
  color: #9CA3AF;
  font-size: 0.75rem;
}


.ev-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.ev-list-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
  flex-wrap: nowrap;
}

.ev-list-row:last-child {
  border-bottom: none;
}

.ev-list-row:hover {
  background: #F9FAFB;
}

.ev-list-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.ev-list-info {
  flex: 1;
  min-width: 0;
}

.ev-list-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #161A1D;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  margin-bottom: 0.25rem;
}

.ev-list-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #6B7280;
  row-gap: 0.2rem;
}

.ev-list-venue,
.ev-list-dates,
.ev-list-price,
.ev-list-views {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.ev-list-sep {
  color: #D1D5DB;
}

.ev-list-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .ev-list-actions {
    flex-direction: row;
  }

  .ev-list-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/*
.ev-btn-label {
  display: none;
}
*/

@media (min-width: 640px) {
  .ev-btn-label {
    display: inline;
  }
}

.ep-list {
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.ep-list-header,
.ep-list-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.ep-list-header {
  background: #F9FAFB;
  border-bottom: 1px solid #DDE0E4;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
}

.ep-list-row {
  border-bottom: 1px solid #F3F4F6;
}

.ep-list-row:last-child {
  border-bottom: none;
}

.ep-list-row-new {
  background: #F9FAFB;
  border-top: 2px dashed #DDE0E4;
}

.ep-col-sort    { flex: 0 0 1.5rem; }
.ep-col-name    { flex: 2; min-width: 120px; }
.ep-col-price   { flex: 0 0 80px; }
.ep-col-sm      { flex: 0 0 70px; }
.ep-col-color   { flex: 0 0 140px; }
.ep-col-actions { flex: 1; min-width: 100px; }

.ep-check-cell {
  display: flex;
  justify-content: center;
}

.ep-sort-handle {
  cursor: move;
  color: #9CA3AF;
}

.ep-color-group {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ep-color-text {
  min-width: 0;
  flex: 1;
}

.ep-color-swatch {
  width: 2rem;
  height: 2rem;
  padding: 0.1rem;
  border-radius: 0.375rem;
  border: 1px solid #DDE0E4;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ep-col-color  { flex: 0 0 100px; }
  .ep-col-sm     { flex: 0 0 52px; }
  .ep-col-price  { flex: 0 0 64px; }
}



/* DATES */
.ed-col-date    { flex: 0 0 200px; }
.ed-col-time    { flex: 1; min-width: 100px; }
.ed-col-sub     { flex: 1; min-width: 80px; }
.ed-col-active  { flex: 0 0 60px; }
.ed-col-actions { flex: 0 0 140px; }

.ed-date-val {
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
}

.mob-date-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mob-date-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
}

.mob-date-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mob-date-info {
  flex: 1;
  min-width: 0;
}

.mob-date-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #161A1D;
}

.mob-date-time {
  font-size: 0.8rem;
  color: var(--primary);
  margin-top: 0.15rem;
}

.mob-date-sub {
  font-size: 0.72rem;
  color: #6B7280;
  margin-top: 0.15rem;
}

.mob-date-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mob-date-active-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  margin: 0;
}

.mob-date-active-text {
  font-size: 0.7rem;
  color: #6B7280;
}

/* Marketing Channels */
.mc-col-desc  { flex: 2; min-width: 120px; }
.mc-col-slug  { flex: 0 0 100px; }
.mc-col-url   { flex: 3; min-width: 0; overflow: hidden; }
.mc-col-qr    { flex: 0 0 70px; }
.mc-col-type  { flex: 0 0 70px; }

.mc-slug-val {
  font-size: 0.78rem;
  background: #F3F4F6;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  color: #374151;
}

.mc-url-val {
  font-size: 0.7rem;
  color: #6B7280;
  word-break: break-all;
}

@media (max-width: 640px) {
  .mc-col-url,
  .mc-col-type { display: none; }
  .mc-col-slug { flex: 0 0 80px; }
}

/* Pricing Sections */
.ps-col-name   { flex: 1; min-width: 100px; }
.ps-col-check  { flex: 0 0 2.5rem; display: flex; justify-content: center; }
.ps-col-action { flex: 0 0 110px; }

@media (max-width: 640px) {
  .ps-col-action { display: none; }
}

/* Pricing Seat Selector */
.ps-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.ps-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: #F3F4F6;
  border: 1px solid #DDE0E4;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.ps-pill:has(input:checked) {
  background: #DBEAFE;
  border-color: #93C5FD;
  color: #1D4ED8;
}

.ps-seat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}

.ps-row-header {
  flex: 0 0 100%;
  background: #F3F4F6;
  border-radius: 0.375rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  margin-top: 0.25rem;
}

.ps-seat {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  background: #F9FAFB;
  border: 1px solid #DDE0E4;
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.ps-seat:has(input:checked) {
  background: #DBEAFE;
  border-color: #93C5FD;
  color: #1D4ED8;
}

/* Ticket Dates */
.td-col-date  { flex: 1; min-width: 120px; }
.td-col-check { flex: 0 0 4rem; display: flex; justify-content: center; }

/* Sales View */
.sv-card {
  border: 1px solid #DDE0E4;
  border-radius: 0.75rem;
  overflow: hidden;
}

.sv-card-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background: #F9FAFB;
  border-bottom: 1px solid #DDE0E4;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}

.sv-card-body {
  padding: 0.875rem;
}

.sv-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
}

.sv-table thead th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  background: #F9FAFB;
  border-bottom: 1px solid #DDE0E4;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
}

.sv-table tbody td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}

.sv-table tbody tr:last-child td {
  border-bottom: none;
}

.sv-table tbody tr:hover {
  background: #F9FAFB;
}

.sv-totals-row td {
  padding: 0.5rem 0.75rem;
  background: #F9FAFB;
  border-top: 2px solid #DDE0E4;
  font-size: 0.82rem;
}

.sv-num-cell { text-align: right; white-space: nowrap; }
.sv-vol-cell { text-align: right; white-space: nowrap; padding-right: 0.875rem !important; }
.sv-date-cell { min-width: 140px; }

.sv-bar-cell { width: 80px; padding: 0 0.5rem !important; }
.sv-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
}
.sv-bar-fill {
  height: 100%;
  background: #3B82F6;
  border-radius: 999px;
}

.sv-dl-cell { width: 2rem; text-align: center; color: #6B7280; }
.sv-blocked { color: #EF4444; font-weight: 600; }

.sv-conversion {
  font-size: 0.72rem;
  color: #6B7280;
  font-style: italic;
  padding: 0.5rem 0.75rem;
  margin: 0;
  border-top: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.sv-sub-header {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9CA3AF;
  padding: 0.5rem 0.75rem 0.25rem;
  border-top: 1px solid #DDE0E4;
  margin-top: 0.25rem;
}

.sv-empty {
  font-size: 0.78rem;
  color: #9CA3AF;
  font-style: italic;
  padding: 0.75rem;
  margin: 0;
}

/* Subscriptions */
.sub-title-cell {
  font-weight: 600;
  color: #161A1D;
}

.sub-status-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.sub-status-active   { background: #D1FAE5; color: #065F46; }
.sub-status-inactive { background: #F3F4F6; color: #6B7280; }

/* Subscription Pricing */
.sp-col-name    { flex: 2; min-width: 120px; }
.sp-col-price   { flex: 0 0 90px; }
.sp-col-limit   { flex: 0 0 70px; }
.sp-col-color   { flex: 0 0 160px; }
.sp-col-check   { flex: 0 0 50px; display: flex; justify-content: center; }
.sp-col-actions { flex: 0 0 130px; display: flex; gap: 0.25rem; align-items: center; }

@media (max-width: 640px) {
  .sp-col-limit  { display: none; }
  .sp-col-color  { flex: 0 0 110px; }
}