.privacy-consent-banner,
.privacy-consent-modal {
  position: fixed;
  z-index: 9100;
  color: #fff;
  font-family: Arial, sans-serif;
}

.privacy-consent-banner {
  left: 14px;
  right: 14px;
  bottom: 14px;
  max-width: 980px;
  margin: 0 auto;
  background: #0d1b2a;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.42);
  padding: 18px;
}

.privacy-consent-banner[hidden],
.privacy-consent-modal[hidden] {
  display: none;
}

.privacy-consent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.privacy-consent-eyebrow {
  color: #ff7a35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.privacy-consent-title {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 6px;
}

.privacy-consent-text {
  color: #b6c2d1;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.privacy-consent-text a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.privacy-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.privacy-consent-action {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: #1a2e44;
  color: #fff;
  min-height: 42px;
  padding: 10px 14px;
  font: 800 13px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.privacy-consent-action.primary {
  border-color: #e8621a;
  background: #e8621a;
}

.privacy-consent-action.ghost {
  background: transparent;
}

.privacy-consent-action:focus-visible,
.privacy-consent-close:focus-visible,
.privacy-consent-switch input:focus-visible + span {
  outline: 3px solid #ff7a35;
  outline-offset: 2px;
}

.privacy-consent-modal {
  inset: 0;
  background: rgba(4,10,18,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.privacy-consent-panel {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  background: #0d1b2a;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0,0,0,0.5);
}

.privacy-consent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.privacy-consent-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: #122030;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.privacy-consent-body {
  padding: 18px 20px 8px;
}

.privacy-consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.privacy-consent-category strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}

.privacy-consent-category p {
  color: #b6c2d1;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.privacy-consent-required {
  color: #ffb38c;
  font-size: 12px;
  font-weight: 800;
}

.privacy-consent-switch {
  position: relative;
  width: 48px;
  height: 28px;
}

.privacy-consent-switch input {
  position: absolute;
  opacity: 0;
}

.privacy-consent-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #1a2e44;
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.2s;
}

.privacy-consent-switch span::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.privacy-consent-switch input:checked + span {
  background: #e8621a;
  border-color: #e8621a;
}

.privacy-consent-switch input:checked + span::after {
  transform: translateX(20px);
}

.privacy-consent-switch input:disabled + span {
  opacity: 0.65;
  cursor: not-allowed;
}

.privacy-consent-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 20px 20px;
}

@media (max-width: 720px) {
  .privacy-consent-layout {
    grid-template-columns: 1fr;
  }

  .privacy-consent-actions,
  .privacy-consent-footer {
    justify-content: stretch;
  }

  .privacy-consent-action {
    flex: 1 1 100%;
  }

}
