/* NeoTab Price Gate */
.nt-pg {
  margin: 16px 0 6px; padding: 20px 18px; text-align: center;
  background: #F4F7FD; border: 1px dashed #BFCBE3; border-radius: 14px;
}
.nt-pg .nt-pg-btn { font-size: 16px; padding: 13px 24px; }
.nt-pg .nt-pg-hint { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--nt-muted, #66748E); }
.nt-pg-nota { margin: 18px 0 0; }

.nt-pg-inline {
  display: inline; margin: 0 1px; padding: 1px 9px; border: 0; border-radius: 999px;
  background: #EAF0FC; color: var(--nt-blue, #3F66C9);
  font: inherit; font-size: 0.88em; font-weight: 800; line-height: 1.5; white-space: nowrap; cursor: pointer;
  vertical-align: baseline;
}
.nt-pg-inline:hover { background: #DCE5F8; }
.nt-pg-inline:focus-visible, .nt-pg-btn:focus-visible { outline: 2px solid var(--nt-blue, #3F66C9); outline-offset: 2px; }
.nt-pg-anchor { display: block; height: 0; scroll-margin-top: 110px; }

html.nt-pg-lock, html.nt-pg-lock body { overflow: hidden; }

.nt-pg-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.nt-pg-modal[hidden] { display: none; }
.nt-pg-backdrop { position: absolute; inset: 0; background: rgba(20, 32, 58, 0.55); }
.nt-pg-dialog {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto;
  background: #FFFFFF; border-radius: 18px; padding: 30px 28px 26px; box-shadow: 0 24px 60px rgba(20, 32, 58, 0.35);
  color: var(--nt-body, #3D4C68); text-align: left;
}
.nt-pg-x {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--nt-muted, #66748E); font-size: 26px; line-height: 1; cursor: pointer;
}
.nt-pg-x:hover { background: #F1F4FA; color: var(--nt-ink, #1B2A4A); }
.nt-pg-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nt-blue, #3F66C9); }
.nt-pg-title { margin: 0 0 10px; font-family: var(--nt-display, inherit); font-size: 23px; line-height: 1.25; color: var(--nt-ink, #1B2A4A); }
.nt-pg-text { margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.nt-pg-small { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--nt-muted, #66748E); }
/* Fields: same look as the Contatti form (label 16px bold, white input, light border, error beside the label). */
.nt-pg-field { margin: 0 0 16px; }
.nt-pg-labrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.nt-pg-label { display: block; margin: 0; font-size: 16px; font-weight: 700; color: var(--nt-body, #3D4C68); }
.nt-pg-opt { font-size: 13px; font-weight: 500; color: var(--nt-faint, #8A96AC); }
.nt-pg-ferr { font-size: 12.5px; font-weight: 700; color: #D64545; text-align: right; }
.nt-pg-input {
  display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 6px 10px; min-height: 38px;
  font-family: inherit; font-size: 16px; color: #000000;
  border: 1px solid #DCDDDD; border-radius: 3px; background: #FFFFFF; box-shadow: none;
}
.nt-pg-input::placeholder { color: #9AA3B2; }
.nt-pg-input:focus { outline: none; border-color: var(--nt-blue, #3F66C9); box-shadow: 0 0 0 2px rgba(63, 102, 201, 0.15); }
.nt-pg-invalid .nt-pg-input { border-color: #D64545; }
.nt-pg-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.nt-pg-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--nt-blue, #3F66C9); }
.nt-pg-check a { color: var(--nt-blue, #3F66C9); }
.nt-pg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nt-pg-err { margin: 4px 0 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: #9B2C2C; background: #FDEDED; border-radius: 8px; }
.nt-pg-err[hidden] { display: none; }
.nt-pg-submit { display: block; width: 100%; margin-top: 6px; font-size: 16px; padding: 14px 20px; }
.nt-pg-submit[disabled] { opacity: 0.7; cursor: progress; }
.nt-pg-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--nt-blue, #3F66C9); text-decoration: underline; cursor: pointer; }
.nt-pg-prices { margin: 6px 0 0; }
.nt-pg-prices > :first-child { margin-top: 0; }
.nt-pg-prices .nt-pg-val, .nt-pg-prices:not(:has(*)) { font-family: var(--nt-display, inherit); font-size: 28px; font-weight: 800; color: var(--nt-ink, #1B2A4A); }

@media (max-width: 480px) {
  .nt-pg-dialog { padding: 26px 18px 20px; border-radius: 16px; }
  .nt-pg-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-pg .nt-pg-btn { transition: none; }
}
