/* ===== Формы ===== */
.award-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.award-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.award-field-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.award-field input,
.award-field select,
.award-field textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  color: var(--text-primary);
  padding: 10px 12px;
  font: inherit;
}
.award-field input:focus,
.award-field select:focus,
.award-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.award-form-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.award-form-error {
  color: var(--danger);
  font-size: 14px;
  margin: 0;
}
.award-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

/* Поиск релиза: подсказки */
.award-search-box {
  position: absolute;
  z-index: 30;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 4px;
  overflow: hidden;
  min-width: 280px;
}
.award-field {
  position: relative;
}
.award-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.award-search-item:hover {
  background: var(--bg-card-hover);
}
.award-search-item img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border-radius: 7px;
}
.award-search-item-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.award-search-item-copy strong {
  overflow: hidden;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.award-search-item-copy small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.award-search-box {
  max-height: 340px;
  overflow-y: auto;
  min-width: min(360px, calc(100vw - 56px));
}

/* Выбранный из поиска релиз/артист: карточка остаётся под полем,
   чтобы обложку и автора было видно и после закрытия выпадашки. */
.award-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid var(--award-accent);
  border-radius: 14px;
  background: var(--award-accent-soft);
}
.award-selected[hidden] {
  display: none;
}
.award-selected-img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-input);
}
.award-selected-img[hidden] {
  display: none;
}
.award-selected-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.award-selected-copy strong {
  overflow: hidden;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.award-selected-meta {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Иконки-стрелки вместо символов «→»: наследуют цвет темы */
.award-icon-arrow {
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Контейнер невидимой капчи: виджет рисует только щит-уведомление. */
.award-captcha-host {
  position: relative;
  min-height: 0;
}

/* Honeypot-поле: физически скрыто, но присутствует в DOM. */
.award-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Статус отправки на /vote (формы предложений, заявка). */
.award-vote-status,
.award-suggest-status {
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 18px;
  transition: color 0.2s ease;
}
.award-vote-status.is-ok,
.award-suggest-status.is-ok {
  color: #66d5a6;
  font-weight: 600;
}
html[data-theme='light'] .award-vote-status.is-ok,
html[data-theme='light'] .award-suggest-status.is-ok {
  color: #1d7a53;
}
