* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f9fafb;
  color: #111827;
}

/* ── NAVBAR ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 18px;
  font-weight: 700;
   color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dots { display: flex; gap: 3px; }
.dot-blue  { width: 10px; height: 10px; border-radius: 50%; background: #378ADD; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #1D9E75; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #6b7280;
}

.nav-links span { cursor: pointer; }
.nav-links span:hover { color: #378ADD; }

.nav-btn {
  font-size: 13px;
  background: #378ADD;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
}

.nav-btn:hover { background: #2563eb; }

/* ── HERO ── */
.hero {
  background: #f0f7ff;
  padding: 36px 28px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.hero h1 {
  font-size: 26px;
  font-weight: 700;
  color: #0C447C;
  margin-bottom: 8px;
}

.hero p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 20px;
}

.search-bar {
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 0 auto 16px;
}

.search-bar input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
}

.search-bar input:focus {
  border-color: #378ADD;
  box-shadow: 0 0 0 3px #e6f1fb;
}

.search-bar select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

.filter-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: all .15s;
}

.pill:hover { border-color: #378ADD; color: #378ADD; }

.pill.active {
  background: #E6F1FB;
  color: #0C447C;
  border-color: #378ADD;
  font-weight: 600;
}

/* ── LAYOUT ── */
.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  padding: 20px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.feed-title {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.av-blue  { background: #E6F1FB; color: #0C447C; }
.av-green { background: #EAF3DE; color: #3B6D11; }
.av-teal  { background: #E1F5EE; color: #0F6E56; }
.av-amber { background: #FAEEDA; color: #854F0B; }

.card-name { font-size: 14px; font-weight: 600; color: #111827; }
.card-meta { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.card-body { font-size: 13px; color: #374151; line-height: 1.6; margin-bottom: 12px; }

/* ── BADGE ── */
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

.badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge-blue  { background: #E6F1FB; color: #185FA5; }
.badge-green { background: #EAF3DE; color: #3B6D11; }
.badge-amber { background: #FAEEDA; color: #854F0B; }
.badge-teal  { background: #E1F5EE; color: #0F6E56; }

/* ── VIDEO & FOTO ── */
.video-thumb {
  background: #f3f4f6;
  border-radius: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}

.play-btn {
  width: 40px;
  height: 40px;
  background: #378ADD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.play-btn:hover { background: #2563eb; }

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.photo-box {
  background: #f3f4f6;
  border-radius: 8px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 24px;
}

/* ── AZIONI ── */
.card-actions {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
  align-items: center;
}

.action { display: flex; align-items: center; gap: 5px; cursor: pointer; transition: color .15s; }
.action:hover { color: #378ADD; }

.action-scout {
  margin-left: auto;
  color: #185FA5;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.action-scout:hover { color: #0C447C; }

.action-follow {
  margin-left: auto;
  color: #185FA5;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.action-follow:hover { color: #0C447C; }

/* ── SIDEBAR ── */
.sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.sidebar-title {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.upload-btn {
  width: 100%;
  background: #1D9E75;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  transition: background .15s;
}

.upload-btn:hover { background: #178a64; }

/* ── TALENTI ── */
.talent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.talent-row:last-child { margin-bottom: 0; }

.talent-info { flex: 1; }

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.talent-name   { font-size: 13px; font-weight: 600; color: #111827; }
.talent-detail { font-size: 11px; color: #9ca3af; margin-top: 1px; }
.stars         { color: #EF9F27; font-size: 12px; }

/* ── EVENTI ── */
.event-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.event-row:last-child { margin-bottom: 0; }

.event-date {
  background: #E6F1FB;
  color: #185FA5;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-day   { font-size: 16px; font-weight: 700; line-height: 1; }
.event-month { font-size: 10px; font-weight: 600; margin-top: 2px; }
.event-info  { font-size: 13px; color: #111827; font-weight: 500; }
.event-sub   { font-size: 11px; color: #9ca3af; margin-top: 2px; }

/* ── STATISTICHE ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.stat-num   { font-size: 20px; font-weight: 700; color: #0C447C; }
.stat-label { font-size: 11px; color: #9ca3af; margin-top: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .main { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.logo-img {
  height: 36px;
  width: auto;
}
/* ── PAGINE AUTH ── */
.auth-container {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: #f0f7ff;
}

.auth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
}

.auth-logo h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.auth-logo p {
  font-size: 14px;
  color: #6b7280;
}

/* ── SCELTA TIPO ── */
.tipo-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.tipo-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tipo-card:hover {
  border-color: #378ADD;
  background: #f0f7ff;
}

.tipo-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.tipo-nome {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}

.tipo-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #378ADD;
  box-shadow: 0 0 0 3px #e6f1fb;
}

.input-icon {
  position: relative;
}

.input-icon input {
  padding-right: 40px;
}

.input-icon .ti {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #6b7280;
}

.form-check input {
  margin-top: 2px;
  flex-shrink: 0;
}

.form-check a {
  color: #378ADD;
  text-decoration: none;
}

.btn-primary {
  width: 100%;
  background: #378ADD;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 16px;
}

.btn-primary:hover { background: #2563eb; }

.auth-login {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.auth-login a {
  color: #378ADD;
  font-weight: 600;
  text-decoration: none;
}

.auth-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  margin-bottom: 20px;
}

.auth-back:hover { color: #378ADD; }

.tipo-badge {
  font-size: 32px;
  margin-bottom: 8px;
}

/* ── SUCCESSO ── */
.successo-icon {
  font-size: 56px;
  text-align: center;
  margin-bottom: 16px;
}

#step-successo {
  text-align: center;
}

#step-successo h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

#step-successo p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}
/* ── LOGIN ── */
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  color: #6b7280;
}

.ricordami {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.login-options a {
  color: #378ADD;
  text-decoration: none;
  font-weight: 600;
}

.login-options a:hover { color: #0C447C; }

.divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
  color: #9ca3af;
  font-size: 13px;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.divider span {
  background: #fff;
  padding: 0 12px;
  position: relative;
}
/* ── PROFILO ── */
.profilo-cover {
  background: linear-gradient(135deg, #0C447C, #378ADD);
  padding: 30px 28px 20px;
  position: relative;
}

.profilo-header {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.profilo-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.5);
}

.profilo-info {
  flex: 1;
}

.profilo-info h1 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.profilo-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.profilo-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.club-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}

.profilo-azioni {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-segui {
  background: #fff;
  color: #0C447C;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}

.btn-segui:hover { background: #f0f7ff; }
.btn-segui.seguito { background: #1D9E75; color: #fff; }

.btn-condividi {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all .15s;
}

.btn-condividi:hover { background: rgba(255,255,255,0.3); }

/* ── CONTAINER PROFILO ── */
.profilo-container {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.profilo-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.profilo-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── STATISTICHE PROFILO ── */
.stats-profilo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-profilo {
  background: #f0f7ff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.stat-profilo-num {
  font-size: 26px;
  font-weight: 700;
  color: #0C447C;
}

.stat-profilo-label {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

/* ── CARATTERISTICHE ── */
.caratteristiche { display: flex; flex-direction: column; gap: 10px; }

.caratteristica {
  display: flex;
  align-items: center;
  gap: 10px;
}

.car-nome {
  font-size: 13px;
  color: #374151;
  width: 110px;
  flex-shrink: 0;
}

.car-barra {
  flex: 1;
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.car-riempimento {
  height: 100%;
  background: linear-gradient(90deg, #378ADD, #1D9E75);
  border-radius: 999px;
}

.car-voto {
  font-size: 13px;
  font-weight: 700;
  color: #0C447C;
  width: 30px;
  text-align: right;
}

/* ── INFO LISTA ── */
.info-lista { display: flex; flex-direction: column; gap: 8px; }

.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child { border-bottom: none; }

.info-label { color: #6b7280; }
.info-valore { font-weight: 600; color: #111827; }

/* ── MEDIA TABS ── */
.media-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
}

.media-tab {
  flex: 1;
  text-align: center;
  padding: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
}

.media-tab.active {
  background: #fff;
  color: #0C447C;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ── VIDEO CARDS ── */
.video-card {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.video-card:last-child { margin-bottom: 0; }

.video-thumb-profilo {
  width: 100px;
  height: 65px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.video-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}

.video-titolo {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.video-meta {
  font-size: 11px;
  color: #9ca3af;
}

/* ── FOTO GRID ── */
.foto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.foto-box {
  background: #f3f4f6;
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 28px;
}

/* ── NOTA ALLENATORE ── */
.nota-allenatore {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nota-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.nota-nome {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.nota-testo p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
}

/* ── SEGUACI ── */
.seguaci { display: flex; flex-direction: column; gap: 12px; }

.seguace-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── RESPONSIVE PROFILO ── */
@media (max-width: 700px) {
  .profilo-container { grid-template-columns: 1fr; }
  .profilo-header { flex-direction: column; text-align: center; }
}
/* ── UPLOAD ── */
.upload-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 20px;
}

.upload-header {
  text-align: center;
  margin-bottom: 24px;
}

.upload-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.upload-header p {
  font-size: 14px;
  color: #6b7280;
}

.upload-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.upload-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── TIPO CONTENUTO ── */
.tipo-contenuto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tipo-contenuto {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.tipo-contenuto i { font-size: 24px; }

.tipo-contenuto:hover {
  border-color: #378ADD;
  color: #378ADD;
  background: #f0f7ff;
}

.tipo-contenuto.active {
  border-color: #378ADD;
  background: #E6F1FB;
  color: #0C447C;
}

/* ── DROP AREA ── */
.drop-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}

.drop-area:hover {
  border-color: #378ADD;
  background: #f0f7ff;
}

.drop-area i {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 12px;
  display: block;
}

.drop-titolo {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.drop-sottotitolo {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.drop-formati {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ── FILE PREVIEW ── */
.file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.file-preview-info { flex: 1; }

.file-preview-nome {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.file-preview-size {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.file-preview-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.file-preview-remove:hover { background: #fecaca; }

/* ── FORM TEXTAREA ── */
.form-group textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  resize: vertical;
  font-family: inherit;
  transition: border-color .15s;
}

.form-group textarea:focus {
  border-color: #378ADD;
  box-shadow: 0 0 0 3px #e6f1fb;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── TAG ── */
.tag-input-area {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  cursor: text;
  transition: border-color .15s;
}

.tag-input-area:focus-within {
  border-color: #378ADD;
  box-shadow: 0 0 0 3px #e6f1fb;
}

.tag-input-area input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 2px 4px !important;
  font-size: 13px;
  flex: 1;
  min-width: 120px;
}

.tag {
  background: #E6F1FB;
  color: #185FA5;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tag-x {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.tag-x:hover { color: #0C447C; }

/* ── VISIBILITA' ── */
.visibilita-opzioni {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visibilita-opzione {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all .15s;
}

.visibilita-opzione i {
  font-size: 22px;
  color: #9ca3af;
  flex-shrink: 0;
}

.visibilita-opzione:hover {
  border-color: #378ADD;
  background: #f0f7ff;
}

.visibilita-opzione.active {
  border-color: #378ADD;
  background: #E6F1FB;
}

.visibilita-opzione.active i { color: #0C447C; }

.vis-nome {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.vis-desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* ── BOTTONI UPLOAD ── */
.upload-bottoni {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.btn-secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}

.btn-secondary:hover { background: #f3f4f6; }

/* ── SUCCESSO UPLOAD ── */
.upload-successo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.upload-successo h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.upload-successo p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.successo-bottoni {
  display: flex;
  gap: 10px;
  justify-content: center;
}
/* ── SCOUT ── */
.scout-hero {
  background: linear-gradient(135deg, #0C447C, #1D9E75);
  padding: 40px 28px;
  text-align: center;
}

.scout-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.scout-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.scout-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.scout-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.scout-search {
  max-width: 480px;
  margin: 0 auto;
}

.scout-search-input {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  gap: 10px;
}

.scout-search-input i {
  color: #9ca3af;
  font-size: 18px;
  flex-shrink: 0;
}

.scout-search-input input {
  border: none;
  outline: none;
  font-size: 14px;
  flex: 1;
  background: transparent;
}

/* ── CONTAINER SCOUT ── */
.scout-container {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── FILTRI ── */
.filtri-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 80px;
}

.filtri-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filtro-gruppo {
  margin-bottom: 14px;
}

.filtro-gruppo label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.filtro-gruppo select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.filtro-gruppo select:focus {
  border-color: #378ADD;
}

.btn-reset-filtri {
  width: 100%;
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  transition: all .15s;
}

.btn-reset-filtri:hover { background: #e5e7eb; color: #374151; }

/* ── SCOUT STATS ── */
.scout-stats {
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scout-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #0C447C;
}

.scout-stat-label {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}

/* ── RISULTATI ── */
.risultati-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.risultati-count {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.risultati-vista {
  display: flex;
  gap: 4px;
}

.vista-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9ca3af;
  font-size: 16px;
  transition: all .15s;
}

.vista-btn:hover { background: #f3f4f6; color: #374151; }
.vista-btn.active { background: #E6F1FB; color: #0C447C; }

/* ── TALENTI GRIGLIA ── */
.talenti-griglia {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.talento-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
}

.talento-card:hover {
  border-color: #378ADD;
  box-shadow: 0 4px 12px rgba(55,138,221,0.1);
  transform: translateY(-2px);
}

.talento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.talento-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.talento-voto {
  font-size: 18px;
  font-weight: 700;
  color: #0C447C;
  background: #E6F1FB;
  padding: 4px 10px;
  border-radius: 8px;
}

.talento-nome {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.talento-info {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.talento-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.talento-stats {
  display: flex;
  justify-content: space-between;
  background: #f9fafb;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
}

.talento-stat {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
}

.talento-stat span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.talento-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}

.talento-views, .talento-segui {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── NESSUN RISULTATO ── */
.nessun-risultato {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.nessun-risultato i {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.nessun-risultato p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* ── RESPONSIVE SCOUT ── */
@media (max-width: 700px) {
  .scout-container { grid-template-columns: 1fr; }
  .talenti-griglia { grid-template-columns: 1fr 1fr; }
}
/* ── PAGINE LEGALI ── */
.legal-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 30px 20px;
}

.legal-header {
  text-align: center;
  margin-bottom: 28px;
}

.legal-header i {
  font-size: 48px;
  color: #378ADD;
  display: block;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #0C447C;
  margin-bottom: 6px;
}

.legal-header p {
  font-size: 13px;
  color: #9ca3af;
}

.legal-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.legal-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0C447C;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-section ul {
  margin: 8px 0 8px 20px;
}

.legal-section ul li {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal-avviso {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FAEEDA;
  border: 1px solid #EF9F27;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.legal-avviso i {
  font-size: 20px;
  color: #854F0B;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-avviso p {
  font-size: 13px;
  color: #854F0B;
  margin: 0;
}

.legal-avviso-grande {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.legal-avviso-grande i {
  font-size: 28px;
  color: #ef4444;
  flex-shrink: 0;
}

.legal-avviso-grande p {
  font-size: 14px;
  color: #7f1d1d;
  line-height: 1.6;
  margin: 0;
}

.legal-back {
  text-align: center;
  margin-bottom: 20px;
}