:root{
  --pth-radius: 16px;
  --pth-shadow: 0 18px 50px rgba(0,0,0,.18);
  --pth-shadow-soft: 0 10px 28px rgba(0,0,0,.10);
  --pth-text: #111;
  --pth-muted: rgba(0,0,0,.70);
  --pth-card-bg: rgba(255,255,255,.92);
  --pth-input-bg: rgba(255,255,255,.98);
  --pth-btn-bg: #111;
}

/* Full width background like Finder */
#pth-signup{
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;

  padding: 26px 14px 34px 14px;
  color: var(--pth-text);
  overflow: hidden;
}

#pth-signup::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("https://smash-n-connect.com/wp-content/uploads/2026/01/Padel-Trainer-manuell.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  z-index: 0;
}

@media (min-width: 860px){
  #pth-signup::before{
    background-image: url("https://smash-n-connect.com/wp-content/uploads/2026/01/Padel-Trainer-e1767720369447.png");
  }
}

#pth-signup::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.40) 40%, rgba(0,0,0,.58) 100%);
  z-index: 0;
}

.pth-card{
  position: relative;
  z-index: 1;

  max-width: 1040px;
  margin: 0 auto;

  background: var(--pth-card-bg);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: calc(var(--pth-radius) + 6px);
  box-shadow: var(--pth-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px;
}

.pth-title{
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.pth-sub{
  margin: 10px 0 18px 0;
  color: var(--pth-muted);
  max-width: 70ch;
}

.pth-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pth-row--coords{
  align-items: center;
}

.pth-row--checks{
  margin-top: 8px;
}

.pth-input{
  flex: 1;
  min-width: 180px;
  border: 1px solid rgba(0,0,0,.14);
  background: var(--pth-input-bg);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}

.pth-input:focus{
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 0 0 4px rgba(0,0,0,.10);
}

.pth-btn{
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  background: var(--pth-btn-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor:pointer;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.pth-btn:hover{
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.pth-btn--ghost{
  background: rgba(255,255,255,.85);
  color:#111;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: none;
}

.pth-btn--ghost:hover{
  background: rgba(255,255,255,.98);
  transform: none;
  box-shadow: none;
}

.pth-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 14px;
  color: rgba(0,0,0,.72);
}

.pth-mini{
  margin-top: 10px;
  color: rgba(0,0,0,.65);
  font-size: 13px;
}

.pth-notice{
  border-radius: 14px;
  padding: 10px 12px;
  margin: 12px 0;
  font-weight: 700;
}

.pth-notice--ok{
  background: rgba(0, 0, 0, .06);
  border: 1px solid rgba(0,0,0,.12);
}

.pth-notice--err{
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .25);
}

/* Honeypot hidden */
.pth-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}

/* Modal 700x600 */
.pth-modal{ display:none; }
.pth-modal.is-open{ display:block; }

.pth-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 9998;
}

.pth-modal-card{
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 700px;
  height: 600px;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);

  background: rgba(255,255,255,.98);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
  overflow: hidden;
}

.pth-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.pth-modal-title{ font-weight: 900; letter-spacing: -0.01em; }

.pth-modal-close{
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: rgba(0,0,0,.70);
}

.pth-modal-body{
  padding: 14px 16px 16px 16px;
  height: calc(600px - 56px);
  overflow: auto;
}

.pth-ol{ margin: 0 0 12px 18px; color: rgba(0,0,0,.80); }

.pth-help-img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: var(--pth-shadow-soft);
}
