/* FT-004 user suggestions: private, responsive feedback surface. */
.maubazaar-suggestion-page {
  --suggestion-ink: #102a43;
  --suggestion-muted: #52606d;
  --suggestion-brand: #0b5d4b;
  --suggestion-border: #d9e2ec;
  background: #f7faf8;
}

.maubazaar-suggestion-hero {
  background: linear-gradient(135deg, #0b5d4b, #124e66);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
}

.maubazaar-suggestion-hero__inner,
.maubazaar-suggestion-shell {
  width: min(100% - 2.5rem, 1100px);
  margin-inline: auto;
}

.maubazaar-suggestion-hero__inner {
  max-width: 820px;
}

.maubazaar-suggestion-hero h1,
.maubazaar-suggestion-card h2,
.maubazaar-suggestion-support h2 {
  color: inherit;
  margin: 0;
}

.maubazaar-suggestion-hero p:last-child {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.maubazaar-suggestion-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.maubazaar-suggestion-card,
.maubazaar-suggestion-support,
.maubazaar-suggestion-confirmation {
  border: 1px solid var(--suggestion-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 42, 67, .08);
}

.maubazaar-suggestion-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.maubazaar-suggestion-card__intro p,
.maubazaar-suggestion-support p,
.maubazaar-suggestion-privacy {
  color: var(--suggestion-muted);
  line-height: 1.6;
}

.maubazaar-suggestion-card__intro p {
  margin: .65rem 0 1.5rem;
}

.maubazaar-suggestion-privacy {
  margin: 0 0 1.5rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: #effaf6;
}

.maubazaar-suggestion-form {
  display: grid;
  gap: 1.1rem;
}

.maubazaar-suggestion-field {
  display: grid;
  gap: .45rem;
}

.maubazaar-suggestion-field label {
  color: var(--suggestion-ink);
  font-weight: 800;
}

.maubazaar-suggestion-field input,
.maubazaar-suggestion-field select,
.maubazaar-suggestion-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bcccdc;
  border-radius: 12px;
  padding: .8rem .9rem;
  color: var(--suggestion-ink);
  background: #fff;
  font: inherit;
}

.maubazaar-suggestion-field textarea {
  min-height: 150px;
  resize: vertical;
}

.maubazaar-suggestion-field input:focus-visible,
.maubazaar-suggestion-field select:focus-visible,
.maubazaar-suggestion-field textarea:focus-visible,
.maubazaar-suggestion-submit:focus-visible,
.maubazaar-suggestion-support__link:focus-visible {
  outline: 3px solid rgba(245, 170, 38, .55);
  outline-offset: 2px;
}

.maubazaar-suggestion-field__hint,
.maubazaar-suggestion-counter {
  margin: 0;
  color: #627d98;
  font-size: .875rem;
  line-height: 1.45;
}

.maubazaar-suggestion-field__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.maubazaar-suggestion-counter {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.maubazaar-suggestion-submit,
.maubazaar-suggestion-support__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.15rem;
  background: var(--suggestion-brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.maubazaar-suggestion-submit:hover,
.maubazaar-suggestion-submit:focus-visible,
.maubazaar-suggestion-support__link:hover,
.maubazaar-suggestion-support__link:focus-visible {
  background: #084638;
  color: #fff;
}

.maubazaar-suggestion-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.maubazaar-suggestion-support {
  align-self: start;
  padding: 1.5rem;
}

.maubazaar-suggestion-support h2 {
  color: var(--suggestion-ink);
  font-size: 1.25rem;
}

.maubazaar-suggestion-support__link {
  margin-top: .75rem;
}

.maubazaar-suggestion-confirmation {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.maubazaar-suggestion-confirmation h2 {
  color: var(--suggestion-brand);
  margin-top: 0;
}

.maubazaar-suggestion-confirmation p {
  margin-bottom: 0;
  color: var(--suggestion-muted);
  line-height: 1.6;
}

.maubazaar-dashboard-help-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid #b7e4d5;
  border-radius: 18px;
  background: linear-gradient(135deg, #effaf6, #f7faf8);
}

.maubazaar-dashboard-help-callout h2,
.maubazaar-dashboard-help-callout p {
  margin: 0;
}

.maubazaar-dashboard-help-callout h2 {
  color: #102a43;
}

.maubazaar-dashboard-help-callout p:last-child {
  margin-top: .35rem;
  color: #52606d;
}

@media (max-width: 760px) {
  .maubazaar-suggestion-shell {
    grid-template-columns: 1fr;
  }

  .maubazaar-dashboard-help-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .maubazaar-suggestion-hero__inner,
  .maubazaar-suggestion-shell {
    width: min(100% - 1.25rem, 1100px);
  }

  .maubazaar-suggestion-card,
  .maubazaar-suggestion-support {
    border-radius: 16px;
    padding: 1rem;
  }

  .maubazaar-suggestion-field__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }
}