/* =========================
   ALGEMENE WRAPPERS
========================= */
#fuel-banner-cta,
#besparing-calculator {
  width: 100%;
  box-sizing: border-box;
}

#fuel-banner-cta {
  margin: 0 0 24px;
}

#besparing-calculator {
  margin: 0 0 30px;
}

/* =========================
   BANNER
========================= */
#fuel-banner-cta .fuel-banner-box {
  background: #1e1b4b;
  color: #ffffff;
  padding: 20px 22px;
  border-radius: 14px;
  text-align: center;
  border: 2px solid #4f46e5;
  box-shadow: 0 8px 22px rgba(79,70,229,0.12);
}

#fuel-banner-cta .fuel-banner-text {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

#fuel-banner-cta .fuel-banner-text strong {
  color: #ffffff;
  font-weight: 800;
}

#fuel-banner-cta .fuel-banner-time {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

#fuel-banner-cta .fuel-banner-actions {
  margin-top: 16px;
}

#fuel-banner-cta .fuel-banner-btn {
  display: inline-block;
  background: #4f46e5;
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid #ffffff;
  transition: all .2s ease;
}

#fuel-banner-cta .fuel-banner-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* =========================
   CALCULATOR BOX
========================= */
.fuel-calc {
  padding: 22px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.fuel-calc h3 {
  margin: 0 0 6px;
  color: #1e1b4b;
}

.fuel-calc > p {
  margin: 0 0 16px;
  color: #333333;
}

/* =========================
   GRID
========================= */
#besparing-calculator .fuel-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

#besparing-calculator .fuel-calc-field {
  display: block;
}

#besparing-calculator .fuel-calc-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1e1b4b;
  line-height: 1.35;
}

/* =========================
   INPUTS / SELECTS
========================= */
#besparing-calculator input,
#besparing-calculator select {
  background: #ffffff !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  color: #1e1b4b !important;
  width: 100% !important;
  box-sizing: border-box;
  line-height: 1.3;
}

/* Select dropdown visueel duidelijk maken */
#besparing-calculator select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23000' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px !important;
}

/* Focus */
#besparing-calculator input:focus,
#besparing-calculator select:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
  outline: none;
}

/* =========================
   BUTTON
========================= */
#fuel-calc-btn {
  display: inline-block !important;
  background: #4f46e5 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer;
  margin-top: 10px;
  transition: all .2s ease;
}

#fuel-calc-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* =========================
   RESULT BOX
========================= */
.fuel-calc-result {
  margin-top: 20px;
}

.fuel-calc-result-card {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.fuel-calc-line {
  margin: 0 0 8px;
  line-height: 1.5;
}

.fuel-calc-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6e6e6;
  font-size: 16px;
  line-height: 1.5;
}

.fuel-calc-positive,
.fuel-calc-positive strong {
  color: #1f7a1f;
}

.fuel-calc-negative,
.fuel-calc-negative strong {
  color: #b42318;
}

.fuel-calc-neutral,
.fuel-calc-neutral strong {
  color: #555555;
}

.fuel-calc-error {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 10px;
  color: #b42318;
}

/* =========================
   IMPORT ALIGNMENT
========================= */
.tib-imported-content #fuel-banner-cta,
.tib-imported-content #besparing-calculator {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   MOBIEL
========================= */
@media (max-width: 700px) {
  #fuel-banner-cta .fuel-banner-box {
    padding: 16px 14px;
  }

  #fuel-banner-cta .fuel-banner-text {
    font-size: 17px;
  }

  #fuel-banner-cta .fuel-banner-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .fuel-calc {
    padding: 16px;
  }

  #besparing-calculator .fuel-calc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #fuel-calc-btn {
    width: 100%;
  }
}
