/* SCE Frontend Styles - Event details box */
.sce-evento-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sce-evento-box__header {
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 12px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sce-evento-box__header h3 {
  margin: 0;
  font-size: 1.15rem;
}
.sce-evento-type-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.sce-evento-box__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .sce-evento-box__grid { grid-template-columns: 1.2fr 1fr; }
}

.sce-evento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.sce-evento-list__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sce-evento-label {
  color: #374151;
  font-weight: 600;
}
.sce-evento-value { color: #111827; }

.sce-evento-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sce-evento-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.85em;
  background: #eef2ff;
  color: #3730a3;
}
.sce-evento-badge--free {
  background: #ecfdf5;
  color: #065f46;
}

.sce-evento-box__map {
  min-height: 280px;
}
.sce-evento-map {
  height: 280px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.sce-evento-map-link { margin-top: 6px; }
.sce-link {
  color: #2563eb;
  text-decoration: none;
}
.sce-link:hover { text-decoration: underline; }

.sce-struttura-card-info {
  margin-top: 8px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Small tweak for Leaflet default marker */
.leaflet-container { border-radius: 8px; }

/* Actions under the map */
.sce-evento-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.sce-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}
.sce-btn:hover { background: #f3f4f6; }
.sce-btn--primary {
  background: #4f46e5;
  border-color: #4f46e5;
  color: white;
}
.sce-btn--primary:hover { background: #4338ca; }

/* Cards with icon and content */
.sce-evento-box__details {
  display: grid;
  gap: 14px;
}
.sce-evento-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.sce-evento-icon { flex: 0 0 28px; height: 28px; }
.sce-evento-card__content { flex: 1 1 auto; }
.sce-evento-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}
.sce-evento-card__subtitle {
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.95rem;
}
.sce-evento-card__line {
  color: #111827;
  font-size: 1rem;
}
.sce-evento-card {
    display: flex;
    flex-direction: row;
    padding-top: 1em;
}
.sce-evento-card__title {
    font-size: larger;
}
.sce-evento-card__content {
    padding-left: 1em;
}

/* Timeline */
.sce-timeline { list-style: none; margin: 0; padding: 0; }
.sce-timeline__item { position: relative; padding-left: 20px; margin: 10px 0; }
.sce-timeline__dot {
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  background: #4f46e5;
  border-radius: 50%;
}
.sce-timeline__content { color: #111827; }
.sce-timeline__sub { color: #6b7280; font-size: 0.95rem; }