/* ═══════════════════════════════════════════════════════
   VIPTravelScout — vts-overrides.css
   PATCH TOURS & ESPERIENZE — aggiunta chirurgica
   Caricato DOPO vts-unified.css. Non sovrascrivere mai vts-unified.css.
   ═══════════════════════════════════════════════════════ */

/* ── CSS VARS aggiuntivi (se non già in vts-unified) ───── */
:root {
  --sc: 0 8px 32px rgba(26,60,143,0.10);
  --sxl: 0 20px 60px rgba(26,60,143,0.18);
  --border: rgba(26,60,143,0.10);
  --text2: #3a4a72;
  --text3: #7a8ab0;
  --bg: #eef2ff;
  --bg2: #e8edff;
  --bg3: #f0ebff;
}

/* ── ANIMAZIONE SHIMMER (skeleton loading) ───────────────── */
@keyframes vts-shimmer {
  0%   { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}

/* ── TOAST NOTIFICHE (admin tours) ──────────────────────── */
@keyframes vts-fadeInUp {
  from { opacity: 0; transform: translateY(12px) }
  to   { opacity: 1; transform: translateY(0) }
}

/* ── KANBAN ADMIN TOURS ──────────────────────────────────── */
.kanban-col {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26,60,143,.06);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.kanban-col-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.kanban-col-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}

.kanban-col-body::-webkit-scrollbar { width: 3px }
.kanban-col-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px }

.kanban-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}
.kanban-card:hover {
  box-shadow: 0 4px 16px rgba(26,60,143,.12);
  transform: translateY(-1px);
}

/* ── ADMIN TOUR FORM ─────────────────────────────────────── */
#tour-form-panel input:focus,
#tour-form-panel select:focus,
#tour-form-panel textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,60,143,.08);
  outline: none;
}

.mode-tab:hover {
  border-color: var(--blue) !important;
  background: rgba(26,60,143,.04) !important;
}

/* ── TOUR PAGE PUBBLICA — overrides aggiuntivi ───────────── */

/* Smooth scroll per side panel su mobile */
@media (max-width: 768px) {
  #sp { -webkit-overflow-scrolling: touch }
}

/* Focus visible su bottoni filtro */
.fpill:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Hover stato kanban card tour pubblica */
.tcard:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Nation chip hover */
.nc {
  transition: background .15s, border-color .15s;
}
.nc:hover {
  background: rgba(26,60,143,.12);
  border-color: rgba(26,60,143,.2);
}

/* Side panel scrollbar sottile */
#sp::-webkit-scrollbar { width: 4px }
#sp::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px }

/* Tour card img placeholder gradient animato */
.tcard .tc-img > div {
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

/* Price block nel panel — gold glow on hover */
.sp-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Itinerary line color fix */
.itin::before {
  background: linear-gradient(to bottom, var(--blue), rgba(26,60,143,.08));
}

/* Admin section tours — grid kanban responsive */
@media (max-width: 1200px) {
  #tours-kanban {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 900px) {
  #tours-kanban {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  #tours-kanban {
    grid-template-columns: 1fr !important;
  }
  #tour-form-panel {
    width: 100vw !important;
  }
}

/* Theme/dest manager grid responsive */
@media (max-width: 768px) {
  #themes-manager,
  #dests-manager {
    grid-column: 1 / -1;
  }
}

/* Stats pills tours */
#tours-stats > div:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(26,60,143,.1);
}

/* Quick status modal */
#qs-modal button:hover {
  background: rgba(26,60,143,.06) !important;
}
