/* Question drawers in the Q&A centre and on product pages. */
.qa-compose-guest {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #e2e5e9;
  border-top: 4px solid #fed700;
  border-radius: 12px;
  background: #fff;
  color: #202938;
}

.qa-compose-guest h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}

.qa-compose-guest p,
.qa-compose-note,
.qa-compose-status {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.6;
}

.qa-compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.qa-compose-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #b8c0ca;
  border-radius: 8px;
  background: #fff;
  color: #202938;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.qa-compose-actions .qa-compose-login {
  border-color: #fed700;
  background: #fed700;
  color: #201b07;
}

.qa-compose-actions .qa-compose-login:hover {
  border-color: #edc700;
  background: #edc700;
}

.qa-compose-actions .qa-compose-register:hover {
  border-color: #667085;
  background: #f7f8fa;
}

.qa-compose-actions a:focus-visible,
.qa-compose-topic input:focus-visible + span {
  outline: 2px solid #2c5282;
  outline-offset: 3px;
}

.qa-compose-topic {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.qa-compose-topic legend {
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #202938;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.qa-compose-note {
  font-size: 14px;
}

@media (max-width: 480px) {
  .qa-compose-actions {
    flex-direction: column;
  }
}
