.ptf-waiver-box{
  background:#fff;
  border:1px solid #dfe6f2;
  border-radius:18px;
  padding:18px;
  margin:0 0 14px 0;
  box-shadow:0 8px 24px rgba(16,33,64,.06);
  max-width:100%;
}
.ptf-waiver-title{
  font-weight:800;
  color:#10213f;
  font-size:17px;
  margin-bottom:8px;
  display:flex;
  gap:8px;
  align-items:center;
  isolation:isolate;
}
.ptf-waiver-text{
  color:#24324a;
  font-size:14px;
  line-height:1.45;
  margin-bottom:14px;
}
.ptf-waiver-actions{
  display:flex;
  align-items:center;
  isolation:isolate;
  gap:12px;
  flex-wrap:wrap;
}
.ptf-waiver-btn{
  border:0;
  border-radius:999px;
  background:#10213f;
  color:#fff;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  font-size:14px;
}
.ptf-waiver-link{
  color:#10213f;
  text-decoration:underline;
  font-size:13px;
}
.ptf-waiver-modal{
  display:none;
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  background:rgba(20,29,45,.78) !important;
  align-items:center;
  isolation:isolate;
  justify-content:center;
  padding:18px;
}
.ptf-waiver-modal.is-open{display:flex;}
.ptf-waiver-dialog{
  background:#fff;
  width:min(860px, 100%);
  max-height:86vh;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
  display:flex;
  flex-direction:column;
}
.ptf-waiver-head{
  display:flex;
  align-items:center;
  isolation:isolate;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid #e7ecf4;
  color:#10213f;
  font-weight:900;
  font-size:18px;
}
.ptf-waiver-close{
  width:38px;
  height:38px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:#f3f6fb;
  font-size:20px;
  font-weight:900;
}
.ptf-waiver-content{
  padding:22px;
  overflow:auto;
  color:#1f2937;
  line-height:1.6;
  font-size:15px;
}
.ptf-waiver-content h3{
  margin:0 0 14px 0;
  color:#10213f;
  font-size:20px;
}
.ptf-waiver-content ul{padding-left:20px; margin:10px 0 18px 0;}
.ptf-waiver-content li{margin-bottom:10px;}
.ptf-waiver-note{
  background:#f6f8fc;
  border-left:4px solid #10213f;
  padding:12px 14px;
  border-radius:10px;
  margin-top:16px;
}
.ptf-waiver-foot{
  padding:16px 22px;
  border-top:1px solid #e7ecf4;
  display:flex;
  justify-content:flex-end;
}
.ptf-waiver-read-close{
  border:0;
  border-radius:999px;
  background:#10213f;
  color:#fff;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
}
.ptf-waiver-warning{
  display:none;
  color:#b42318;
  font-size:13px;
  margin-top:8px;
  font-weight:700;
}
.ptf-waiver-warning.is-visible{display:block;}
@media(max-width:600px){
  .ptf-waiver-box{padding:16px; border-radius:16px;}
  .ptf-waiver-dialog{max-height:90vh; border-radius:18px;}
  .ptf-waiver-head{padding:15px 16px; font-size:16px;}
  .ptf-waiver-content{padding:16px; font-size:14px;}
  .ptf-waiver-foot{padding:14px 16px;}
}

/* Mantiene la liberatoria sopra a qualsiasi popup LatePoint/Bricks */
body.ptf-waiver-open{
  overflow:hidden !important;
}
#ptf-waiver-modal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  margin:0 !important;
  transform:none !important;
  filter:none !important;
  opacity:1 !important;
  visibility:visible;
  contain:none !important;
  pointer-events:auto !important;
  z-index:2147483647 !important;
}
#ptf-waiver-modal:not(.is-open){
  display:none !important;
}
#ptf-waiver-modal.is-open{
  display:flex !important;
}
#ptf-waiver-modal .ptf-waiver-dialog{
  position:relative !important;
  z-index:2147483647 !important;
}

/* Pagina completa: usa lo stesso contenuto del popup */
.ptf-waiver-page{
  max-width:860px;
  margin:40px auto;
  padding:28px;
  background:#fff;
  border:1px solid #dfe6f2;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(16,33,64,.08);
  color:#1f2937;
  line-height:1.7;
}
.ptf-waiver-document h2{
  margin:0 0 18px;
  color:#10213f;
  font-size:28px;
  line-height:1.25;
}
.ptf-waiver-document h3{
  margin:28px 0 10px;
  color:#10213f;
  font-size:20px;
}
.ptf-waiver-document ul{
  padding-left:22px;
  margin:12px 0 20px;
}
.ptf-waiver-document li{margin-bottom:10px;}
@media(max-width:600px){
  .ptf-waiver-page{
    margin:20px 12px;
    padding:20px;
    border-radius:16px;
  }
  .ptf-waiver-document h2{font-size:23px;}
}
