/* ====================================================================
   PRO-Z · soft-wall.css
   Стили модалки гостевого лимита.
   ==================================================================== */

html.pz-sw-lock, html.pz-sw-lock body { overflow: hidden !important; }

#pz-softwall {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}
#pz-softwall.is-open { display: flex; }

#pz-softwall .pz-sw-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 35, 70, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: pz-sw-fade .18s ease-out;
}

#pz-softwall .pz-sw-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 26px 22px;
  box-shadow: 0 24px 60px rgba(15, 25, 60, .35);
  text-align: center;
  color: #1a2440;
  animation: pz-sw-pop .22s cubic-bezier(.2, .8, .25, 1);
  box-sizing: border-box;
}

#pz-softwall .pz-sw-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: #8088a3;
  cursor: pointer;
  border-radius: 8px;
  transition: background .12s, color .12s;
}
#pz-softwall .pz-sw-close:hover { background: #f1f4fb; color: #1a2440; }

#pz-softwall .pz-sw-badge {
  display: inline-block;
  background: #e6f4ec;
  color: #2a8a4a;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#pz-softwall h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #1a2f6b;
  font-weight: 700;
}

#pz-softwall .pz-sw-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a5375;
  margin: 0 0 22px;
}

#pz-softwall .pz-sw-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#pz-softwall .pz-sw-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: background .12s, border-color .12s, transform .08s;
  border: 1.5px solid transparent;
  cursor: pointer;
}
#pz-softwall .pz-sw-btn-primary {
  background: #1a2f6b;
  color: #ffffff;
}
#pz-softwall .pz-sw-btn-primary:hover { background: #233a82; }
#pz-softwall .pz-sw-btn-primary:active { transform: translateY(1px); }

#pz-softwall .pz-sw-btn-outline {
  background: #ffffff;
  color: #1a2f6b;
  border-color: #d4dbeb;
}
#pz-softwall .pz-sw-btn-outline:hover { border-color: #1a2f6b; }

#pz-softwall .pz-sw-or {
  font-size: 12px;
  color: #8088a3;
  margin: 6px 0 8px;
  letter-spacing: .3px;
}

#pz-softwall .pz-sw-pro {
  display: inline-block;
  background: #fff5d6;
  color: #8a6a17;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #f0e3a8;
  margin-bottom: 14px;
  transition: background .12s, border-color .12s;
}
#pz-softwall .pz-sw-pro:hover {
  background: #ffeeb3;
  border-color: #e0c97a;
}

#pz-softwall .pz-sw-later {
  display: block;
  margin: 4px auto 0;
  background: transparent;
  border: 0;
  color: #8088a3;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
#pz-softwall .pz-sw-later:hover { background: #f1f4fb; color: #1a2440; }

@keyframes pz-sw-fade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pz-sw-pop {
  from { opacity: 0; transform: scale(.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 520px) {
  #pz-softwall .pz-sw-card { padding: 26px 20px 18px; max-width: 100%; }
  #pz-softwall h2 { font-size: 18px; }
  #pz-softwall .pz-sw-text { font-size: 14px; }
  #pz-softwall .pz-sw-btn { padding: 10px 16px; font-size: 14px; flex: 1; min-width: 140px; }
}
