.bancomail-quiz {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); /* soft, modern shadow */
  margin: 2rem 0;
}

.quiz-slide h3 {
  color: #5450f4;
}
.quiz-nav {
  margin-top: 1rem;
}
.quiz-nav button {
  background: #5450f4;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  cursor: pointer;
}
#quizResult {
  background: #e8e8ff;
  border-left: 5px solid #5450f4;
  padding: 1rem;
  margin-top: 2rem;
}
.quiz-progress-container {
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin-bottom: 20px;
}

.quiz-progress-bar {
  height: 100%;
  background-color: #5450f4;
  transition: width 0.3s ease;
}
.quiz-progress-label {
  font-weight: bold;
  min-width: 50px;
  text-align: left;
}
.quiz-tip {
  background-color: #f2f3ff; /* soft bluish background */
  border-left: 4px solid #5450f4; /* accent with your main blue */
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #1f1f1f;
  border-radius: 6px;
}
.quiz-result-wrapper {
  background: #f2f3ff; /* fascia viola chiara */
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.quiz-result-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5450f4;
  margin-bottom: 1rem;
}

.quiz-result-box {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quiz-result-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.quiz-result-content {
  flex: 1;
}

.quiz-result-title {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.quiz-result-message {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.bancomail-quiz ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.bancomail-quiz input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #5450f4; /* colore blu personalizzato (compatibile con browser moderni) */
  border-radius: 50%;
}
.bancomail-quiz li {
  margin-bottom: 0.75rem;
}

.bancomail-quiz label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}


.quiz-result-icon path {
  fill: currentColor;
}

.icon-good { color: #4caf50; }
.icon-acceptable { color: #ff9800; }
.icon-poor { color: #f44336; }

.quiz-contact-form {
  margin-top: 2rem;
}
.quiz-contact-form input,
.quiz-contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.quiz-contact-form button {
  background-color: #5450f4;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
}
