/* Retirement calculator refinements layered on the approved calculator system. */

.retirement-calculator-page .warning-box,
.retirement-calculator-page .calculator-form-wrapper,
.retirement-calculator-page .results-section {
  margin-right: 32px;
  margin-left: 32px;
}

.retirement-calculator-page .warning-box {
  margin-top: 32px;
  margin-bottom: 0;
  padding: 18px 20px;
  border: 1px solid #ead9a5;
  border-radius: 12px;
  background: #fffbeb;
}

.retirement-calculator-page .warning-box h3 {
  margin-bottom: 6px;
  color: #7a5b12;
  font-size: 16px;
}

.retirement-calculator-page .warning-box p {
  margin: 0;
  color: #5f4d20;
  font-size: 14px;
}

.retirement-calculator-page .warning-box .emoji-icon,
.retirement-calculator-page .results-section .emoji-icon {
  display: none !important;
}

.retirement-calculator-page .calculator-form-wrapper {
  margin-top: 18px;
}

.retirement-calculator-page #aposentadoriaForm {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 28px;
  border: 1px solid #dce5e1;
  border-radius: 16px;
  background: #f8faf9;
}

.retirement-calculator-page #aposentadoriaForm .form-row {
  margin: 0;
}

.retirement-calculator-page #aposentadoriaForm small {
  display: block;
  margin-top: 8px;
  color: #64736d;
  line-height: 1.45;
}

.retirement-calculator-page #aposentadoriaForm button {
  justify-self: start;
  min-height: 50px;
  margin: 0;
  padding: 13px 24px;
  border: 1px solid #087a55;
  border-radius: 10px;
  background: #087a55;
  box-shadow: none;
  font-family: var(--font-primary);
  font-size: 16px;
  letter-spacing: 0;
}

.retirement-calculator-page .results-section {
  margin-top: 32px;
}

.retirement-calculator-page .results-title {
  margin-bottom: 18px;
  color: #075e47;
  font-size: 26px;
}

.retirement-calculator-page .summary-box {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #8bd0b5;
  border-radius: 14px;
  background: #eaf6f0;
}

.retirement-calculator-page .summary-box h3 {
  margin-bottom: 16px;
  color: #075e47;
  text-align: left;
}

.retirement-calculator-page .summary-item {
  gap: 24px;
  border-color: #b9ddd0;
}

.retirement-calculator-page .summary-value {
  color: #075e47;
}

.retirement-calculator-page .status-box {
  padding: 24px;
  border-color: #dce5e1;
  border-radius: 14px;
}

.retirement-calculator-page .status-box h4 {
  border-bottom: 1px solid #dce5e1;
  color: #075e47;
}

.retirement-calculator-page .progress-bar-container {
  height: 24px;
  background: #e4ece8;
}

.retirement-calculator-page .progress-bar {
  background: #087a55;
  font-size: 12px;
}

.retirement-calculator-page .benefit-box {
  border: 1px solid #8bd0b5;
  background: #eaf6f0;
}

.retirement-calculator-page .benefit-box h4,
.retirement-calculator-page .benefit-value,
.retirement-calculator-page .benefit-note {
  color: #075e47;
}

.retirement-calculator-page .guide-section {
  margin: 32px;
  padding-top: 0;
  border-top: 1px solid #e2e8e5;
}

.retirement-calculator-page .guide-content {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.retirement-calculator-page .guide-content h3 {
  color: #075e47;
}

.retirement-calculator-page .highlight-box {
  border-left-color: #087a55;
  background: #f0f7f4;
}

.retirement-calculator-page .faq-section {
  margin: 40px 32px 32px;
  border-top: 1px solid #e2e8e5;
}

.retirement-calculator-page .faq-item {
  margin: 0;
  border-bottom: 1px solid #e2e8e5;
  border-radius: 0;
  box-shadow: none;
}

.retirement-calculator-page .faq-question {
  min-height: 52px;
  gap: 24px;
  padding: 16px 4px;
  background: transparent;
  color: #17201d;
  line-height: 1.45;
}

.retirement-calculator-page .faq-question:hover {
  background: transparent;
  color: #075e47;
}

.retirement-calculator-page .faq-answer-content {
  padding: 0 4px 22px;
}

.retirement-calculator-page .faq-question::after {
  flex: 0 0 auto;
}

.retirement-calculator-page .sidebar-list {
  padding-left: 20px;
}

.retirement-calculator-page .sidebar-list li {
  margin-bottom: 12px;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .retirement-calculator-page .warning-box,
  .retirement-calculator-page .calculator-form-wrapper,
  .retirement-calculator-page .results-section,
  .retirement-calculator-page .guide-section,
  .retirement-calculator-page .faq-section {
    margin-right: 18px;
    margin-left: 18px;
  }

  .retirement-calculator-page #aposentadoriaForm {
    padding: 20px 16px;
  }

  .retirement-calculator-page #aposentadoriaForm button {
    width: 100%;
  }

  .retirement-calculator-page .summary-box,
  .retirement-calculator-page .status-box {
    padding: 18px 16px;
  }

  .retirement-calculator-page .summary-item,
  .retirement-calculator-page .status-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
