@charset "UTF-8";
.accreditation-badge {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
  padding: 8px 12px;
  border-radius: 6px;
  margin: 15px 0;
}

.badge-icon {
  color: #da9c00;
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.badge-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.4;
}

.badge-text strong {
  color: #1e293b;
}

.badge-link {
  color: #3b82f6;
  text-decoration: underline;
  margin-left: 5px;
  font-weight: 500;
}

.badge-link:hover {
  color: #2563eb;
}

/* Ottimizzazione per mobile */
@media (max-width: 600px) {
  .accreditation-badge {
    padding: 10px;
    width: 90%;
    box-sizing: border-box;
  }
}
/* Box di rimando al Checkup di Salute Finanziaria, riusato identico su ogni
   pagina calcolatore sopra la sezione guida-rapida/FAQ. */
.checkup-referral-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1a1a1a;
  border: 1px solid #f4c400;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
  color: white;
  text-decoration: none;
}

.checkup-referral-box:hover {
  border-color: rgb(218.5, 175.5163934426, 0);
}

.checkup-referral-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4c400;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}

.checkup-referral-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkup-referral-text strong {
  color: #f4c400;
}

@media (max-width: 600px) {
  .checkup-referral-box {
    padding: 12px 14px;
  }
}
body {
  text-shadow: none !important;
  color: #333;
}

#header {
  background: #f8fcfd;
  padding-top: 20px;
  padding-bottom: 20px;
  height: 100%;
  width: 100%;
  justify-content: center;
  vertical-align: middle;
  text-align: center;
}

#title {
  color: #333;
  height: 100%;
  padding-top: 0%;
  padding-bottom: 2%;
}

#sottotitolo {
  opacity: 0;
  animation: fade-in 1s ease;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  font-size: 1.5rem;
}

.brand-logo {
  margin-left: 5%;
  align-self: left;
  font-family: "Cabin", sans-serif;
  color: #333 !important;
  height: 100%;
}
@media screen and (max-width: 992px) {
  .brand-logo {
    left: 75% !important;
    transform: translateX(0%) !important;
  }
}

#logo-img {
  width: 60px;
  height: 60px;
  margin: auto;
}

.nav-wrapper {
  background-color: #f8fcfd;
}
.nav-wrapper .nav-bottoni {
  min-width: 100px !important;
  text-align: center;
  font-size: 1.2rem;
  color: #333;
}
.nav-wrapper .dropdown-content li {
  background-color: #f4c400;
}
.nav-wrapper .dropdown-content a {
  color: #333;
}
@media screen and (max-width: 992px) {
  .nav-wrapper {
    padding-bottom: 5rem;
  }
}
.nav-wrapper .sidenav-trigger i {
  color: #333;
  font-size: 30px !important;
  margin-top: 6px;
}

#titolo {
  animation: fade-in 1.5s ease;
  font-family: "Cabin", sans-serif;
  font-size: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 800px) {
  #titolo {
    font-size: 5rem !important;
  }
}

.main-yellow-text {
  color: #f4c400;
}

.yellow-underline {
  border-bottom: 3px solid #f4c400;
}

.dark-underline {
  border-bottom: 3px solid #333;
}

.yellow-bg {
  background-color: #f4c400;
}

.black-bg {
  background-color: #333;
  color: #f8fcfd;
}

.black-font {
  color: #333;
}

.paragraph {
  max-width: 800px;
  text-align: justify;
  margin: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 80%;
}

.card {
  color: #333 !important;
  border-radius: 25px !important;
}
.card .card-content {
  border-radius: 25px !important;
  background-color: #f8fcfd;
  border: 2px solid #f4c400;
  transition: all 0.2s ease;
  text-shadow: none !important;
}
.card .card-content p {
  color: #333 !important;
}
.card .card-title {
  color: #333 !important;
  text-shadow: none !important;
}

[type=checkbox].filled-in:checked + span:not(.lever):before {
  border-bottom: 2px solid #333 !important;
  border-right: 2px solid #333 !important;
}

[type=checkbox].filled-in:checked + span:not(.lever):after {
  color: #333 !important;
  background-color: #f4c400 !important;
  border: 2px solid #333 !important;
}

[type=checkbox].filled-in:disabled:checked + span:not(.lever):before {
  border-bottom: 2px solid #949494 !important;
  border-right: 2px solid #949494 !important;
}

[type=checkbox].filled-in:disabled:checked + span:not(.lever):after {
  border: 2px solid #949494 !important;
}

[type=radio]:checked + span:after {
  background-color: #333 !important;
  border: none !important;
}

.fixed-btn {
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 1000 !important;
}

.btn-floating {
  background-color: #f4c400 !important;
  border-radius: 25px !important;
  color: #333 !important;
  width: 100% !important;
  font-weight: 500;
  font-size: 1.5rem !important;
}
.btn-floating span {
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.tabella-costi {
  background: #333 !important;
  color: #f8fcfd;
}

.tabella-patrimonio {
  background: #f4c400 !important;
  color: #333;
}

.border-table table {
  border-top: 1px solid black !important;
}
.border-table table tfoot {
  border-bottom: 1px solid black !important;
}

.results-card {
  border-radius: 25px !important;
  font-size: 1.2rem;
  display: none;
}

.page-footer {
  background-color: #f4c400 !important;
}
.page-footer .footer-copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly !important;
  row-gap: 1rem;
}
.page-footer .footer-copyright .kofitext {
  color: #333 !important;
}
.page-footer .footer-copyright div {
  color: #333 !important;
}
.page-footer .footer-copyright div a {
  color: #333 !important;
}

.input-field {
  background-color: rgba(244, 195, 0, 0.2745098039);
  border-radius: 10px;
  margin: 20px;
  box-shadow: 5px 0 0 10px 10px black;
}

.input-field label {
  color: darkslategray !important;
}

.main-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  border-radius: 50% !important;
  background: var(--accent-orange) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 0 2px var(--accent-orange) !important;
  cursor: pointer !important;
}

.main-slider::-moz-range-thumb {
  border-radius: 50% !important;
  background: var(--accent-orange) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 0 2px var(--accent-orange) !important;
  cursor: pointer !important;
}

#cookie-law {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 5%;
  background-color: #ccc;
  z-index: 999;
}

#cookie-law > div {
  padding: 0;
}

#cookie-law > div:first-child {
  padding-right: 40px;
}

#cookie-law > div:first-child > a {
  color: inherit;
}

#cookie-law > div:last-child {
  vertical-align: middle;
}

#cookie-law > div:last-child > a {
  padding: 10px 20px;
  background: rgb(100, 149, 237);
  border-radius: 5px;
  color: white;
  text-decoration: none;
}

:root {
  --bg: #f4f6f8;
  --card-bg: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --accent-blue: #0284c7;
  --accent-orange: #d97706;
  --border: #e5e7eb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #b45309;
}

#checkup-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.content-card {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.06);
  margin-top: 24px;
}
.content-card h2 {
  color: var(--text);
  font-family: "Cabin", sans-serif;
  margin-top: 0;
}
.content-card h3 {
  color: var(--text);
  font-family: "Cabin", sans-serif;
  margin-bottom: 6px;
}
.content-card p {
  color: var(--text-muted);
  line-height: 1.6;
}
.content-card a {
  color: var(--accent-blue);
}

.user-hidden {
  opacity: 0% !important;
  display: none !important;
  visibility: hidden !important;
}

.checkup-reassurance {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.checkup-reassurance li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
}
.checkup-reassurance li:last-child {
  border-bottom: none;
}

.checkup-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--warning);
  color: var(--warning);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.checkup-btn-primary {
  background-color: #f4c400 !important;
  color: #1a1a1a !important;
  font-weight: 700;
  border-radius: 25px;
  text-transform: none;
}
.checkup-btn-primary:hover, .checkup-btn-primary:focus {
  background-color: rgb(203.2, 163.2262295082, 0) !important;
}

#checkup-intro {
  text-align: center;
}
#checkup-intro .checkup-reassurance {
  text-align: left;
}

.checkup-progress {
  margin-bottom: 24px;
}
.checkup-progress .progress-bar-track {
  background: var(--border);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
}
.checkup-progress .progress-bar-fill {
  background: #f4c400;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}
.checkup-progress .progress-label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

#checkup-question-card h2#question-text {
  color: var(--text);
  font-family: "Cabin", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
#checkup-question-card h2#question-text:focus {
  outline: none;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: "Cabin", sans-serif;
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 48px;
}
.quiz-option:hover:not(.is-disabled) {
  border-color: var(--accent-blue);
}
.quiz-option[aria-checked=true] {
  border-color: #f4c400;
  background: rgba(244, 196, 0, 0.12);
}
.quiz-option.is-disabled {
  opacity: 0.6;
  cursor: default;
}
.quiz-option:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.micro-feedback {
  min-height: 1.4em;
  color: var(--success);
  font-weight: 600;
  margin-top: 12px;
}

.quiz-nav {
  margin-top: 20px;
}
.quiz-nav #btn-back {
  color: var(--text-muted);
}
.quiz-nav #btn-back:disabled {
  visibility: hidden;
}
.quiz-nav #btn-back:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.results-headline {
  text-align: center;
}
.results-headline .results-band-title {
  font-size: 2rem;
  margin-bottom: 8px;
}
.results-headline .results-score {
  font-family: "Cabin", sans-serif;
  margin: 0;
}
.results-headline .results-score .results-score-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
}
.results-headline .results-score .results-score-max {
  font-size: 1.4rem;
  color: var(--text-muted);
}
.results-headline .gating-message {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--warning);
  color: var(--warning);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
  margin-top: 16px;
}
.results-headline .share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.results-headline .share-buttons .btn-flat {
  color: var(--accent-blue);
}

.radar-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.radar-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.radar-svg .radar-axis-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-family: "Cabin", sans-serif;
}

.dimension-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.dimension-bar {
  display: grid;
  grid-template-columns: 140px 1fr 36px;
  align-items: center;
  gap: 10px;
}
.dimension-bar .dimension-bar-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dimension-bar .dimension-bar-track {
  background: var(--border);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
  display: block;
}
.dimension-bar .dimension-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent-blue);
}
.dimension-bar .dimension-bar-value {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.action-link {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  text-decoration: none;
}
.action-link--wiki {
  border-color: var(--accent-blue);
}
.action-link--affiliate {
  border-color: #f4c400;
  background: rgba(244, 196, 0, 0.12);
  color: var(--text) !important;
  font-weight: 700;
}

.improve-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}
.improve-section h2 {
  color: var(--text);
  font-family: "Cabin", sans-serif;
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.improve-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.improve-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.04);
}

.improve-score {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.improve-body {
  flex: 1;
  min-width: 0;
}

.improve-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.improve-title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
}

.improve-bar-track {
  flex: 1;
  background: var(--border);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  display: block;
}

.improve-bar-fill {
  display: block;
  height: 100%;
}

.improve-meaning {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 8px;
}

.improve-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#share-canvas {
  display: none;
}

.checkup-plain-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px auto;
  max-width: 800px;
}
.checkup-plain-note a {
  color: var(--accent-blue);
}

.checkup-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin: 24px auto 0;
}
.checkup-disclaimer strong {
  color: var(--text);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 10px;
  font-size: 0.7rem;
  color: var(--accent-blue);
  transition: transform 0.15s ease;
}
.faq-item details[open] summary::before {
  transform: rotate(90deg);
}
.faq-item .faq-content {
  padding-bottom: 14px;
}

.guida-rapida h2,
.faq-section h2 {
  font-size: 1.25rem;
}

.guida-rapida h3 {
  font-size: 1.02rem;
}

.faq-item summary {
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .content-card {
    padding: 18px;
  }
  .dimension-bar {
    grid-template-columns: 100px 1fr 32px;
  }
  .results-headline .results-score .results-score-number {
    font-size: 2.8rem;
  }
}/*# sourceMappingURL=checkup.css.map */