#dj-swiss-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

#dj-swiss-popup-overlay.dj-swiss-popup-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#dj-swiss-popup-overlay.dj-swiss-popup-hidden {
  display: none;
}

#dj-swiss-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

#dj-swiss-popup-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 0;
  outline: none;
  background: transparent;
}

#dj-swiss-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background .15s ease;
}

#dj-swiss-popup-close:hover {
  background: rgba(255, 255, 255, .22);
}

body.dj-swiss-popup-open {
  overflow: hidden;
}

#swiss-popup * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#swiss-popup {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFFFFF;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 38px 34px;
  border: 0;
  outline: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#swiss-popup .sp-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 22px;
}

#swiss-popup .sp-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#swiss-popup h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .005em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

#swiss-popup .sp-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  max-width: 360px;
  margin: 0 auto 26px;
}

#swiss-popup .sp-row {
  display: flex;
  gap: 12px;
}

#swiss-popup .sp-field {
  flex: 1;
  text-align: left;
  margin-bottom: 12px;
}

#swiss-popup label {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 6px;
}

#swiss-popup input[type="text"],
#swiss-popup input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  color: #FFFFFF;
  font-size: 15px;
  padding: 12px 13px;
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

#swiss-popup input::placeholder {
  color: rgba(255, 255, 255, .58);
}

#swiss-popup input:focus {
  border-color: #C8A45C;
  background: rgba(255, 255, 255, .20);
}

#swiss-popup input.form_error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, .45);
}

#swiss-popup .sp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin: 8px 0 8px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color .15s ease, background .15s ease;
}

#swiss-popup .sp-consent.form_error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, .14);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, .35);
}

#swiss-popup .sp-consent.form_error label {
  color: #ffc8c8;
}

#swiss-popup .sp-field.form_error label {
  color: #ffc8c8;
}

#swiss-popup .sp-field-error,
#swiss-popup .sp-consent-error {
  display: none;
  text-align: left;
  font-size: 11px;
  line-height: 1.45;
  color: #ff6b6b;
  margin: 6px 0 0;
}

#swiss-popup .sp-field-error.is-visible,
#swiss-popup .sp-consent-error.is-visible {
  display: block;
}

#swiss-popup .sp-req {
  color: #ff6b6b;
  font-weight: 700;
}

#swiss-popup .sp-consent-error {
  margin: 0 0 18px;
}

#swiss-popup .sp-consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: #C8A45C;
  flex-shrink: 0;
  cursor: pointer;
}

#swiss-popup .sp-consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
  margin: 0;
  cursor: pointer;
}

#swiss-popup .sp-consent a {
  color: #E1C27A;
  text-decoration: underline;
}

#swiss-popup button[type="submit"] {
  width: 100%;
  background: #FFFFFF;
  color: #111111;
  border: 0;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  font-family: inherit;
}

#swiss-popup button[type="submit"]:hover:not(:disabled) {
  background: #F2F2F2;
}

#swiss-popup button[type="submit"]:disabled {
  opacity: .65;
  cursor: wait;
}

#swiss-popup .sp-msg {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #E1C27A;
}

#swiss-popup .sp-note {
  font-size: 11px;
  color: rgba(255, 255, 255, .68);
  margin-top: 16px;
  line-height: 1.5;
}

#swiss-popup .sp-note a {
  color: #FFFFFF;
}

@media (max-width: 420px) {
  #dj-swiss-popup-overlay {
    padding: 12px;
  }

  #swiss-popup {
    padding: 32px 22px 28px;
    background-position: center center;
  }

  #swiss-popup .sp-logo img {
    width: 150px;
    max-height: 46px;
  }

  #swiss-popup h2 {
    font-size: 25px;
  }

  #swiss-popup .sp-row {
    flex-direction: column;
    gap: 0;
  }
}
