/*
 Potensa Premium V3 — layout-only enhancement layered after V2.
 Locks the old page scroll; never changes form fields or authentication.
*/
html:has(> body.ptb-premium-mounted) {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.ptb-premium-mounted {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.ptb-premium-mounted .ptb-premium-root {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: clamp(8px,1.4vh,16px) !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
.ptb-premium-root .ptb-premium-frame {
  width: min(1480px,100%) !important;
  height: min(870px,calc(100dvh - clamp(16px,2.8vh,32px))) !important;
  max-height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0,1.09fr) minmax(0,.91fr);
  overflow: hidden !important;
}
.ptb-premium-root .ptb-premium-hero {
  min-height: 0 !important;
  min-width: 0 !important;
  padding: clamp(24px,4.1vh,48px) clamp(26px,3vw,46px) 90px;
}
.ptb-premium-root .ptb-premium-hero .ptb-hero-content {
  max-width: 440px;
  margin: 0 !important;
  text-align: left !important;
}
.ptb-premium-root .ptb-premium-hero .ptb-hero-title {
  color: #fff !important;
  font-size: clamp(38px,4vw,68px) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  text-align: left !important;
  margin: 0 0 16px !important;
}
.ptb-premium-root .ptb-premium-hero .ptb-hero-eyebrow {
  color: #fff !important;
  text-align: left !important;
}
.ptb-premium-root .ptb-premium-hero .ptb-hero-description {
  color: rgba(255,255,255,.97) !important;
  text-align: left !important;
}
.ptb-premium-root .ptb-premium-aside {
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: clamp(8px,1.8vh,22px) clamp(16px,2.2vw,32px) !important;
}
.ptb-premium-root .ptb-premium-card {
  width: 100% !important;
  max-width: 520px !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin: auto !important;
  padding: clamp(14px,2vh,24px) clamp(18px,2.2vw,32px) clamp(14px,1.8vh,22px) !important;
  border-radius: 26px;
}
.ptb-premium-root .ptb-brand-logo {
  width: clamp(105px,9vw,142px) !important;
  height: clamp(65px,9vh,84px) !important;
  margin: 0 auto clamp(7px,1vh,10px) !important;
}
.ptb-premium-root .ptb-brand-title {
  font-size: clamp(22px,2vw,29px) !important;
  margin: 0 0 4px !important;
  text-align: center !important;
}
.ptb-premium-root .ptb-brand-subtitle {
  font-size: 12px !important;
  margin: 0 0 clamp(10px,1.7vh,18px) !important;
}
.ptb-premium-root form label {
  margin: clamp(6px,1.2vh,12px) 0 5px !important;
  font-size: 12px !important;
}
.ptb-premium-root form .mb-3,
.ptb-premium-root form .mb-4,
.ptb-premium-root form .form-group {
  margin-bottom: clamp(7px,1.3vh,13px) !important;
}
.ptb-premium-root form input[type='text'],
.ptb-premium-root form input[type='password'],
.ptb-premium-root form input[type='email'],
.ptb-premium-root form input[type='number'],
.ptb-premium-root form input:not([type]),
.ptb-premium-root form select {
  min-height: clamp(43px,5.5vh,52px) !important;
  height: clamp(43px,5.5vh,52px) !important;
  border-radius: 13px !important;
  padding: 9px 14px !important;
}
.ptb-premium-root form button[type='submit'],
.ptb-premium-root form input[type='submit'] {
  min-height: clamp(43px,5.6vh,52px) !important;
  height: clamp(43px,5.6vh,52px) !important;
  margin-top: clamp(7px,1.4vh,13px) !important;
}
.ptb-premium-root .ptb-card-footer {
  margin-top: clamp(9px,1.5vh,15px) !important;
  padding: clamp(7px,1.1vh,11px) 12px !important;
}
/* Seamless waves: the distance exactly equals the SVG repeat width (700px). */
.ptb-premium-root .ptb-premium-waves {
  height: clamp(65px,11vh,114px) !important;
  bottom: 0 !important;
  top: auto !important;
  overflow: hidden !important;
  opacity: .85;
  transform: translateZ(0);
}
.ptb-premium-root .ptb-premium-wave {
  left: -700px !important;
  width: calc(100% + 1400px) !important;
  height: 145px !important;
  background-repeat: repeat-x !important;
  background-size: 700px 145px !important;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.ptb-premium-root .ptb-wave-one {
  background-image: url('ptb-wave-a-v3.svg') !important;
  bottom: -38px !important;
  opacity: .78;
  animation: ptb-v3-left 68s linear infinite !important;
}
.ptb-premium-root .ptb-wave-two {
  background-image: url('ptb-wave-b-v3.svg') !important;
  bottom: -48px !important;
  opacity: .66;
  animation: ptb-v3-right 93s linear infinite !important;
}
.ptb-premium-root .ptb-wave-three {
  background-image: url('ptb-wave-c-v3.svg') !important;
  bottom: -56px !important;
  opacity: .58;
  animation: ptb-v3-left 118s linear infinite !important;
}
@keyframes ptb-v3-left {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-700px,0,0); }
}
@keyframes ptb-v3-right {
  from { transform: translate3d(-700px,0,0); }
  to { transform: translate3d(0,0,0); }
}
.ptb-premium-root .ptb-bubble { opacity: .45; animation-duration: 29s !important; }
.ptb-premium-root .ptb-bubble:nth-of-type(2) { animation-duration: 36s !important; }
.ptb-premium-root .ptb-bubble:nth-of-type(3) { animation-duration: 32s !important; }
.ptb-premium-root .ptb-bubble:nth-of-type(4) { animation-duration: 39s !important; }
.ptb-premium-root .ptb-bubble:nth-of-type(5) { animation-duration: 34s !important; }
/* Short desktop windows: compact vertically instead of adding a second scrollbar. */
@media (min-width:901px) and (max-height:750px) {
  .ptb-premium-root .ptb-premium-hero { padding-top: 30px !important; }
  .ptb-premium-root .ptb-premium-card { padding: 10px 23px !important; }
  .ptb-premium-root .ptb-brand-logo { height: 59px !important; width: 100px !important; margin-bottom: 4px !important; }
  .ptb-premium-root .ptb-brand-subtitle { margin-bottom: 7px !important; }
  .ptb-premium-root form label { margin: 5px 0 3px !important; }
  .ptb-premium-root form input[type='text'],
  .ptb-premium-root form input[type='password'] { min-height: 42px !important; height: 42px !important; }
  .ptb-premium-root form button[type='submit'],
  .ptb-premium-root form input[type='submit'] { min-height: 43px !important; height: 43px !important; }
  .ptb-premium-root .ptb-card-footer { margin-top: 6px !important; padding: 6px !important; }
}
/* Mobile/tablet portrait: permit ONLY ONE page scroller when the keyboard or small screen demands it. */
@media (max-width:900px) {
  body.ptb-premium-mounted .ptb-premium-root {
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  .ptb-premium-root .ptb-premium-frame {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
  }
  .ptb-premium-root .ptb-premium-hero {
    flex: 0 0 auto;
    min-height: 185px !important;
    padding: 18px 20px 44px !important;
  }
  .ptb-premium-root .ptb-premium-aside {
    flex: 1 0 auto;
    padding: 16px 15px 26px !important;
    overflow: visible !important;
  }
  .ptb-premium-root .ptb-premium-card {
    max-width: 600px !important;
    padding: 20px 20px 18px !important;
  }
  .ptb-premium-root .ptb-premium-hero .ptb-hero-title {
    font-size: clamp(26px,5vw,36px) !important;
  }
  .ptb-premium-root .ptb-premium-waves {
    top: 140px !important;
    bottom: auto !important;
    height: 70px !important;
  }
}
@media (max-width:480px) {
  .ptb-premium-root .ptb-premium-card { padding: 16px !important; }
  .ptb-premium-root .ptb-brand-logo { width: 110px !important; height: 65px !important; }
  .ptb-premium-root .ptb-premium-hero { min-height: 165px !important; }
  .ptb-premium-root .ptb-premium-waves { top: 122px !important; height: 60px !important; }
  .ptb-premium-root .ptb-hero-chip { font-size: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ptb-premium-root .ptb-premium-wave,
  .ptb-premium-root .ptb-bubble { animation: none !important; }
}
