/* ============================================================
   Wedding Expo Sign-Up — wedding-expo.css
   A focused, mobile-friendly kiosk form set over a stock
   wedding photo. Reuses the site brand tokens from site.css.
   ============================================================ */

.we-page {
  background: var(--rm-bg);
}

/* Hide the site-wide floating "Contact Us" tab on this focused kiosk page */
.we-page .rm-footer__contact-btn { display: none; }

/* ----- Stage: full-viewport photo with centred card ----- */
.we-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 56px 18px;
  overflow: hidden;
  box-sizing: border-box;
}
.we-stage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.we-stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.we-stage__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,16,10,0.50) 0%, rgba(24,16,10,0.62) 100%);
}
.we-stage__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
}

/* ----- Card ----- */
.we-card {
  background: var(--rm-white);
  border-radius: 18px;
  padding: 40px 38px 34px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.30);
}

/* ----- Header ----- */
.we-logo {
  display: block;
  width: 190px;
  max-width: 64%;
  height: auto;
  margin: 0 auto 14px;
}
.we-title {
  font-family: var(--rm-font-heading);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  color: var(--rm-text);
  margin: 0 0 6px;
}
.we-subtitle {
  font-family: var(--rm-font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--rm-gold);
  margin: 0 0 14px;
}
.we-intro {
  font-family: var(--rm-font-body);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: var(--rm-text);
  margin: 0 auto 26px;
  max-width: 420px;
}

/* ----- Deadline banner ----- */
.we-deadline {
  font-family: var(--rm-font-ui);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--rm-text);
  background: #faf3e7;
  border: 1px solid #ecdcc0;
  border-radius: 10px;
  padding: 11px 14px;
  margin: 0 0 24px;
}
.we-deadline strong { color: var(--rm-gold); white-space: nowrap; }
.we-countdown { display: block; margin-top: 3px; font-weight: 600; color: var(--rm-gold); }

/* ----- Fields ----- */
.we-field {
  margin-bottom: 16px;
}
.we-field label {
  display: block;
  font-family: var(--rm-font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--rm-text);
  margin-bottom: 6px;
}
.we-optional {
  color: var(--rm-text-light);
  font-weight: 400;
}
.we-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  font-family: var(--rm-font-body);
  font-size: 17px;            /* >=16px keeps iOS from zooming on focus */
  color: var(--rm-text);
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.we-field input:focus {
  outline: none;
  border-color: var(--rm-gold);
  box-shadow: 0 0 0 3px rgba(175,121,27,0.16);
}
.we-field input::placeholder {
  color: #bcb6ae;
}

/* ----- Error text ----- */
.we-error {
  display: block;
  font-family: var(--rm-font-ui);
  font-size: 12.5px;
  color: #c0392b;
  margin-top: 4px;
  min-height: 16px;
}

/* ----- Marketing opt-in ----- */
.we-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 22px;
  cursor: pointer;
  font-family: var(--rm-font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--rm-text);
}
.we-check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--rm-gold);
  cursor: pointer;
}

/* ----- Honeypot (hidden from humans) ----- */
.we-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----- Buttons ----- */
.we-btn {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 15px 24px;
  font-family: var(--rm-font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--rm-white);
  background: var(--rm-gold);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.we-btn:hover { background: var(--rm-gold-hover); }
.we-btn:active { transform: translateY(1px); }
.we-btn--ghost {
  color: var(--rm-gold);
  background: transparent;
  border: 1.5px solid var(--rm-gold);
  margin-top: 22px;
}
.we-btn--ghost:hover { color: var(--rm-white); background: var(--rm-gold); }

/* ----- Privacy note ----- */
.we-privacy {
  font-family: var(--rm-font-ui);
  font-size: 12px;
  line-height: 1.55;
  color: var(--rm-text-light);
  text-align: center;
  margin: 20px auto 0;
  max-width: 440px;
}
.we-privacy a {
  color: var(--rm-text-light);
  text-decoration: underline;
}
.we-privacy a:hover { color: var(--rm-text); }

/* ----- Panels (form / loading / confirmation) ----- */
.we-panel--hidden { display: none !important; }

/* ----- Loading ----- */
.we-loading {
  text-align: center;
  padding: 48px 0;
  font-family: var(--rm-font-body);
  color: var(--rm-text-light);
}
.we-spinner {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: 4px solid var(--rm-border);
  border-top-color: var(--rm-gold);
  border-radius: 50%;
  animation: we-spin 0.8s linear infinite;
  margin-bottom: 16px;
}
@keyframes we-spin { to { transform: rotate(360deg); } }

/* ----- Confirmation ----- */
.we-confirm {
  text-align: center;
  padding: 8px 0 4px;
}
.we-confirm__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #2f9e58;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}
.we-confirm__tick--closed {
  background: var(--rm-gold);
  font-size: 28px;
}
.we-confirm__heading {
  font-family: var(--rm-font-heading);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--rm-text);
  margin: 0 0 14px;
}
.we-confirm__entry {
  font-family: var(--rm-font-ui);
  font-size: 16px;
  color: var(--rm-text);
  margin: 0 0 16px;
}
.we-confirm__entry strong {
  font-size: 22px;
  color: var(--rm-gold);
  letter-spacing: 0.5px;
}
.we-confirm__detail {
  font-family: var(--rm-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rm-text-light);
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .we-stage {
    padding: 32px 14px;
  }
  .we-card {
    padding: 30px 22px 26px;
    border-radius: 14px;
  }
  .we-logo {
    width: 150px;
    margin-bottom: 10px;
  }
  .we-title {
    font-size: 28px;
  }
  .we-intro {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .we-confirm__heading {
    font-size: 25px;
  }
}
