:root {
  --fc-font-family: inherit;
  --fc-title-font-family: inherit;
}

.budget-calculator * {
  font-family: var(--fc-font-family) !important;
}

.budget-calculator h1, .budget-calculator h2, .budget-calculator h3, .budget-calculator h4, .budget-calculator h5, .budget-calculator h6 {
  font-family: var(--fc-title-font-family) !important;
}

.bc-link, .bc-link:hover {
  color: #595959;
}

#wfc-calculator {
  max-width: 100%;
  padding: 20px;
  border: 2px solid #595959;
  border-radius: 8px;
}

#wfc-calculator h3 {
  margin-top: 15px;
}

#wfc-calculator select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

.wfc-card-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.wfc-card {
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.wfc-card:hover {
  border-color: black;
  background-color: #e9e32a86;
}

.wfc-card.active {
  background-color: #e9e22a;
  color: black;
  border-color: black;
}

.wfc-card-value {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.wfc-card-subtitle {
  font-size: 12px;
  opacity: 0.7;
}

.wfc-results {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #595959;
}

.wfc-results p {
  margin: 5px 0;
  font-size: 14px;
}

.wfc-results strong {
  color: #595959;
}

.wfc-quote-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #595959;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wfc-quote-btn:hover {
  background-color: #e9e22a;
}

.wfc-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.wfc-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wfc-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wfc-modal-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.wfc-modal-close:hover {
  color: #333;
}

.wfc-modal-body {
  padding: 20px;
}

#wfc-quote-btn {
  text-transform: initial;
}

.detail-finance {
  display: none !important;
}