.fg-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px;
  color: #eef2ff;
  background: #0b1020;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.32);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  outline: none;
}

.fg-consent__copy {
  max-width: 680px;
}

.fg-consent__copy strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 17px;
}

.fg-consent__copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.fg-consent__copy a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fg-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.fg-consent__button {
  min-width: 186px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #818cf8;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.fg-consent__button--primary {
  color: #ffffff;
  background: #4f46e5;
}

.fg-consent__button--secondary {
  color: #e0e7ff;
  background: #1e293b;
}

.fg-consent__button:hover,
.fg-consent__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.fg-consent-settings {
  position: fixed;
  z-index: 9999;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: #475569;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  cursor: pointer;
}

.fg-consent-settings:hover,
.fg-consent-settings:focus-visible {
  color: #312e81;
  border-color: #6366f1;
  outline: none;
}

@media (max-width: 760px) {
  .fg-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .fg-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fg-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg-consent,
  .fg-consent-settings {
    scroll-behavior: auto;
  }
}
