/* ==============================
   WRAPPER
   ============================== */
.rp-wrap{
  max-width: 720px;
  box-shadow: 0 18px 50px rgba(2,6,23,.06);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==============================
   INTRO
   ============================== */
.rp-intro{
  line-height:1.55;
  margin-bottom: 14px;
  text-align: center;
}

/* ==============================
   BUTTON
   ============================== */
.rp-btn{
  display: inline-block;
  width: auto;
  padding:14px 28px;
  font-weight:800;
  cursor:pointer;
  text-align:center;
  transition: transform .05s ease, opacity .15s ease;
}

.rp-btn:active{
  transform: translateY(1px);
}

/* ==============================
   FORM
   ============================== */
.rp-form{
  display:none;
  width:100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
}

.rp-form.is-open{
  display:block;
}

/* ==============================
   FIELDS
   ============================== */
.rp-field{
  margin-bottom: 12px;
}

.rp-field label{
  display:block;
  margin-bottom: 6px;
  font-weight: 700;
}

.rp-field input{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
}


.rp-field input:focus{
  border-color:#94a3b8;
  box-shadow: 0 0 0 3px rgba(148,163,184,.25);
}


/* ==============================
   CONSENT
   ============================== */
.rp-consent{
  margin: 10px 0 14px;
}

.rp-consent label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.4;
}

.rp-consent input{
  margin-top:3px;
}

/* ==============================
   SUBMIT
   ============================== */

/* Submit knop gecentreerd via flex (correcte methode) */
.rp-submit-row{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.rp-submit-row{
  text-align: center !important;
}

.rp-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  width: auto;
}
/* FORCE submit knop exact te centreren */
.rp-form .rp-submit-row{
  width: 100%;
  display: flex;
  justify-content: center;
}

.rp-form .rp-submit{
  width: auto !important;      /* 🔥 DIT IS DE SLEUTEL */
  min-width: unset !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


/* ==============================
   MESSAGES
   ============================== */
.rp-message{
  margin-top: 12px;
  font-weight:600;
}


/* ==============================
   MOBILE
   ============================== */
@media (max-width: 640px){
  .rp-wrap{
    border-radius: 16px;
  }

  .rp-intro{
    font-size: 15px;
    margin-bottom: 16px;
  }

  .rp-btn{
    padding: 16px 32px;
    font-size: 16px;
  }

  .rp-form{
    margin-top: 18px;
    padding-top: 18px;
  }

  .rp-field{
    margin-bottom: 14px;
  }

  .rp-field input{
    padding: 14px;
    font-size: 16px;
  }

  .rp-submit{
    padding: 16px 18px;
    font-size: 16px;
  }

  .rp-message{
    font-size: 15px;
  }
}
/* 🔥 HARD OVERRIDE TEGEN THEME CSS */
.rp-wrap .rp-form .rp-submit-row{
  width: 100%;
  text-align: center;
}

.rp-wrap .rp-form .rp-submit{
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
}


