.tankpas-section {
  position: relative;
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tankpas-section__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 56px 56px;
  background: #fff;
  border-radius: 32px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Titel + intro blok */
.tankpas-section__header {
  max-width: 640px;
  margin: 0 auto 62px;
  text-align: center;
}

.tankpas-section__title {
  margin: 0 0 16px;
  color: #111;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-family: 'Open Sans', sans-serif;
}

.tankpas-section__title strong {
  font-weight: 700;
}

.tankpas-section__text {
  max-width: 580px;
  margin: 0 auto;
  color: #111;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  font-family: 'Open Sans', sans-serif;
}

.tankpas-section__text p {
  margin: 0;
}

.tankpas-section__form {
  margin-top: 32px;
}

/* Form wrapper */
.tankpas-form {
  width: 100%;
}

/* Rows */
.tankpas-form .form-row {
  margin-bottom: 26px;
}

.tankpas-form .form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.tankpas-form .form-col {
  width: 100%;
}

/* CF7 wrapper fix */
.tankpas-form .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}

/* Text, email en tel velden */
.tankpas-form input[type="text"],
.tankpas-form input[type="email"],
.tankpas-form input[type="tel"],
.tankpas-form input[type="number"],
.tankpas-form textarea,
.tankpas-form select {
  width: 100%;
  height: 42px;
  padding: 8px 8px 10px 0;
  border: 0;
  border-bottom: 1px solid #d2d2d2;
  border-radius: 0;
  background: transparent;
  color: #222;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  appearance: none;
}

/* Placeholder */
.tankpas-form input::placeholder,
.tankpas-form textarea::placeholder {
  color: #9c9c9c;
  opacity: 1;
}

/* Focus state */
.tankpas-form input[type="text"]:focus,
.tankpas-form input[type="email"]:focus,
.tankpas-form input[type="tel"]:focus,
.tankpas-form input[type="number"]:focus,
.tankpas-form textarea:focus,
.tankpas-form select:focus {
  border-bottom-color: #3A528B;
}

/* Autofill styling reset */
.tankpas-form input:-webkit-autofill,
.tankpas-form input:-webkit-autofill:hover,
.tankpas-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #222;
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* Submit button */
.tankpas-form input[type="submit"] {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px 15px;
  border: 1px solid #3A528B;
  border-radius: 0 100px 100px 100px;
  background-color: #3A528B;
  color: #fff;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  text-decoration: unset;
  cursor: pointer;
  transition: 0.3s all;
}

.tankpas-form input[type="submit"]:hover {
  background-color: #fff;
  color: #3A528B;
  border: 1px solid #3A528B;
}

.tankpas-form input[type="submit"]:active {
  transform: translateY(0);
}

/* CF7 spinner */
.wpcf7-spinner {
  display: none !important;
}

/* CF7 response */
.wpcf7-response-output {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 16px;
  border: none;
}

.wpcf7-mail-sent-ok {
  background: #e8f5ee;
  color: #1a5c3a;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
  background: #fdecea;
  color: #c0392b;
}

/* CF7 validatie meldingen */
.tankpas-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d93025;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

.tankpas-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {
  .tankpas-section {
    padding: 48px 16px;
  }

  .tankpas-section__inner {
    padding: 28px 24px 40px;
    border-radius: 24px;
  }

  .tankpas-section__header {
    margin-bottom: 0;
  }

  .tankpas-section__title {
    margin-bottom: 18px;
    font-size: 32px;
  }

  .tankpas-section__text {
    margin-bottom: 0;
    font-size: 18px;
  }

  .tankpas-section__text p {
    margin-bottom: 0;
  }

  .tankpas-section__form {
    margin-bottom: 0;
  }

  .tankpas-form .form-row {
    margin-bottom: 0;
  }

  .tankpas-form .form-row-two {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .tankpas-form .form-col p, .form-row.form-row-full p {
    margin: 0;
  }

  .tankpas-form input[type="text"],
  .tankpas-form input[type="email"],
  .tankpas-form input[type="tel"],
  .tankpas-form input[type="number"],
  .tankpas-form textarea,
  .tankpas-form select {
    height: 40px;
    font-size: 14px;
    padding-top: 0px;
  }

  .tankpas-form input[type="submit"] {
    padding: 10px 20px 13px;
    font-size: 16px;
  }

  .tankpas-form .wpcf7-not-valid-tip {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 12px;
  }

  .tankpas-form .wpcf7-response-output {
    margin-bottom: 0;
  }

  .tankpas-form .wpcf7-form-control-wrap {
    padding-top: 12px;
  }
}