/* ═══════════════════════════════════════════════════════════════════════
   MDYD Community Engagement Tent Request — Form Styles
   Mirrors the registration form design language.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --exh-yellow:   #ffe100;
  --exh-pink:     #e9008a;
  --exh-cyan:     #00d8ff;
  --exh-muted:    #c7c6d2;
  --exh-error:    #ff4d6d;
  --exh-line:     rgba(255,255,255,.16);
  --exh-input-bg: rgba(0,0,0,.45);
  --exh-panel:    rgba(255,255,255,.045);
  --exh-display:  Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --exh-body:     Arial, Helvetica, sans-serif;
  --exh-trans:    .18s ease;
}

/* ── Wrapper ───────────────────────────────────────────────────────────────── */
.mdyd-exh-wrap {
  font-family: var(--exh-body);
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Form title ────────────────────────────────────────────────────────────── */
.exh-form-title {
  margin-bottom: 20px;
}
.exh-form-title__main {
  font-family: var(--exh-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .03em;
  margin: 0 0 6px;
  line-height: 1.1;
}
.exh-form-title__sub {
  font-size: .88rem;
  color: var(--exh-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Form shell ────────────────────────────────────────────────────────────── */
.exh-form {
  border: 1px solid var(--exh-line);
  background: var(--exh-panel);
  padding: 40px 44px 36px;
  position: relative;
}
.exh-form::before,
.exh-form::after {
  content: "";
  position: absolute;
  width: 32px; height: 32px;
  pointer-events: none;
}
.exh-form::before { top:-1px; left:-1px; border-top:3px solid var(--exh-yellow); border-left:3px solid var(--exh-yellow); }
.exh-form::after  { bottom:-1px; right:-1px; border-bottom:3px solid var(--exh-pink); border-right:3px solid var(--exh-pink); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.exh-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--exh-line);
  margin-bottom: 28px;
}
.exh-section:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* ── Two-column row (phone + email) ────────────────────────────────────────── */
.exh-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ── Fields ────────────────────────────────────────────────────────────────── */
.exh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.exh-field:last-child { margin-bottom: 0; }

.exh-field label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--exh-muted);
}
.exh-req { color: var(--exh-pink); margin-left: 2px; }

.exh-field input[type="text"],
.exh-field input[type="tel"],
.exh-field input[type="email"],
.exh-field textarea {
  background: var(--exh-input-bg);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: var(--exh-body);
  font-size: .96rem;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color var(--exh-trans), box-shadow var(--exh-trans);
}
.exh-field input::placeholder,
.exh-field textarea::placeholder { color: rgba(199,198,210,.3); }
.exh-field input:focus,
.exh-field textarea:focus {
  border-color: var(--exh-cyan);
  box-shadow: 0 0 0 3px rgba(0,216,255,.1);
}
.exh-field input.is-error,
.exh-field textarea.is-error {
  border-color: var(--exh-error) !important;
  box-shadow: 0 0 0 3px rgba(255,77,109,.1) !important;
}
.exh-field textarea { min-height: 140px; resize: vertical; }

/* ── Errors ─────────────────────────────────────────────────────────────────── */
.exh-error {
  font-size: .8rem;
  color: var(--exh-error);
  min-height: 1em;
  display: block;
}
.exh-error:empty { display: none; }

/* ── Please Note block ──────────────────────────────────────────────────────── */
.exh-section--notes {
  border-left: 3px solid var(--exh-cyan);
  background: rgba(0,216,255,.04);
  padding: 20px 22px 20px 22px;
  border-top: 1px solid rgba(0,216,255,.2);
  border-right: 1px solid rgba(0,216,255,.1);
  border-bottom: 1px solid rgba(0,216,255,.1);
  margin-bottom: 28px;
}
.exh-notes-head {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--exh-cyan);
  margin: 0 0 12px;
}
.exh-notes-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.exh-notes-list li {
  font-size: .86rem;
  color: var(--exh-muted);
  line-height: 1.7;
  padding: 2px 0;
}
.exh-notes-list li + li { margin-top: 4px; }

/* ── Submit row ─────────────────────────────────────────────────────────────── */
.exh-submit-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--exh-line);
}

.exh-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 40px;
  background: var(--exh-yellow);
  color: #050507;
  border: 2px solid var(--exh-yellow);
  font-family: var(--exh-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 6px 6px 0 var(--exh-pink);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 54px;
}
.exh-btn-submit:hover:not(:disabled) {
  transform: translate(-3px,-3px);
  box-shadow: 9px 9px 0 var(--exh-pink);
}
.exh-btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.exh-btn__spinner { display: flex; align-items: center; }

/* ── Alert ──────────────────────────────────────────────────────────────────── */
.exh-alert--error {
  background: rgba(255,77,109,.1);
  border: 1px solid var(--exh-error);
  border-left: 4px solid var(--exh-error);
  color: #fff;
  padding: 14px 18px;
  font-size: .9rem;
  line-height: 1.55;
  margin-top: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .exh-form { padding: 24px 18px 20px; }
  .exh-row-two { grid-template-columns: 1fr; }
  .exh-btn-submit { width: 100%; justify-content: center; }
}
