:root {
  --poaa-lp-primary: #111111;
  --poaa-lp-secondary: #c8a46b;
  --poaa-lp-bg: #ffffff;
  --poaa-lp-text: #1f1f1f;
  --poaa-lp-muted: #777777;
  --poaa-lp-border: #e5e5e5;
  --poaa-lp-radius: 18px;
}

.poaa-lp-open {
  background: var(--poaa-lp-primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
}

.poaa-lp-month-price {
  font-weight: 600;
}

.poaa-lp-modal {
  display: none;
}

.poaa-lp-modal.is-open {
  display: block;
}

.poaa-lp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
}

.poaa-lp-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(860px, calc(100% - 24px));
  transform: translate(-50%, -50%);
  background: var(--poaa-lp-bg);
  border-radius: var(--poaa-lp-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  padding: 28px;
  z-index: 9999;
  color: var(--poaa-lp-text);
  box-sizing: border-box;
}

.poaa-lp-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.poaa-lp-header {
  margin-bottom: 18px;
}

.poaa-lp-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.poaa-lp-price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.poaa-lp-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #555;
  font-size: 12px;
  margin-bottom: 8px;
}

.poaa-lp-vat-note {
  font-size: 12px;
  color: var(--poaa-lp-muted);
  min-height: 16px;
}

.poaa-lp-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0 22px;
}

.poaa-lp-tab {
  border: 1px solid var(--poaa-lp-border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: .2s ease;
}

.poaa-lp-tab.is-active {
  background: var(--poaa-lp-primary);
  color: #fff;
  border-color: var(--poaa-lp-primary);
}

.poaa-lp-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
}

.poaa-lp-field {
  margin-bottom: 14px;
}

.poaa-lp-field label {
  display: block;
  font-size: 13px;
  color: var(--poaa-lp-muted);
  margin-bottom: 6px;
}

.poaa-lp-field input,
.poaa-lp-field textarea {
  width: 100%;
  border: 1px solid var(--poaa-lp-border);
  border-radius: 10px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 14px;
}

.poaa-lp-field input[readonly] {
  background: #fafafa;
}

.poaa-lp-month-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.poaa-lp-month-buttons button {
  border: 1px solid var(--poaa-lp-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 52px;
  cursor: pointer;
  transition: .2s ease;
  font-weight: 600;
}

.poaa-lp-month-buttons button.is-active {
  background: var(--poaa-lp-primary);
  color: #fff;
  border-color: var(--poaa-lp-primary);
}

.poaa-lp-summary {
  margin-top: 18px;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 18px;
}

.poaa-lp-summary-label {
  font-size: 12px;
  color: var(--poaa-lp-muted);
  margin-bottom: 6px;
}

.poaa-lp-summary-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--poaa-lp-primary);
}

.poaa-lp-form-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.poaa-lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.poaa-lp-full {
  grid-column: 1 / -1;
}

.poaa-lp-submit {
  width: 100%;
  margin-top: 16px;
  border: 0;
  background: var(--poaa-lp-primary);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
}

.poaa-lp-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: var(--poaa-lp-muted);
}

@media (max-width: 767px) {
  .poaa-lp-dialog {
    width: 100%;
    height: 100%;
    inset: 0;
    left: 0;
    top: 0;
    transform: none;
    border-radius: 0;
    overflow-y: auto;
    padding: 18px;
  }

  .poaa-lp-grid,
  .poaa-lp-form-grid {
    grid-template-columns: 1fr;
  }

  .poaa-lp-full {
    grid-column: auto;
  }
}


.poaa-lp-form .poaa-lp-summary {
  margin-top: 0;
  margin-bottom: 18px;
}

.poaa-lp-reassure {
  margin-top: 10px;
  font-size: 13px;
  color: var(--poaa-lp-muted);
  text-align: center;
}


.poaa-lp-contact-block{
    margin-top:18px;
    text-align:center;
}

.poaa-lp-logo{
    max-width:120px;
    margin-bottom:8px;
}

.poaa-lp-contact-links{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:10px;
}

.poaa-lp-contact-links a{
    color:var(--poaa-lp-primary);
    text-decoration:none;
    font-weight:600;
}

.poaa-lp-contact-links a:hover{
    text-decoration:underline;
}

.poaa-lp-particulier-logo{
    display:none;
    margin-top:6px;
}

.poaa-lp-particulier-logo img{
    max-width:120px;
    opacity:0.85;
}


.poaa-lp-open,
.poaa-lp-submit {
  background: var(--poaa-lp-button, var(--poaa-lp-primary));
}

.poaa-lp-contact-block{
    margin-top:18px;
    text-align:left;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.poaa-lp-logo{
    max-width:120px;
    margin-bottom:8px;
}

.poaa-lp-contact-links{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:10px;
    align-items:flex-start;
}

.poaa-lp-contact-links a{
    color:var(--poaa-lp-primary);
    text-decoration:none;
    font-weight:600;
}

.poaa-lp-contact-links a:hover{
    text-decoration:underline;
}

.poaa-lp-particulier-logo{
    display:none;
    margin-top:6px;
}

.poaa-lp-particulier-logo img{
    max-width:120px;
    opacity:0.85;
}

@media (max-width: 767px) {
  .poaa-lp-contact-block,
  .poaa-lp-contact-links {
    align-items:flex-start;
    text-align:left;
  }
}


.poaa-lp-col {
  min-width: 0;
}

.poaa-lp-calculator .poaa-lp-summary {
  margin-top: 14px;
  margin-bottom: 14px;
}

.poaa-lp-contact-block {
  margin-top: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poaa-lp-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
}

.poaa-lp-contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.poaa-lp-contact-links a {
  color: var(--poaa-lp-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.poaa-lp-contact-links a:hover {
  text-decoration: underline;
}

.poaa-lp-particulier-logo {
  display: none;
  margin-top: 6px;
}

.poaa-lp-particulier-logo img {
  max-width: 120px;
  height: auto;
  opacity: 0.9;
}

.poaa-lp-form {
  display: flex;
  flex-direction: column;
}

.poaa-lp-reassure {
  margin-top: 10px;
  font-size: 13px;
  color: var(--poaa-lp-muted);
  text-align: center;
}

.poaa-lp-disclaimer {
  text-align: center;
}

@media (max-width: 767px) {
  .poaa-lp-contact-links a {
    font-size: 15px;
  }
}


/* v8 layout tweaks */
.poaa-lp-grid {
  align-items: start;
}

.poaa-lp-form-title {
  margin-top: 0;
}

.poaa-lp-form .poaa-lp-form-grid {
  margin-top: 0;
}

.poaa-lp-form .poaa-lp-field:first-child,
.poaa-lp-form .poaa-lp-field:nth-child(2) {
  margin-top: 0;
}

.poaa-lp-logo {
  max-width: 70px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}

.poaa-lp-contact-block {
  margin-top: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poaa-lp-contact-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: center;
}

.poaa-lp-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.poaa-lp-contact-row a {
  color: var(--poaa-lp-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.poaa-lp-contact-row a:hover {
  text-decoration: underline;
}

.poaa-lp-sep {
  color: var(--poaa-lp-muted);
  font-weight: 600;
}

.poaa-lp-contact-links {
  display: none !important;
}

.poaa-lp-disclaimer {
  display: none !important;
}

@media (min-width: 768px) {
  .poaa-lp-form {
    padding-top: 0;
  }

  .poaa-lp-form-title {
    min-height: 27px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .poaa-lp-contact-row {
    flex-direction: column;
    gap: 4px;
  }

  .poaa-lp-sep {
    display: none;
  }
}


/* v9 layout polish */

.poaa-lp-logo{
  max-width:250px;
  width:100%;
  height:auto;
  margin:0 auto 12px;
  display:block;
}

.poaa-lp-contact-row a{
  font-size:15px;
}

.poaa-lp-summary{
  margin-bottom:22px;
}

/* vertical alignment fix */
.poaa-lp-grid{
  align-items:flex-start;
}

.poaa-lp-calculator{
  display:flex;
  flex-direction:column;
}

.poaa-lp-summary{
  order:10;
}

.poaa-lp-contact-block{
  order:11;
}

/* make right column start aligned visually */
.poaa-lp-form{
  padding-top:2px;
}

/* tighter spacing fields */
.poaa-lp-field{
  margin-bottom:12px;
}

.poaa-lp-form-grid{
  gap:12px;
}

@media(min-width:768px){
  .poaa-lp-summary-amount{
    font-size:34px;
  }
}


/* v10 particulier warning logo top */

.poaa-lp-warning-top{
  display:none;
  text-align:center;
  margin-bottom:14px;
}

.poaa-lp-warning-top img{
  max-width:200px;
  width:100%;
  height:auto;
  margin:0 auto;
  display:block;
}


/* v11 logo size adjustments */
.poaa-lp-logo{
  max-width:125px !important;
  width:100%;
  height:auto;
  margin:0 auto 10px;
  display:block;
}

.poaa-lp-warning-top{
  display:none;
  text-align:center;
  margin:0 0 12px 0;
  width:100%;
}

.poaa-lp-warning-top img{
  max-width:100px !important;
  width:100%;
  height:auto;
  margin:0 auto;
  display:block;
}

.poaa-lp-form{
  align-self:start;
}

.poaa-lp-form-title{
  margin-top:0;
}


/* v13 logo position fix */

.poaa-lp-logo-row{
    display:none;
    width:100%;
    margin:6px 0 10px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.poaa-lp-logo-left{
    max-width:120px;
    height:auto;
    margin:0;
}

.poaa-lp-logo-right{
    max-width:120px;
    height:auto;
    margin:0;
}

@media(max-width:767px){
    .poaa-lp-logo-row{
        flex-direction:column;
        gap:6px;
        align-items:center;
    }
}


/* v14 cleanup */

.poaa-lp-grid {
  align-items: start;
}

.poaa-lp-calculator,
.poaa-lp-form {
  min-width: 0;
}

.poaa-lp-form {
  padding-top: 0;
}

.poaa-lp-form-title {
  margin-top: 0;
  margin-bottom: 14px;
}

.poaa-lp-form-logo-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px 0;
  gap: 12px;
}

.poaa-lp-form-poaa-logo,
.poaa-lp-warning-logo {
  display: block;
  max-width: 100px;
  width: auto;
  height: auto;
}

.poaa-lp-logo {
  max-width: 125px !important;
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}

.poaa-lp-contact-block {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poaa-lp-contact-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: center;
}

.poaa-lp-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.poaa-lp-contact-row a {
  color: var(--poaa-lp-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.poaa-lp-contact-row a:hover {
  text-decoration: underline;
}

.poaa-lp-sep {
  color: var(--poaa-lp-muted);
  font-weight: 600;
}

.poaa-lp-summary {
  margin-top: 14px;
  margin-bottom: 16px;
}

.poaa-lp-summary-amount {
  line-height: 1.05;
}

@media (max-width: 767px) {
  .poaa-lp-form-logo-row {
    flex-direction: column;
    justify-content: center;
  }

  .poaa-lp-contact-row {
    flex-direction: column;
    gap: 4px;
  }

  .poaa-lp-sep {
    display: none;
  }

  .poaa-lp-form-poaa-logo,
  .poaa-lp-warning-logo {
    max-width: 90px;
  }
}


/* v17 header layout */

.poaa-lp-toprow{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:20px;
}

.poaa-lp-header-left{
    width:50%;
}

.poaa-lp-header-right{
    width:50%;
    display:flex;
    justify-content:flex-end;
}

.poaa-lp-header-left .poaa-lp-price{
    margin-top:6px;
}

@media(max-width:900px){
    .poaa-lp-toprow{
        flex-direction:column;
        gap:12px;
    }
    .poaa-lp-header-left,
    .poaa-lp-header-right{
        width:100%;
    }
    .poaa-lp-header-right{
        justify-content:flex-start;
    }
}


/* v18 tab buttons groter */
.poaa-lp-header-right .poaa-lp-tabs{
    margin-top:14px;
    width:100%;
    display:flex;
}

.poaa-lp-header-right .poaa-lp-tab{
    flex:1;
    text-align:center;
}

/* bottom logo row */
.poaa-lp-bottom-logos{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:6px;
}

.poaa-lp-warning-inline{
    max-width:70px;
    height:auto;
}


/* v19 layout fix */
.poaa-lp-toprow{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:20px;
}

.poaa-lp-header-left,
.poaa-lp-header-right{
  width:50%;
  box-sizing:border-box;
}

.poaa-lp-header-right{
  display:flex;
  justify-content:flex-end;
}

.poaa-lp-header-right .poaa-lp-tabs{
  margin-top:14px;
  width:100%;
  display:flex;
  gap:10px;
}

.poaa-lp-header-right .poaa-lp-tab{
  flex:1 1 50%;
  text-align:center;
}

.poaa-lp-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:24px !important;
  align-items:start !important;
}

.poaa-lp-col{
  min-width:0;
  width:auto;
}

.poaa-lp-form{
  display:block;
}

.poaa-lp-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.poaa-lp-full{
  grid-column:1 / -1;
}

.poaa-lp-bottom-logos{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:6px;
}

.poaa-lp-logo{
  max-width:125px !important;
  width:auto;
  height:auto;
  display:block;
  margin:0;
}

.poaa-lp-warning-inline{
  max-width:70px;
  width:auto;
  height:auto;
  display:none;
}

.poaa-lp-contact-block{
  margin-top:16px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

@media (max-width: 900px){
  .poaa-lp-toprow{
    flex-direction:column;
  }

  .poaa-lp-header-left,
  .poaa-lp-header-right{
    width:100%;
  }

  .poaa-lp-header-right{
    justify-content:flex-start;
  }
}

@media (max-width: 767px){
  .poaa-lp-grid{
    grid-template-columns:1fr !important;
  }

  .poaa-lp-form-grid{
    grid-template-columns:1fr;
  }

  .poaa-lp-full{
    grid-column:auto;
  }

  .poaa-lp-contact-row{
    flex-direction:column;
    gap:4px;
  }

  .poaa-lp-sep{
    display:none;
  }
}


/* v20 UX fixes */

.poaa-lp-header-right .poaa-lp-tabs{
    margin-top:32px !important;
}

/* titel calculator */
.poaa-lp-calc-title{
    font-weight:600;
    font-size:18px;
    margin-bottom:14px;
}

/* warning logo zelfde hoogte als poaa */
.poaa-lp-warning-inline{
    max-width:120px !important;
}

/* close overlap fix mobiel ook */
.poaa-lp-close{
    z-index:20;
}


/* v21 alignment + centered submit */
.poaa-lp-calculator,
.poaa-lp-form {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.poaa-lp-calc-title,
.poaa-lp-form-title {
  min-height: 28px;
  display: flex;
  align-items: center;
  margin-top: 0 !important;
  margin-bottom: 14px;
}

.poaa-lp-form-title {
  padding-top: 0 !important;
}

.poaa-lp-submit {
  display: block;
  width: min(370px, 100%);
  margin: 16px auto 0 auto !important;
  text-align: center;
}

.poaa-lp-reassure {
  text-align: center;
}

/* subtle monthly amount animation styling */
.poaa-lp-summary-amount {
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform, opacity;
}

.poaa-lp-summary-amount.is-updating {
  transform: scale(1.04);
  opacity: .85;
}


/* v22 fixes */
.poaa-lp-submit{
    display:block !important;
    margin:20px auto 0 auto !important;
    float:none !important;
}

.poaa-lp-form{
    align-self:start;
}


/* v23 mobile: contactblok onderaan formulier */
@media (max-width: 767px) {
  .poaa-lp-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .poaa-lp-calculator {
    order: 1;
  }

  .poaa-lp-form {
    order: 2;
    display: flex;
    flex-direction: column;
  }

  .poaa-lp-contact-block {
    order: 99;
    margin-top: 18px;
  }
}


/* v24 MOBILE FIX – contactblok echt onder formulier */
@media (max-width: 767px){

  .poaa-lp-grid{
    display:flex !important;
    flex-direction:column !important;
  }

  /* calculator inhoud 'los trekken' zodat blokken kunnen reorder */
  .poaa-lp-calculator{
    display:contents !important;
  }

  /* volgorde mobiel */
  .poaa-lp-field,
  .poaa-lp-month-buttons,
  .poaa-lp-balloon-wrap,
  .poaa-lp-summary{
    order:1;
  }

  .poaa-lp-form{
    order:2;
  }

  .poaa-lp-contact-block{
    order:3 !important;
    margin-top:22px;
  }

}


/* v25 mobile fix: keep normal columns structure, JS verplaatst contactblok */
@media (max-width: 767px){
  .poaa-lp-calculator{
    display:block !important;
  }
  .poaa-lp-form{
    display:block !important;
  }
  .poaa-lp-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .poaa-lp-contact-block{
    margin-top:18px;
  }
}


/* v26 mobile spacing for moved contact block */
@media (max-width: 767px){
  .poaa-lp-form .poaa-lp-contact-block{
    margin-top: 14px !important;
  }
}


/* v27 ensure moved contact block sits after reassure on mobile */
@media (max-width: 767px){
  .poaa-lp-form > .poaa-lp-contact-block{
    display:flex !important;
    width:100%;
    margin-top:16px !important;
  }
  .poaa-lp-calculator > .poaa-lp-contact-block{
    display:none !important;
  }
}


/* v28 form response */
.poaa-lp-response{
  margin-top:12px;
  border-radius:10px;
  padding:12px 14px;
  background:#f4f7f4;
  color:#1c5f2a;
  text-align:center;
  font-weight:600;
}
.poaa-lp-submit.is-loading{
  opacity:.75;
  pointer-events:none;
}


/* v31 license blocked */
.poaa-lp-license-blocked{
  padding:14px 16px;
  border-radius:12px;
  background:#fff4f4;
  color:#9f1d1d;
  border:1px solid #f0b4b4;
  font-weight:600;
}
