/* Form controls and status styling for Turnmori feedback pages (paired with info-page.css). */
.feedback-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e5dac9;
  background: #fbf6ec;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #625448;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.lang-switch a:hover {
  background: #ede3d1;
  color: #2d241d;
}

.lang-switch a[aria-current="page"] {
  background: #f4b88d;
  border-color: #d9824b;
  color: #2d241d;
  font-weight: 700;
}

#feedback-form {
  margin-top: 8px;
}

#feedback-form label {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: #2d241d;
  margin: 20px 0 8px;
}

#feedback-form label:first-of-type {
  margin-top: 0;
}

#feedback-form textarea,
#feedback-form select,
#feedback-form button {
  font-family: var(--tm-font-ui, Pretendard, sans-serif);
  font-size: 0.96rem;
  color: #2d241d;
  min-height: 48px;
  border: 1.5px solid #cbbba4;
  border-radius: 12px;
}

#feedback-form textarea,
#feedback-form select {
  background: #fffdf8;
  width: 100%;
  padding: 10px 14px;
  caret-color: #2d241d;
}

#feedback-form select {
  max-width: 320px;
}

#feedback-form textarea {
  display: block;
  resize: vertical;
  min-height: 180px;
  line-height: 1.65;
  scroll-margin: 16px;
}

#feedback-form .hint,
#feedback-form .notice {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #625448;
  margin: 6px 0 10px;
}

#feedback-form .notice {
  margin-top: 14px;
}

#feedback-form .retention {
  margin-top: 8px;
}

#feedback-form button {
  min-height: 44px;
  padding: 10px 24px;
  margin-top: 12px;
  border-radius: 999px;
  border: 1px solid #d9824b;
  background: #f4b88d;
  color: #2d241d;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

#feedback-form button:hover:not(:disabled) {
  background: #d9824b;
  color: #fbf6ec;
}

#feedback-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

#feedback-form textarea:focus-visible,
#feedback-form select:focus-visible,
#feedback-form button:focus-visible,
#feedback-status:focus-visible {
  outline: 3px solid #625074;
  outline-offset: 3px;
}

#feedback-form textarea[aria-invalid="true"] {
  border: 2px solid #9c352e;
}

#feedback-status {
  min-height: 1.65em;
  margin-top: 12px;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

#feedback-status[data-state="error"] {
  color: #8c2924;
  font-weight: 700;
}

#feedback-status[data-state="success"] {
  color: #365b31;
  font-weight: 700;
}
