/* Компактный toast согласия на cookie — слева снизу, не мешает AI-ассистенту */

.nfs-cookie-notice {
  position: fixed;
  left: var(--space-4, 16px);
  bottom: var(--space-4, 16px);
  right: auto;
  z-index: 1020; /* ниже AI FAB (1030) */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(340px, calc(100vw - 2 * var(--space-4, 16px)));
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(34, 83, 188, 0.14);
  border-left: 4px solid var(--nfs-blue, #2253bc);
  border-radius: var(--radius-xl, 16px);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.14);
  font-family: 'Montserrat', system-ui, sans-serif;
}

.nfs-cookie-notice[hidden] {
  display: none !important;
}

.nfs-cookie-notice__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #334155;
}

.nfs-cookie-notice__text a {
  color: var(--nfs-blue, #2253bc);
  text-decoration: none;
  font-weight: 600;
}

.nfs-cookie-notice__text a:hover {
  text-decoration: underline;
}

.nfs-cookie-notice__btn {
  align-self: flex-start;
  min-height: 38px;
  padding: 0.45rem 1.1rem;
  border: none;
  border-radius: var(--radius-lg, 12px);
  background: var(--nfs-blue, #2253bc);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nfs-cookie-notice__btn:hover {
  background: var(--nfs-blue-hover, #1a4299);
  transform: translateY(-1px);
}

.nfs-cookie-notice__btn:focus-visible {
  outline: 2px solid var(--nfs-blue-bright, #4f8cff);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nfs-cookie-notice__btn {
    transition: none;
  }
}
