/* Напоминание о голосовании: справа снизу на всех страницах. */
.vt-notify {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  width: 22rem;
  max-width: calc(100vw - 2rem);
  padding: 1rem;
  background-color: var(--card);
  border: 1px solid var(--transparent-10-w);
  border-radius: var(--br-16);
  animation: vtNotifyIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.vt-notify[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .vt-notify {
    bottom: 4.3rem;
  }
}

@keyframes vtNotifyIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
}

.vt-notify__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.vt-notify__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-7);
}

.vt-notify .vt-notify__close {
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.vt-notify .vt-notify__close:hover {
  background: none;
  color: var(--text-default);
}

.vt-notify__close svg {
  fill: currentColor;
}

.vt-notify__text {
  margin-bottom: 0.5rem;
  font-size: var(--font-size-m);
  color: var(--text-secondary);
}

.vt-notify__buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.vt-notify__go {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--input-height);
  padding-inline: 1rem;
  border-radius: var(--br-8);
  background-color: var(--span);
  color: var(--text-default);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-5);
}

.vt-notify__go:hover {
  color: var(--text-default);
  filter: brightness(1.1);
}

.vt-notify__go svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
