/* Static Site Generator - Base Styles */
/* This file contains all static CSS for the generated static pages - Retail Airports */
/* CSS Hot Reload Test - Updated */

/* CSS Custom Properties for dynamic asset paths */
:root {
  --assets-path: "../assets";
  --boingo-red: #d52b1e;
  --new-boingo-blue: #007bff;
  --boingo-grey: #3d434a;
  --white: #fff;
  --black: #000;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  color: #333;
}

body.modal-open .wifi-container {
  filter: blur(5px);
  transition: filter 0.3s ease-in-out;
}

/* Wifi Container */
.wifi-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Full size background */
.fullsize-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Landing page container */
.landing-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Fixed background using pseudo-element */
.landing-page-with-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateZ(0); /* Force hardware acceleration */
  will-change: transform; /* Optimize for animations */
}

.landing-content {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.landing-page:has(.product-module) {
  background-color: rgb(90, 93, 100);
}

/* WiFi Header Styles */
.wifi-header {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #3c434b;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  padding: 10px 0;
}

.wifi-header-content {
  width: 100%;
  max-width: 1024px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.wifi-header-logo {
  display: flex;
  align-items: center;
}

.wifi-header-logo img {
  width: 80px;
  height: auto;
}

.wifi-header-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.wifi-header-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}

.wifi-header-links a:hover {
  text-decoration: underline;
}

.wifi-header-separator {
  color: var(--white);
}

.wifi-header-login {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
  text-decoration: none;
}

.wifi-header-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.wifi-header-login-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.wifi-header-mobile-menu {
  display: none;
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  padding: 0;
  margin-right: 10px;
}

.wifi-header-mobile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #3c434b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.wifi-header-mobile-dropdown.show {
  display: block;
}

.wifi-header-mobile-item {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}

.wifi-header-mobile-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.wifi-header-mobile-item:last-child {
  border-bottom: none;
}

/* WiFi Header Login Modal Styles */
.wifi-header-login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.wifi-header-login-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.wifi-header-login-modal-content {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90vw;
  width: 350px;
  position: relative;
  z-index: 10001;
}

.wifi-header-login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 8px 8px 0 0;
  background-color: #eee;
  border-bottom: 1px solid rgba(124, 124, 124, 0.1);
}

.wifi-header-login-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}

.wifi-header-login-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.wifi-header-login-modal-header h3 {
  color: var(--boingo-grey);
  margin: 0 0 0 -20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.wifi-header-login-modal-close {
  background: none;
  border: none;
  color: var(--boingo-grey);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wifi-header-login-modal-close:hover {
  color: #ccc;
}

.wifi-header-login-form {
  padding: 20px;
}

.wifi-header-login-form .form-field {
  margin: 25px 0 16px;
  position: relative;
}

.wifi-header-login-select,
.wifi-header-login-input {
  width: 100%;
  padding: 16px 12px 8px 12px;
  background-color: rgb(85, 86, 96);
  color: rgb(202, 202, 202);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.wifi-header-login-select:focus,
.wifi-header-login-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.wifi-header-login-submit {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--boingo-red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}

.wifi-header-login-submit.loading .button-text {
  opacity: 0;
}

.wifi-header-login-submit.loading + .button-loading {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: relative;
}

.wifi-header-login-submit.loading + .button-loading .spinner {
  position: absolute;
  margin-top: -44px;
}

.wifi-header-login-submit:hover {
  background-color: #b71c1c;
}

.wifi-header-login-submit:disabled {
  background-color: rgba(183, 28, 28, 0.4);
  cursor: not-allowed;
  text-indent: -9999px;
}

.wifi-header-login-error {
  color: var(--boingo-red);
  font-size: 14px;
  margin-top: 8px;
  padding: 8px;
  background-color: rgba(244, 67, 54, 0.1);
  border-radius: 4px;
  text-align: center;
}

.wifi-header-login-success {
  color: #4caf50;
  font-size: 14px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  text-align: center;
}

.wifi-header-forgot-password {
  display: block;
  text-align: center;
  color: var(--boingo-red);
  text-decoration: none;
  font-size: 14px;
  margin-top: 16px;
}

.wifi-header-forgot-password:hover {
  text-decoration: underline;
}

/* WiFi Payment Modal Styles */
.wifi-payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10002;
  align-items: center;
  justify-content: center;
}

.wifi-payment-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.wifi-payment-modal-content {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 400px;
  max-width: 90vw;
  position: relative;
  z-index: 10003;
}

.wifi-payment-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.wifi-payment-modal-icon {
  color: #4caf50;
  margin-bottom: 10px;
}

.wifi-payment-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.wifi-payment-modal-body {
  padding: 20px;
  text-align: center;
}

.wifi-payment-modal-body p {
  margin: 0;
  font-size: 16px;
  color: var(--boingo-grey);
  line-height: 1.5;
}

.wifi-payment-modal-actions {
  display: flex;
  gap: 12px;
  padding: 20px;
}

.wifi-payment-modal-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
  transition: background-color 0.2s ease;
}

.wifi-payment-modal-btn-primary {
  background-color: var(--boingo-red);
  color: var(--white);
}

.wifi-payment-modal-btn-primary:hover {
  background-color: #b71c1c;
}

.wifi-payment-modal-btn-primary:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.wifi-payment-modal-btn-secondary {
  background-color: transparent;
  color: var(--boingo-red);
  border: 1px solid var(--boingo-red);
}

.wifi-payment-modal-btn-secondary:hover {
  background-color: #e0e0e0;
}

.wifi-payment-modal-error {
  color: var(--boingo-red);
  font-size: 14px;
  margin-top: 10px;
  padding: 8px;
  background-color: rgba(244, 67, 54, 0.1);
  border-radius: 4px;
}

/* Modules container */
.modules-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* Module card */
.module-card {
  width: 450px;
  border-radius: 4px;
  padding: 16px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  align-items: center;
}

/* Module content */
.module-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.module-image {
  flex-shrink: 0;
  width: 60px;
  align-self: flex-start;
}

.module-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.module-custom-image {
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  margin-right: 16px;
}

.module-custom-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.module-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color:#545861;
}

.module-text .module-description ul {
  margin-inline-start: 1rem;
  margin-inline-end: 1rem;
}

.module-title {
  margin: 0;
  font-size: 15px;
  color: #545861;
  font-family: "Figtree",Arial,sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--boingo-grey);
  font-size: 16px;
  width: 100%;
  margin-bottom:0px;
}

.product-module {
  text-align: center;
}

.product-module .module-title {
  font-size: 1.5rem;
  font-family: 'Museo Slab 900', serif;
  color: var(--boingo-red);
  margin-bottom: 16px;
}

.signup-form-container .module-card {
  margin-top:0px!important;
}

.product-module .module-card {
  margin-bottom:20px;
}

.product-module .price-amount {
  font-family: 'Museo Slab 700', serif;
  font-size: 2rem;
  line-height: 1.334;
}

.product-price {
  margin-bottom: 8px;
  color: rgb(84, 88, 97);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.235;
}

.product-price .price-period {
  font-size: 16px;
  font-family: 'Museo Slab 700', serif;
}

.module-description {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: pre-line;
  -webkit-text-decoration-skip: none;
  -webkit-text-size-adjust: none;
  font-family: "Figtree", Arial, sans-serif;
  padding-right: 8px;
}

.module-description ul li {
  margin-inline-start: 2rem;
  margin-inline-end: 2rem;
}

.module-subtitle {
  margin-bottom:8px;
}

/* Module arrow */
.module-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
  position: relative;
}

.module-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 3px solid;
  border-bottom: 3px solid;
  transform: rotate(-45deg);
  display: block;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 16px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #245ba3;
  color: white;
  border-color: #245ba3;
}

a:-webkit-any-link {
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #1a4480;
  border-color: #1a4480;
}

.btn-outlined {
  background-color: transparent;
  color: #245ba3;
  border-color: #245ba3;
}

.btn-outlined:hover {
  background-color: #245ba3;
  color: white;
}

/* Terms and conditions */
.terms {
  width:100%;
  margin-top: 16px;
}

.terms a {
  color: inherit;
  text-decoration: none;
}

.module-wrapper {
  width:100%;
}

/* Module wrapper styles */
.module-wrapper[data-module-type="wg-authentication"] {
  cursor: pointer;
  max-width: 450px;
}

/* Loading state for one-click buttons */
.one-click-button.loading {
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.one-click-button.loading .btn {
  position: relative;
  color: transparent !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.one-click-button.loading .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: inherit;
  z-index: 1;
}

.one-click-button.loading .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Welcome image */
.welcome-image {
  width: 100%;
  text-align: center;
}

.welcome-image img {
  width: 60px;
  height: auto;
}

/* Logo image */
.logo-image {
  width: 100%;
  text-align: center;
}

.logo-image img {
  height: auto;
  object-fit: contain;
}

/* One-click image */
.one-click-image {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.one-click-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* One-click button */
.one-click-button {
  width: 100%;
  text-align: center;
}

.one-click-button .btn {
  width: 100%;
  font-weight: bold;
}

/* Custom large image */
.custom-large-image {
  width: 100%;
  text-align: center;
  display:flex;
  justify-content: center;
  align-items: center;
}

.custom-large-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile styles */
@media (max-width: 600px) {
  .landing-content {
    padding: 10px 16px 0;
  }

  .module-card {
    width: 100%;
  }

  .module-custom-image {
    width: 28px;
    height: 28px;
  }

  .module-arrow {
    width: 16px;
    height: 16px;
  }

  .module-content {
    gap: 8px;
  }

  .welcome-image img {
    width: 50px;
  }

  .one-click-button .btn {
    min-width: 140px;
    font-size: 16px;
  }
}

/* Desktop styles */
@media (min-width: 601px) {
  .landing-page.fullsize-bg {
    min-height: auto;
  }

  .landing-content {
    padding: 10px 0 0;
  }

  .module-content {
    gap: 16px;
  }
}

/* Tablet styles for header */
@media (min-width: 601px) and (max-width: 1024px) {
  .wifi-header {
    padding: 10px 40px;
  }

  .wifi-header-content {
    gap: 32px;
  }

  .wifi-header-logo {
    margin-left: 16px;
  }

  .wifi-header-logo img {
    width: 75px;
  }

  .wifi-header-links {
    display: flex;
  }
}

/* Desktop styles for header */
@media (min-width: 1025px) {
  .wifi-header {
    padding: 10px 0;
  }

  .wifi-header-logo img {
    width: 80px;
  }

  .wifi-header-links {
    display: flex;
  }
}

/* Mobile styles for header */
@media (max-width: 768px) {
  .wifi-header-content {
    padding: 0 16px;
  }

  .wifi-header-logo img {
    width: 70px;
  }

  .wifi-header-links {
    display: none;
  }

  .wifi-header-mobile-menu {
    display: block;
  }

  .wifi-payment-modal-content {
    width: 320px;
  }
}

@media (max-width: 480px) {
  .wifi-header-content {
    padding: 0 8px;
  }

  .wifi-header-logo img {
    width: 60px;
  }

  .wifi-header-login-modal-content {
    width: 100%;
  }

  .wifi-payment-modal-content {
    width: 280px;
  }
}

@media (max-width: 600px) {
  .wifi-header-mobile-menu {
    display: block;
  }

  .wifi-header-links {
    display: none;
  }
}

/* WiFi Footer Styles */
.wifi-footer {
  width: 100%;
  background-color: #2b2f36;
  color: var(--white);
  margin-top: auto;
  padding: 16px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  min-height: 40px;
}

.wifi-footer-content {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.wifi-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  margin: 8px 0;
}

.wifi-footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}

.wifi-footer-separator {
  color: rgba(255, 255, 255, 0.5);
}

.wifi-footer-language-selector {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.wifi-footer-language-button {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  text-transform: none;
  font-size: 13px;
  padding: 6px 16px;
  min-width: 120px;
  width: auto;
  justify-content: center;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}

.wifi-footer-language-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.wifi-footer-language-icon {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.wifi-footer-language-button.open .wifi-footer-language-icon {
  transform: rotate(180deg);
}

.wifi-footer-language-dropdown {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2b2f36;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  border-radius: 4px;
  min-width: 120px;
  width: auto;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1000;
}

.wifi-footer-language-dropdown.show {
  display: block;
}

.wifi-footer-language-item {
  display: block;
  padding: 8px 16px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
}

.wifi-footer-language-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.wifi-footer-language-item:last-child {
  border-bottom: none;
}

.wifi-footer-language-item.selected {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Tablet styles for footer */
@media (min-width: 601px) and (max-width: 1024px) {
  .wifi-footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .wifi-footer-links {
    width: auto;
    margin: 0;
    flex: 1;
    justify-content: center;
  }

  .wifi-footer-language-selector {
    width: auto;
    margin-left: auto;
  }
}

/* Desktop styles for footer */
@media (min-width: 1025px) {
  .wifi-footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .wifi-footer-links {
    width: auto;
    margin: 0;
    flex: 1;
    justify-content: center;
  }

  .wifi-footer-language-selector {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Custom Form Styles */
.custom-form {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 0;
}

.form-field {
  margin-bottom: 16px;
  width: 100%;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: var(--white);
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  height: 50px;
  color: #222;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--new-boingo-blue);
}

.form-field input::placeholder {
  color: #999;
}

.form-field select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 8L2 4h8z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

/* Floating Label Styles */
.form-field.floating-label {
  position: relative;
  margin-bottom: 15px;
}

.form-field.floating-label input {
  padding: 16px 12px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--white);
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 200;
  color: #222;
}

.form-field.floating-label input:focus {
  outline: none;
  border-color: var(--new-boingo-blue);
}

.form-field.floating-label .floating-label-text {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 200;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: var(--white);
  padding: 0 4px;
  z-index: 1;
}

.form-field.floating-label input:focus + .floating-label-text,
.form-field.floating-label input:not(:placeholder-shown) + .floating-label-text,
.form-field.floating-label.has-content .floating-label-text,
.form-field.floating-label.error .floating-label-text {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--new-boingo-blue);
  font-weight: 500;
}

.form-field.floating-label input:focus + .floating-label-text {
  color: var(--new-boingo-blue);
}

.form-field.floating-label
  input:not(:focus):not(:placeholder-shown)
  + .floating-label-text,
.form-field.floating-label.has-content:not(:focus-within) .floating-label-text {
  color: #666;
}

.form-field.floating-label.error .floating-label-text {
  color: var(--boingo-red);
}

.form-field.floating-label.error input {
  border-color: var(--boingo-red);
}

.form-field.floating-label input::placeholder {
  color: transparent;
}

/* Braintree Hosted Fields Floating Label Styles */
.form-field.floating-label.braintree-field-container {
  position: relative;
  margin-bottom: 15px;
}

.form-field.floating-label.braintree-field-container .braintree-field {
  padding: 16px 12px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: var(--white);
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  height: 50px;
  min-height: 50px;
  position: relative;
  cursor: text;
  pointer-events: auto;
  overflow: hidden;
}

/* Braintree field iframe styling */
.form-field.floating-label.braintree-field-container .braintree-field iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
  z-index: 1 !important;
}

/* Braintree floating label - default position */
.form-field.floating-label.braintree-field-container .floating-label-text {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 200;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: var(--white);
  padding: 0 4px;
  z-index: 2;
}

/* Braintree floating label - active/focused/has-content states */
.form-field.floating-label.braintree-field-container.has-content
  .floating-label-text,
.form-field.floating-label.braintree-field-container.focused
  .floating-label-text,
.form-field.floating-label.braintree-field-container:focus-within
  .floating-label-text {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--new-boingo-blue);
  font-weight: 500;
}

/* Braintree floating label - focused state */
.form-field.floating-label.braintree-field-container.focused
  .floating-label-text,
.form-field.floating-label.braintree-field-container:focus-within
  .floating-label-text {
  color: var(--new-boingo-blue);
}

/* Braintree floating label - has content but not focused */
.form-field.floating-label.braintree-field-container.has-content:not(
    .focused
  ):not(:focus-within)
  .floating-label-text {
  color: #666;
}

/* Braintree floating label - error state */
.form-field.floating-label.braintree-field-container.error
  .floating-label-text {
  color: var(--boingo-red);
}

/* Braintree field focus states */
.form-field.floating-label.braintree-field-container:focus-within
  .braintree-field {
  border-color: var(--new-boingo-blue);
}

.form-field.floating-label.braintree-field-container.error .braintree-field {
  border-color: var(--boingo-red);
}

/* Braintree field hover effect */
.form-field.floating-label.braintree-field-container .braintree-field:hover {
  border-color: var(--new-boingo-blue);
}

/* Ensure Braintree field containers can receive focus */
.braintree-field:focus-within,
.braintree-field:focus {
  outline: none;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.checkbox-field input[type="checkbox"] {
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
  order: 1;
  height: 20px;
  width: 20px;
}

.checkbox-field label {
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  font-size: 12px;
  flex: 1;
  order: 2;
  text-align: left;
}

.checkbox-field a {
  color: var(--boingo-red);
  text-decoration: none;
}

.checkbox-field a:hover {
  text-decoration: none;
}

.checkbox-field .form-error {
  width: 100%;
  margin-top: 4px;
  margin-left: 0;
  text-align: left;
  flex-basis: 100%;
  order: 3;
}

.checkbox-field .form-error.show {
  display: block;
}

.star-note {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.star-note .required-message {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

.required-message {
  align-self: flex-start;
  text-align: left;
}

.custom-terms {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.custom-terms a {
  color: inherit;
  text-decoration: underline;
}

.custom-terms a:hover {
  text-decoration: none;
}

.sponsored-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.sponsored-by img {
  max-height: 30px;
  width: auto;
}

.custom-form-submit,
.custom-form-submit-2 {
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 8px;
}

.custom-form-submit:hover,
.custom-form-submit-2:hover {
  opacity: 0.9;
}

.custom-form-submit:disabled,
.custom-form-submit-2:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-form-submit.loading .button-text,
.custom-form-submit-2.loading .button-text {
  opacity: 0;
}

.custom-form-submit.loading .button-loading,
.custom-form-submit-2.loading .button-loading {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.button-bottom-message {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.form-error {
  color: var(--boingo-red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
  text-align: left;
}

.form-error.show {
  display: block;
}

.form-error-message {
  color: var(--boingo-red);
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
  padding: 12px;
  border-radius: 4px;
}

.form-error-message.show {
  display: block !important;
}

/* Form field validation states */
.form-field input.error,
.form-field select.error {
  border-color: var(--boingo-red);
}

.form-field input.error:focus,
.form-field select.error:focus {
  border-color: var(--boingo-red);
}

/* Country selector specific styles */
#zipCodeRfc-field {
  transition: all 0.3s ease;
}

#zipCodeRfc-field.show {
  display: block !important;
}

/* Signup Form Styles - inherit from custom-form */
.signup-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
}

.signup-form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.signup-section-title {
  margin: 35px 0;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
  color: #333;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
}

.signup-submit-button {
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 8px;
  background-color: var(--boingo-red);
  color: white;
}

.signup-submit-button:hover:not(:disabled) {
  background-color: rgba(213, 43, 30, 0.75);
}

.signup-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: rgba(100, 103, 109, 0.5);
  border: none;
}

.signup-submit-button.loading .button-text {
  opacity: 0;
}

.signup-submit-button.loading .button-loading {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.signup-total {
  font-size: 21px;
  font-weight: 500;
  color: #333;
}

.total-amount {
  font-weight: 600;
  color: #333;
}

.purchase-agreement {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

.credit-card-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.credit-card-logos img {
  height: 32px;
  width: auto;
}

/* Apple Pay Styles */
.apple-pay-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0;
}

.apple-pay-button {
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: plain;
  height: 44px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  margin: auto;
}

.apple-pay-button:hover {
  opacity: 0.8;
}

.apple-pay-button:active {
  transform: scale(0.98);
}

/* Express Checkout Container */
.express-checkout-container {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 20px;
  margin: 20px 0;
}

.express-checkout-label {
  display: flex;
  align-items: center;
  text-align: center;
  color: #666;
  margin: -30px auto 15px auto;
  background-color: #fff;
  width: 50%;
}

.express-checkout-label::before,
.express-checkout-label::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #fff;
}

.express-checkout-label span {
  padding: 0 10px;
}

#apple-pay-container,
#paypal-button-container {
  margin-bottom: 10px;
}

.selected-payment-method-pill {
  position: relative;
  border-radius: 45px;
  padding: 5px;
  text-align: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--white);
  width: 50%;
  margin: auto;
  background-color: var(--new-boingo-blue);
  align-items: anchor-center;
  flex-direction: column;
}

.selected-payment-method-pill .checkmark {
  display: inline-block;
  transform: rotate(45deg);
  height: 18px;
  width: 10px;
  position: absolute;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  left: 15px;
  right: 0;
}

/* Fallback for non-Safari browsers */
.apple-pay-button:not([style*="-webkit-appearance"]) {
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Payment method divider */
.payment-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.payment-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: 1;
}

.payment-divider span {
  background: var(--white);
  padding: 0 15px;
  color: #666;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

/* Credit card fields container */
.credit-card-fields {
  transition: opacity 0.3s ease;
}

.credit-card-fields.hidden {
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive Apple Pay button */
@media (max-width: 480px) {
  .apple-pay-button {
    height: 40px;
    font-size: 14px;
  }

  .apple-pay-button:not([style*="-webkit-appearance"])::before {
    width: 16px;
    height: 16px;
  }
}

/* Signup Modal Dialog Styles */
.signup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.signup-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.signup-modal-content {
  background-color: var(--white);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border-radius: 4px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.signup-modal-overlay.show .signup-modal-content {
  transform: scale(1);
}

.signup-modal-logo img {
  height: 70px;
  margin: 25px 0 10px;
}

.signup-modal-message {
  font-size: 16px;
  color: #333;
  margin: 25px 0 10px;
}

.signup-modal-message.error {
  color: var(--boingo-red);
}

.signup-modal-spinner,
.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--boingo-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 16px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.signup-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

/* Mobile responsive styles for forms */
@media (max-width: 768px) {
  .custom-form,
  .signup-form {
    max-width: 100%;
  }

  .modules-cookied {
    width:100%;
  }

  .form-field input,
  .form-field select {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .custom-form-submit,
  .custom-form-submit-2,
  .signup-submit-button {
    padding: 14px 24px;
    font-size: 16px;
  }

  .signup-form-container {
    max-width: 100%;
  }

  .credit-card-logos img {
    height: 28px;
  }
}
