@charset "UTF-8";
/* "Tell us what you have in mind" — Figma node 11028:2055 / 11027:2212.
   Sits inside the theme's shared .modal shell (opened by .modal_opener in
   main-new.js) and uses the shared .input_wrapper field styling. */
.partner_inquiry__panel {
  position: relative;
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 40px 40px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 64px 0 rgba(0, 0, 26, 0.25);
}
.partner_inquiry__close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.partner_inquiry__close:hover {
  background: #f4f4f5;
}
.partner_inquiry__close img {
  display: block;
}
.partner_inquiry__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 40px;
  /* Hidden once the form is sent, so the success note stands alone. */
}
.partner_inquiry__head[hidden] {
  display: none;
}
.partner_inquiry__title {
  margin: 0;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  color: #1a1a22;
}
.partner_inquiry__desc {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #23232e;
}
.partner_inquiry {
  /* The shared wrapper ships a 20px bottom margin; the form owns its own
     rhythm here so the gaps match the design's 24px. */
}
.partner_inquiry__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  /* `display: flex` would otherwise beat the hidden attribute when the
     form is swapped for the success message. */
}
.partner_inquiry__form[hidden] {
  display: none;
}
.partner_inquiry__form .input_wrapper {
  margin-bottom: 0;
}
.partner_inquiry__form .texarea_wrapper {
  height: 104px;
}
.partner_inquiry__error {
  margin-top: -8px;
  margin-bottom: 0;
}
.partner_inquiry__error[hidden] {
  display: none;
}
.partner_inquiry__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 40px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: #14141a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.partner_inquiry__submit:hover {
  background: #23232e;
}
.partner_inquiry__submit:disabled {
  background: #a1a1aa;
  cursor: default;
}
.partner_inquiry__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0 8px;
}
.partner_inquiry__success[hidden] {
  display: none;
}
.partner_inquiry__success-icon {
  display: block;
  margin-bottom: 4px;
}
.partner_inquiry__success-title {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #1a1a22;
}
.partner_inquiry__success-desc {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #23232e;
}

/* The shared placeholder is centred, which strands the label mid-box on a tall
   textarea. Rooted at .partner_inquiry so it outranks .input_wrapper .placeholder
   in inputs.css, which the page happens to load afterwards. */
.partner_inquiry .partner_inquiry__form .texarea_wrapper .placeholder {
  top: 12px;
  transform: none;
}

.partner_inquiry .partner_inquiry__form .texarea_wrapper.focused .placeholder,
.partner_inquiry .partner_inquiry__form .texarea_wrapper.has_error .placeholder {
  top: -8px;
  transform: none;
}

@media screen and (max-width: 767px) {
  .partner_inquiry__panel {
    width: 100%;
    gap: 20px;
    padding: 28px 20px 24px;
    border-radius: 20px;
  }
  .partner_inquiry__close {
    top: 16px;
    right: 16px;
  }
  .partner_inquiry__head {
    gap: 12px;
    padding-right: 32px;
  }
  .partner_inquiry__title {
    font-size: 20px;
    line-height: 28px;
  }
  .partner_inquiry__desc {
    font-size: 15px;
    line-height: 22px;
  }
  .partner_inquiry__form {
    gap: 20px;
    width: 100%;
  }
  .partner_inquiry__submit {
    width: 100%;
  }
}
