/* SYMBIONT — global search modal
   The modal markup is printed inside the global header, therefore it must be hidden globally until opened by JS. */

.sym-search-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  padding: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,240,181,.18), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(130,90,255,.16), transparent 36%),
    rgba(14,18,21,.96);
  backdrop-filter: blur(22px);
}

.sym-search-modal.is-open {
  display: block;
}

.sym-search-modal__panel {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 0% 0%, rgba(0,240,181,.12), transparent 34%),
    rgba(255,255,255,.035);
}

.sym-search-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  color: rgba(0,240,181,.92);
  font-size: 28px;
  cursor: pointer;
}

.sym-search-modal__content {
  width: min(92vw, 820px);
}

.sym-search-modal__label {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(0,240,181,.96);
  font-family: Tektur, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.sym-search-modal__content h2 {
  margin: 0;
  color: #fff;
  font-family: Tektur, sans-serif;
  font-size: clamp(44px, 8vw, 96px);
  line-height: .92;
  font-weight: 500;
}

.sym-search-modal__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 30px;
}

.sym-search-modal__form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  outline: none;
}

.sym-search-modal__form button {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  border: 0;
  background: rgba(0,240,181,.92);
  color: #05110f;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 760px) {
  .sym-search-modal {
    padding: 14px !important;
  }

  .sym-search-modal__panel {
    min-height: calc(100vh - 28px) !important;
    border-radius: 26px !important;
    padding: 22px !important;
  }

  .sym-search-modal__content {
    width: 100% !important;
  }

  .sym-search-modal__content h2 {
    font-size: clamp(42px, 14vw, 64px) !important;
  }

  .sym-search-modal__form {
    grid-template-columns: 1fr;
  }

  .sym-search-modal__form input,
  .sym-search-modal__form button {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 18px !important;
  }
}
