.fa-consent-settings,
.fa-consent-panel button {
  font: inherit;
}

.fa-consent-settings {
  position: fixed;
  z-index: 9998;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px 13px;
  color: #f5f7fa;
  background: #17202b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.fa-consent-settings:focus-visible,
.fa-consent-panel button:focus-visible,
.fa-consent-panel a:focus-visible {
  outline: 3px solid #75d5ff;
  outline-offset: 3px;
}

.fa-consent-panel[hidden] {
  display: none;
}

.fa-consent-panel {
  position: fixed;
  z-index: 9999;
  inset: auto 16px 68px 16px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.fa-consent-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(72vh, 620px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px;
  color: #edf3f8;
  background: #101820;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.fa-consent-card h2 {
  margin: 3px 42px 10px 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.fa-consent-card p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.fa-consent-card a {
  color: #75d5ff;
}

.fa-consent-kicker {
  color: #8ea4b7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fa-consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.fa-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fa-consent-actions button {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.fa-consent-allow {
  border: 1px solid #75d5ff;
  color: #071119;
  background: #75d5ff;
}

.fa-consent-reject {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: transparent;
}

.fa-consent-status {
  min-height: 1.4em;
  margin-top: 12px !important;
  color: #b7c6d4;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .fa-consent-settings {
    right: 10px;
    bottom: 10px;
  }

  .fa-consent-panel {
    inset: auto 10px 62px 10px;
  }

  .fa-consent-card {
    padding: 20px;
  }

  .fa-consent-actions {
    display: grid;
  }
}
