/* Event inquiry confirmation: compact dark-glass dialog with a restrained green-neon border and glow. Opens only after the server confirmed the
   submission (assets/js/inquiry.js). Also: the inquiry form lands below the fixed header when reached through #inquiry. */
#inquiry { scroll-margin-top: calc(var(--header-height, 96px) + 12px); }

html.inq-lock { overflow: hidden; }

.inq-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.inq-modal[hidden] { display: none; }

.inq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 3, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.inq-modal__card {
  position: relative;
  width: min(100%, 400px);
  box-sizing: border-box;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: #eef8f1;
  background: linear-gradient(160deg, rgba(14, 26, 19, 0.96) 0%, rgba(8, 12, 10, 0.97) 100%);
  border: 1.5px solid rgba(48, 255, 126, 0.78);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(48, 255, 126, 0.14), 0 0 22px rgba(48, 255, 126, 0.32), 0 22px 60px rgba(0, 0, 0, 0.6), inset 0 0 28px rgba(48, 255, 126, 0.06);
}

.inq-modal__card:focus { outline: none; }

.inq-modal__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #35ff86;
  border: 2px solid rgba(48, 255, 126, 0.85);
  background: rgba(48, 255, 126, 0.08);
  box-shadow: 0 0 16px rgba(48, 255, 126, 0.45), inset 0 0 14px rgba(48, 255, 126, 0.18);
}

.inq-modal__icon svg { width: 34px; height: 34px; display: block; filter: drop-shadow(0 0 5px rgba(48, 255, 126, 0.7)); }

.inq-modal__title {
  margin: 4px 0 0;
  font-family: "TB Exo 2", "Exo 2", system-ui, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.3rem, 5.2vw, 1.65rem);
  line-height: 1.15;
  color: #f3fff7;
  text-shadow: 0 0 12px rgba(48, 255, 126, 0.35);
}

.inq-modal__text {
  margin: 0;
  font-family: "TB Inter", Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #cfe3d6;
}

.inq-modal__btn {
  margin-top: 8px;
  min-width: 170px;
  min-height: 46px;
  padding: 0 28px;
  font-family: "TB Inter", Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #04170c;
  background: linear-gradient(180deg, #3dff8f 0%, #1fd36a 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(48, 255, 126, 0.45);
}

.inq-modal__btn:hover { background: linear-gradient(180deg, #62ffa5 0%, #2bdd76 100%); }
.inq-modal__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .inq-modal.is-open .inq-modal__card { animation: inq-pop 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .inq-modal.is-open .inq-modal__backdrop { animation: inq-fade 220ms ease-out both; }
}

@keyframes inq-pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes inq-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 420px) {
  .inq-modal { padding: 14px; }
  .inq-modal__card { padding: 28px 20px 22px; border-radius: 20px; }
}
