/* ============================================
   FERRAMENTAS.CSS - Estilos para ferramentas interativas
   Consciência Monetária
   ============================================ */

/* ===== BASE ===== */
body {
  background-color: #0c1814;
  font-family: 'Montserrat', sans-serif;
}

/* ===== SKIP TO CONTENT ===== */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #10b981;
  color: #0c1814;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  transform: translateY(-5px) scale(1.05);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0d9668;
  transform: translateY(-5px) scale(1.1);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ===== TOOL / QUIZ CARD ===== */
.tool-card,
.quiz-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

/* ===== INPUT FIELDS ===== */
.input-field {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-field:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input-number {
  width: 100%;
  padding: 12px 28px 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: right;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.input-number:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-number:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.input-number::-webkit-inner-spin-button,
.input-number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  opacity: 0.6;
  margin-left: 8px;
}

.input-helper {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  margin-top: 0.5rem;
  line-height: 1.3;
  display: block;
}

/* ===== RADIO GROUP ===== */
.radio-group {
  display: flex;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-option {
  flex: 1;
  text-align: center;
}

.radio-option input {
  display: none;
}

.radio-option label {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.radio-option input:checked + label {
  background: #10b981;
  color: white;
}

.radio-option label:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 8px;
}

/* ===== BUTTONS ===== */
.btn-calc {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #10b981 0%, #0d9668 100%);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-calc:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  transform: translateY(-2px);
}

.btn-calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* ===== QUESTIONS ===== */
.question-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.question-item:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 4px;
}

.question-item:hover {
  border-color: rgba(16, 185, 129, 0.2);
}

.question-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #10b981;
  margin-right: 0.75rem;
}

.question-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}

.question-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ===== OPTIONS ===== */
.option-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  margin: 0.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-label:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.option-label:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.option-label.selected {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.option-radio {
  margin-top: 0.2rem;
  accent-color: #10b981;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.option-radio:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.option-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #0d9668);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* ===== ALERT ===== */
.alert-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.alert-message.show {
  display: flex;
}

.alert-icon {
  color: #ef4444;
  font-size: 1.25rem;
}

.alert-text {
  color: #f87171;
  font-size: 0.9rem;
  flex: 1;
}

.alert-close {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
}

.alert-close:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 50%;
}

/* ===== RESULT CARDS ===== */
.result-card-main {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.result-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.result-badge.consciente {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.result-badge.alerta {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.result-badge.emocional {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.result-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.result-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== INSIGHT BOX ===== */
.insight-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: left;
}

.insight-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.insight-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #10b981;
  margin-top: 0.125rem;
}

.insight-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== SHARE SECTION ===== */
.share-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.share-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.share-btn:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.share-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.share-btn.whatsapp:hover {
  background: #25D366;
  color: white;
}

.share-btn.copy:hover {
  background: #10b981;
  color: white;
}

/* ===== SIDEBAR ===== */
.sidebar-sticky-container {
  position: sticky;
  top: 120px;
}

@media (max-width: 1024px) {
  .sidebar-sticky-container {
    position: static;
  }
}

/* ===== EXPLORE SECTION (SIDEBAR) ===== */
.explore-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.explore-section:hover {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.explore-title {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(16, 185, 129, 0.7);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.explore-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), transparent);
  margin-bottom: 1.25rem;
}

.explore-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.explore-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.explore-link:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 12px;
}

.explore-link:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(4px);
}

.explore-link-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  color: #10b981;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.explore-link:hover .explore-link-icon {
  background: #10b981;
  color: #0c1814;
}

.explore-link-content {
  flex: 1;
}

.explore-link-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.explore-link:hover .explore-link-title {
  color: #10b981;
}

.explore-link-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
}

.explore-link-arrow {
  color: rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.explore-link:hover .explore-link-arrow {
  transform: translateX(4px);
  color: #10b981;
}

/* ===== TOOLS ABOUT ===== */
.tools-about {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ===== APOIE BANNER ===== */
.apoie-banner {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.apoie-banner:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.apoie-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.apoie-banner:hover .apoie-title {
  opacity: 1;
}

.apoie-description {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.apoie-qrcode {
  background: white;
  padding: 0.50rem;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.apoie-qrcode img {
  width: 120px;
  height: 120px;
  display: block;
}

.apoie-chave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  width: fit-content;
  margin: 0 auto 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.apoie-chave i {
  color: rgba(16, 185, 129, 0.5);
  font-size: 0.7rem;
}

.apoie-chave code {
  color: rgba(255, 255, 255, 1.0);
  font-size: 0.7rem;
  font-family: monospace;
}

.apoie-copy-btn {
  background: transparent;
  border: none;
  color: #10b981;
  font-size: 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.apoie-copy-btn:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.apoie-copy-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #0d9668;
}

.apoie-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.3px;
}

.apoie-disclaimer i {
  color: #10b981;
  margin-right: 0.25rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
}

.how-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.how-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.how-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== RELATED POSTS CARDS ===== */
.related-posts-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-posts-card:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 4px;
}

.related-posts-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.related-posts-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), transparent);
}

.related-posts-icon i {
  font-size: 3rem;
  color: rgba(16, 185, 129, 0.6);
  transition: all 0.3s ease;
}

.related-posts-card:hover .related-posts-icon i {
  color: #10b981;
  transform: scale(1.1);
}

.related-posts-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-posts-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(16, 185, 129, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-posts-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0.5rem 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.related-posts-card:hover .related-posts-title {
  color: #10b981;
}

.related-posts-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex: 1;
}

.related-posts-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.related-posts-link:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 4px;
}

.related-posts-link i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.related-posts-link:hover {
  gap: 0.75rem;
  color: #0d9668;
}

.related-posts-link:hover i {
  transform: translateX(4px);
}

/* ===== FAQ ===== */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: -2px;
  border-radius: 1rem;
}

.faq-question h3 {
  width: 92%;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin: 0;
  transition: color 0.2s ease;
  pointer-events: none;
}

.faq-question:hover h3 {
  color: #10b981;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  pointer-events: none;
}

.faq-icon i {
  font-size: 0.875rem;
  color: #10b981;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  background: transparent;
  border: none;
  outline: none;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  background: transparent;
  border: none;
}

.faq-answer p {
  color: #9ca3af;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== REFRESH INDICATOR ===== */
.refresh-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
  justify-content: center;
}

.refresh-indicator i {
  font-size: 0.6rem;
}

/* ===== LOADING STATE ===== */
#loadingState {
  text-align: center;
  padding: 3rem 0;
  display: none;
}

#loadingState .fa-spinner {
  font-size: 2.5rem;
  color: #10b981;
}

#loadingState p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .result-title {
    font-size: 1.5rem;
  }

  .question-text {
    font-size: 1rem;
  }

  .option-text {
    font-size: 0.85rem;
  }

  .how-step {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .insight-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .insight-icon {
    margin-bottom: 0.5rem;
  }

  .question-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-question h3 {
    font-size: 1rem;
    width: 88%;
  }
}

@media (max-width: 480px) {
  .explore-section {
    padding: 1rem;
  }

  .explore-link {
    padding: 0.5rem 0.75rem;
  }

  .quiz-card,
  .tool-card,
  .calculator-card {
    padding: 1.25rem;
  }

  .result-card-main {
    padding: 1.25rem;
  }
}

/* Estilo personalizado para o seletor de tipo de dívida */
.select-divida {
    background: rgba(0, 0, 0, 0.6) !important;
}

/* Estilo para as opções dentro do seletor */
.select-divida option {
    background-color: #1f2937 !important;
    color: white !important;
}

/* Estilo para quando o seletor está em foco */
.select-divida:focus {
    outline: 2px solid #10b981 !important;
    outline-offset: 2px !important;
}