/* Modal: 4-weken proberen (succesverhaalpagina's) */
.sv-proberen-modal{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}
.sv-proberen-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.sv-proberen-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  border:0;
  padding:0;
  cursor:pointer;
}
.sv-proberen-modal__dialog{
  position:relative;
  z-index:1;
  width:100%;
  max-width:520px;
  max-height:100%;
  overflow:auto;
  background:#121418;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:28px 24px 24px;
  box-shadow:0 24px 64px rgba(0,0,0,.45);
  color:#f3f4f6;
  -webkit-overflow-scrolling:touch;
}
.sv-proberen-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border:0;
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#f3f4f6;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sv-proberen-modal__close:hover{
  background:rgba(255,255,255,.14);
}
.sv-proberen-modal__form{
  margin:0;
  padding:0;
  background:transparent;
  border:0;
}
.sv-proberen-modal__title{
  margin:0 36px 16px 0;
  font-size:clamp(20px,3.2vw,26px);
  font-weight:700;
  line-height:1.25;
  color:#f3f4f6;
}
.sv-proberen-modal__plekken{
  position:relative;
  background:#333;
  border-radius:6px;
  height:36px;
  width:100%;
  overflow:hidden;
  margin-bottom:20px;
}
.sv-proberen-modal__plekken-fill{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  background:#C3A300;
  border-radius:6px;
  transition:width 2s ease-in-out;
  width:0;
}
.sv-proberen-modal__plekken-tekst{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  color:#000;
  font-weight:700;
  font-size:14px;
  z-index:1;
}
.sv-proberen-modal__intro{
  margin:0 0 24px;
  font-size:15px;
  line-height:1.65;
  color:#cbd5e1;
}
.sv-proberen-modal__group{
  margin-bottom:20px;
}
.sv-proberen-modal__group label{
  display:block;
  margin-bottom:8px;
  color:#f3f4f6;
  font-size:14px;
  font-weight:500;
}
.sv-proberen-modal__group input{
  width:100%;
  box-sizing:border-box;
  padding:12px 16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  color:#f3f4f6;
  font-size:16px;
  font-family:inherit;
}
.sv-proberen-modal__group input:focus{
  outline:none;
  background:rgba(255,255,255,.08);
  border-color:#C3A300;
}
.sv-proberen-modal__group input::placeholder{
  color:rgba(255,255,255,.4);
}
.sv-proberen-modal__submit{
  width:100%;
  padding:14px 24px;
  margin-top:8px;
  background:#C3A300;
  color:#000;
  border:none;
  border-radius:8px;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  font-family:inherit;
}
.sv-proberen-modal__submit:hover{
  filter:brightness(1.1);
}
.sv-proberen-modal__submit:disabled{
  opacity:.7;
  cursor:wait;
}
body.sv-proberen-modal-open{
  overflow:hidden;
}

@media (max-width:768px){
  .sv-proberen-modal{
    align-items:stretch;
    justify-content:stretch;
  }
  .sv-proberen-modal__dialog{
    max-width:none;
    max-height:none;
    height:100%;
    border-radius:0;
    border:0;
    padding:56px 20px 28px;
  }
  .sv-proberen-modal__close{
    top:16px;
    right:16px;
  }
}
