/* ── Lineup Editor Styles ─────────────────────────────────────── */

/* Section columns */
.lineup-section-card {
  min-height: 200px;
}

.lineup-section-list {
  min-height: 120px;
}

/* ── Card base ─────────────────────────────────────────────────── */

.lineup-card {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  background: #fff;
  cursor: grab;
  transition: box-shadow 0.15s ease;
}

.lineup-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ── Status variants ───────────────────────────────────────────── */

.lineup-card--placed {
  border-left: 3px solid #0d6efd;
}

.lineup-card--backup {
  border-left: 3px solid #6c757d;
  background: #f8f9fa;
}

.lineup-card--killed {
  border-left: 3px solid #dc3545;
  opacity: 0.55;
  cursor: default;
}

.lineup-card--empty {
  border: 2px dashed #ffc107;
  background: #fffdf5;
  cursor: default;
}

.lineup-card--skip {
  border: 2px dashed #adb5bd;
  background: #f8f9fa;
  opacity: 0.7;
  cursor: default;
}

/* ── Card internals ────────────────────────────────────────────── */

.lineup-card__headline {
  font-size: 0.875rem;
  line-height: 1.3;
}

.lineup-card__source {
  font-size: 0.75rem;
}

.lineup-card__tags .badge {
  font-size: 0.65rem;
  font-weight: 500;
  background-color: #e2e3e5 !important;
  color: #212529 !important;
}

.lineup-card__placeholder {
  text-align: center;
  padding: 0.75rem 0;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Toggle details button */
.lineup-toggle-details-btn {
  color: #6c757d;
  line-height: 1;
  flex-shrink: 0;
}
.lineup-toggle-details-btn:hover {
  color: #212529;
}

/* Collapsible summary/rationale */
.lineup-collapsible[data-collapsed="true"] {
  max-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.lineup-collapsible[data-collapsed="false"] {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Notes textarea */
.lineup-notes-input {
  font-size: 0.8rem;
  resize: vertical;
  min-height: 2rem;
}

/* ── Drag-and-drop ─────────────────────────────────────────────── */

.lineup-drag-ghost {
  opacity: 0.4;
  border: 2px dashed #0d6efd;
  background: #e8f0fe;
}

/* ── Kill popover ──────────────────────────────────────────────── */

.lineup-kill-popover {
  position: absolute;
  z-index: 1050;
  min-width: 180px;
  right: 0;
  top: 100%;
}

/* ── Backup column ─────────────────────────────────────────────── */

.lineup-backup-card {
  z-index: 1;
}

.lineup-backup-list {
  min-height: 60px;
}

.lineup-backup-list .lineup-card {
  width: 100%;
}

/* ── Killed tray ───────────────────────────────────────────────── */

#lineup-killed-accordion .lineup-card {
  cursor: default;
}
