/* Stili CSS per la navigazione gerarchica */


.flow-navigation {
  max-width: 1200px;
  margin: 0 auto;
}

/* Stili per il breadcrumb */
.nav-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-item {
  padding: 8px 15px;
  margin-right: 5px;
  background-color: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background-color: #e0e0e0;
}

.nav-item.current {
  background-color: #2c3e50;
  color: white;
}

.nav-item.current {
    background-color: #ed028c;
    color: white;
}

/*
.nav-item:not(:last-child)::after {
  content: '›';
  margin-left: 15px;
  color: #999;
  font-weight: bold;
}
*/
/* Sezioni di contenuto */
.content-section {
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Bottone per continuare */
.next-btn {
  padding: 10px 20px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.next-btn:hover {
  background-color: #1a2533;
}

/* Stili per i pulsanti di opzione */
.nav-options, [class^="nav-options-"] {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.option-btn, .sub-option-btn {
  padding: 12px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
}

.option-btn:hover, .sub-option-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Stili per le sub-opzioni */
.sub-options {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.sub-options > div {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: calc(50% - 15px);
  min-width: 200px;
}

.sub-options p {
  margin-bottom: var(--font-size-base);
  font-weight: 500;
  text-align: center;
}

/* Nuovo sistema voci fisse */
/* Stile per le opzioni principali sempre visibili */
.nav-options.sticky-visible {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Stile per la voce genitore attiva */
.nav-options .option-btn.parent-active {
  background: #d4af37; /* Colore oro/evidenziato */
  color: #fff;
  font-weight: bold;
  border: 2px solid #b8942a;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Stile per la voce corrente (quella in cui sei) */
.nav-options .option-btn.current {
  background: #8b7355;
  color: #fff;
}

/* Animazione smooth */
.nav-options .option-btn {
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-header {
    flex-wrap: wrap;
  }
  
  .nav-item {
    margin-bottom: 5px;
  }
  
  .sub-options > div {
    width: 100%;
  }
}