.omni-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 16px;
  pointer-events: none;
}

.omni-consent__panel {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  background: #ffffff;
  color: #0b1220;
  border: 1px solid #e0e3e8;
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.12);
  display: grid;
  gap: 16px;
}

.omni-consent__text {
  margin: 0;
  font: 400 0.9375rem/1.55 "Roboto Flex", system-ui, sans-serif;
  color: #5a6275;
}

.omni-consent__text a {
  color: #7e4df6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.omni-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.omni-consent__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: 600 0.875rem/1 "Roboto Flex", system-ui, sans-serif;
  cursor: pointer;
}

.omni-consent__btn:focus-visible {
  outline: 2px solid #7e4df6;
  outline-offset: 2px;
}

.omni-consent__btn--accept {
  background: #f3d321;
  color: #111111;
}

.omni-consent__btn--accept:hover {
  background: #e8c91e;
}

.omni-consent__btn--reject {
  background: transparent;
  color: #0b1220;
  border: 1px solid #e0e3e8;
}

.omni-consent__btn--reject:hover {
  background: #f7f7f7;
}

@media (prefers-reduced-motion: no-preference) {
  .omni-consent__panel {
    animation: omni-consent-in 220ms ease-out;
  }
}

@keyframes omni-consent-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .omni-consent {
    padding: 12px;
  }

  .omni-consent__panel {
    padding: 16px;
  }

  .omni-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .omni-consent__btn {
    width: 100%;
    justify-content: center;
  }
}

.footer-cookie-settings {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  .omni-consent__panel {
    background: #1e1e1e;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .omni-consent__text {
    color: rgba(255, 255, 255, 0.72);
  }

  .omni-consent__text a {
    color: #bb86fc;
  }

  .omni-consent__btn--accept {
    background: #bb86fc;
    color: #ffffff;
  }

  .omni-consent__btn--reject {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .omni-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}
