/* =========================================================
   AniLog — подсказки Анимеона под полем названия
   ========================================================= */

/* Подсказки Анимеона под полем названия */

.anime-title-shell .input-shell input {
  padding-right: 34px;
}

.title-spinner {
  position: absolute;
  right: 12px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(139, 92, 246, 0.25);
  border-top-color: var(--violet-light);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 40;
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 14px;
  background: rgba(14, 15, 25, 0.98);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-height: 328px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  animation: menu-in 0.16s var(--ease-out) both;
}

.suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.suggest__item:hover,
.suggest__item.is-active {
  background: rgba(139, 92, 246, 0.14);
}

.suggest__thumb {
  width: 30px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: #14151f;
}

.suggest__thumb--empty {
  display: inline-block;
}

.suggest__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.suggest__title {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest__meta {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest__empty {
  padding: 14px 12px;
  color: var(--muted-2);
  font-size: 11.5px;
  text-align: center;
}

/* Подсказки Анимеона под полем названия */

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 3px;
}

.form-actions .button {
  height: 44px;
}
