/* =============================================
   Privacy Nest Custom Styles
   ============================================= */

/* Translation loading states */
[data-i18n] {
  opacity: 0;
  transition: opacity 0.15s ease-in;
}
.translations-loaded [data-i18n] {
  opacity: 1;
}

/* Header Styles */
header.pn-header {
  padding: 15px 0;
  background-color: #e8e8e8;
}

.pn-logo {
  text-decoration: none;
}

.pn-logo img {
  height: 25px;
  margin-right: 10px;
}

.pn-logo-text {
  font-size: 14px;
  font-weight: 700;
}

/* Language Toggle */
.pn-lang-toggle {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.pn-lang-toggle:hover {
  background-color: #f5f5f5;
  color: #333;
}

.pn-login-btn {
  text-decoration: none;
  font-size: 12px;
}

.pn-login-btn svg {
  margin-right: 5px;
}

/* Banner Section Styles */
.pn-tagline {
  font-size: 12px;
  font-weight: 200;
  margin-bottom: 30px;
}

/* Main headline title */
.pro-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.pn-cta-container {
  max-width: 320px;
  margin: 0 auto;
}

/* CTA micro-animation: pulse + soft glow (no layout shift, same size) */
@keyframes pn-cta-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(91, 183, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 24px 8px rgba(91, 183, 94, 0.7), 0 0 40px 12px rgba(255, 255, 255, 0.15);
  }
}

.pn-cta-btn {
  display: block;
  width: 100%;
  background-color: #5ab65d;
  color: #fff;
  font-size: 33px;
  font-weight: 700;
  padding: 18px 40px;
  text-decoration: none;
  letter-spacing: 1px;
  text-align: center;
  transition: opacity 0.2s ease;
  animation: pn-cta-pulse-glow 1.5s ease-in-out infinite;
}

.pn-cta-btn:hover {
  opacity: 0.9;
  color: #fff;
}

.pn-subtitle {
  font-weight: 300;
  margin-top: 20px;
}

.pn-pricing {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}

/* Feature Section Styles */
.pn-feature-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.pn-feature-grid {
  max-width: 400px;
  margin: 0 auto;
}

.pn-feature-img {
  margin-bottom: 10px;
}

.pn-feature-img img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.pn-feature-text {
  font-size: 13px;
  line-height: 1.4;
}

/* Brand Section Styles */
.pn-brand-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
}

.pn-brand-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  margin: 0 auto;
}

.pn-brand-logo img {
  height: 40px;
  margin-right: 10px;
}

.pn-brand-logo-text {
  font-size: 16px;
  font-weight: 700;
}

.pn-brand-description {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Footer Styles */
.pn-footer {
  background-color: #f5f5f5;
  padding: 30px 20px;
}

.pn-security-text {
  font-size: 12px;
  margin-bottom: 20px;
}

.pn-footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.pn-footer-links a {
  font-size: 14px;
  text-decoration: none;
}

.pn-copyright {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* Email input styles */
#email {
  -webkit-text-security: none;
}

/* Modal CTA Button Styles (same pulse-glow as .pn-cta-btn) */
#btngo {
  display: block;
  width: 100%;
  background-color: #5ab65d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
  animation: pn-cta-pulse-glow 2.5s ease-in-out infinite;
}

#btngo.disabled {
  opacity: 0.5;
  pointer-events: none;
  animation: none;
}

#btngo:not(.disabled):hover {
  opacity: 0.9;
}

/* =============================================
   Original Styles
   ============================================= */

#first_name,
#last_name,
#line_1,
#zip_or_postcode,
#city,
#phone,
#country_code,
#click_id {
  position: absolute;
  left: -9999px;
}

.message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

/* .pay_input2 input {
  background-image: url("../../img/ninja/visa-new.4a85ec00dd4b.webp");
  background-repeat: no-repeat;
  background-position: 90% 50%;
} */

/* More aggressive fix for autocomplete */
input:-webkit-autofill {
  /* This creates a transparent overlay instead of using box-shadow */
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: #000 !important;
  background-clip: text !important;
}

/* Force the background image to stay as a separate layer */
.pay_input2 {
  position: relative;
}

.pay_input2 input {
  position: relative;
  z-index: 1;
  background-color: transparent !important;
}

@media screen and (max-width: 1199px) {
  .pay_input2::after {
    background-position: 95% 37% !important;
    background-size: 90px !important;
  }
}


.pay_input2::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../../img/ninja/visa-new.4a85ec00dd4b.webp");
  background-repeat: no-repeat;
  background-position: 95% 40%;
  background-size: 110px;
  pointer-events: none;
  z-index: 2;
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.pn-footer-section {
  display: none;
}



