/* Travel and prop trading: the Nutraceuticals review form layout and states. */
:is(#review, #contact) .review-form-card {
  width: 100%;
  min-width: 0;
  max-width: 720px;
  padding: 32px;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  background: #fff;
  color: var(--ink, #1c2d46);
  box-shadow: none;
  align-self: start;
}
:is(#review, #contact) .review-form-card > form {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.review-form-card .form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e3e8f0;
}
.review-form-card .form-head > div > span {
  color: #6600bf;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.4px;
}
.review-form-card .form-head h3 {
  margin: 6px 0 0;
  color: var(--ink, #1c2d46);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.review-form-card .form-step {
  flex-shrink: 0;
  padding: 7px 9px;
  border: 1px solid #e8dff3;
  border-radius: 9999px;
  background: #faf8fd;
  color: #6600bf;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}
.review-form-card .fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
:is(#review, #contact) .review-form-card .fields > label,
:is(#review, #contact) .review-form-card .fields > .select-field > label {
  display: block;
  min-width: 0;
  margin: 0;
  color: #25324b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
.review-form-card .fields > .select-field { min-width: 0; margin: 0; }
.review-form-card .fields > .field-wide { grid-column: 1 / -1; }
:is(#review, #contact) .review-form-card .fields input,
:is(#review, #contact) .review-form-card .fields textarea,
:is(#review, #contact) .review-form-card .volume-trigger {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid #d9e1ec;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: var(--ink, #1c2d46);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .4s ease, box-shadow .4s ease;
}
:is(#review, #contact) .review-form-card .fields textarea { height: auto; min-height: 112px; resize: vertical; }
:is(#review, #contact) .review-form-card .volume-trigger { margin: 0; padding-right: 48px; }
:is(#review, #contact) .review-form-card .fields input:focus,
:is(#review, #contact) .review-form-card .fields textarea:focus,
:is(#review, #contact) .review-form-card .volume-trigger:focus-visible,
:is(#review, #contact) .review-form-card .volume-trigger[aria-expanded="true"] {
  border-color: #6600bf;
  box-shadow: 0 0 0 3px rgb(102 0 191 / 9%);
}
:is(#review, #contact) .review-form-card input::placeholder,
:is(#review, #contact) .review-form-card textarea::placeholder,
:is(#review, #contact) .review-form-card .volume-trigger.is-placeholder { color: #69778c; }
:is(#review, #contact) .review-form-card .custom-select { margin: 8px 0 0; }
:is(#review, #contact) .review-form-card .custom-select.is-enhanced > select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}
:is(#review, #contact) .review-form-card .upload {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  margin: 22px 0 0;
  padding: 16px;
  border: 1px dashed #d9cce9;
  border-radius: 10px;
  background: #faf8fd;
  cursor: pointer;
}
:is(#review, #contact) .review-form-card .upload input {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
.review-form-card .upload:focus-within { outline: 2px solid #6600bf; outline-offset: 3px; }
.review-form-card .upload-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f0e7fb;
  color: #6600bf;
}
.review-form-card .upload-icon svg { width: 19px; height: 19px; }
.review-form-card .upload > span:nth-of-type(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.review-form-card .upload strong, .review-form-card .upload small { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.review-form-card .upload strong { font-weight: 600; color: #25324b; }
.review-form-card .upload small { font-weight: 400; color: #69778c; }
.review-form-card .browse { flex-shrink: 0; padding: 7px 11px; border-radius: 9999px; background: #f0e7fb; color: #6600bf; font-size: 13px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
:is(#review, #contact) .review-form-card .consent { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0; color: #69778c; font-size: 12px; font-weight: 400; line-height: 1.6; }
:is(#review, #contact) .review-form-card .consent input { appearance: auto; flex-shrink: 0; width: 16px; height: 16px; min-height: 0; padding: 0; margin: 2px 0 0; border: 0; box-shadow: none; accent-color: #6600bf; }
:is(#review, #contact) .review-form-card .primary-button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px 24px;
  border: 1px solid #6600bf;
  border-radius: 9999px;
  background: #6600bf;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: color .4s ease, background-color .4s ease, border-color .4s ease;
}
:is(#review, #contact) .review-form-card .primary-button:hover { background: #fff; color: #6600bf; }
.review-form-card .form-disclaimer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: #69778c; font-size: 12px; font-weight: 400; line-height: 1.6; text-align: center; }
.review-form-card .form-disclaimer svg { width: 12px; height: 12px; flex-shrink: 0; }
:is(#review, #contact) .review-form-card > .success {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 480px;
  padding: 55px 25px;
  border: 0;
  border-radius: 0;
  background: #fff;
  text-align: center;
  box-shadow: none;
}
.review-form-card > .success > div { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 50%; color: #15803d; background: #ecfdf3; }
.review-form-card > .success svg { width: 28px; height: 28px; }
.review-form-card > .success > span { color: #6600bf; font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: 1.5px; }
.review-form-card > .success h2 { margin: 12px 0; color: var(--ink, #1c2d46); font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.review-form-card > .success p { max-width: 450px; margin: 0 0 28px; color: #69778c; font-size: 16px; font-weight: 400; line-height: 1.7; }
:is(#review, #contact) .review-form-card > .success .primary-button { width: auto; }
@media (max-width: 640px) {
  :is(#review, #contact) .review-form-card { padding: 24px; }
  .review-form-card .fields { grid-template-columns: minmax(0, 1fr); }
  .review-form-card .form-head, :is(#review, #contact) .review-form-card .upload { flex-wrap: wrap; }
  :is(#review, #contact) .review-form-card > .success { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { .review-form-card * { transition: none !important; } }
