/* =========================================================
   AniLog — выбор статуса в форме
   ========================================================= */

.status-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 1px;
}

.status-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.status-option:nth-child(1) { --opt: #5eead4; --opt-rgb: 94, 234, 212; }
.status-option:nth-child(2) { --opt: #86efac; --opt-rgb: 134, 239, 172; }
.status-option:nth-child(3) { --opt: #fbbf24; --opt-rgb: 251, 191, 36; }
.status-option:nth-child(4) { --opt: #fb7185; --opt-rgb: 251, 113, 133; }

.status-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.status-option__inner {
  display: flex;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 5px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.status-option__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.status-option__icon .icon {
  width: 14px;
  height: 14px;
}

.status-option:hover .status-option__inner {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  transform: translateY(-1px);
}

.status-option input:checked + .status-option__inner {
  border-color: rgba(var(--opt-rgb), 0.38);
  background: linear-gradient(160deg, rgba(var(--opt-rgb), 0.12), rgba(var(--opt-rgb), 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  color: #fff;
}

.status-option input:checked + .status-option__inner .status-option__icon {
  background: rgba(var(--opt-rgb), 0.14);
  color: var(--opt);
}

.status-option input:focus-visible + .status-option__inner {
  outline: 2px solid var(--violet-light);
  outline-offset: 2px;
}
