#consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2147483600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#consent-card {
  box-sizing: border-box;
  width: min(760px, 100%);
  background: #ffffff;
  color: #1d1d1f;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

#consent-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

#consent-card p {
  margin: 0.5rem 0;
  line-height: 1.45;
}

#consent-card .consent-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 0.75rem;
}

#consent-card .consent-links a {
  color: #0b63ce;
  text-decoration: underline;
}

#consent-card .consent-section {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e6e6e6;
}

.consent-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.5rem 0;
  line-height: 1.35;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.consent-btn {
  border: 1px solid #c9c9c9;
  background: #f7f7f7;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
}

.consent-btn.primary {
  background: #0b63ce;
  color: #ffffff;
  border-color: #0b63ce;
}

.consent-btn:disabled,
.consent-btn.primary:disabled {
  background: #e7e7e7;
  color: #8a8a8a;
  border-color: #c9c9c9;
  cursor: not-allowed;
  opacity: 0.85;
}

#consent-accept:disabled,
#consent-accept:disabled:hover {
  background: #e7e7e7;
  color: #8a8a8a;
  border-color: #c9c9c9;
  cursor: not-allowed;
  opacity: 0.85;
}

.consent-btn.link {
  background: transparent;
  border: none;
  color: #0b63ce;
  text-decoration: underline;
  padding: 0.35rem 0.35rem;
}

.consent-meta {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.consent-meta-spacer {
  display: inline-block;
  width: 24px;
}

@media (max-width: 540px) {
  #consent-card {
    padding: 1rem 1.1rem 0.9rem;
  }
}
