.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  padding: 1rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(18, 18, 22, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cookie-consent__text {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-consent__text a {
  color: #7eb8ff;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #a8d0ff;
}

.cookie-consent__btn {
  flex-shrink: 0;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.cookie-consent__btn--ok {
  background: #3b82f6;
  color: #fff;
}

.cookie-consent__btn--ok:hover {
  background: #2563eb;
}

.auth-legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
}

.auth-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin: 0 0.5rem;
}

.auth-legal a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 0.75rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }

  .cookie-consent__btn--ok {
    width: 100%;
    text-align: center;
  }

  .auth-legal a {
    display: block;
    margin: 0.25rem 0;
  }
}
