.consent-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.consent-overlay.active { display: flex; }

.consent-modal {
  background: #0C1A28;
  border: 1px solid #1897C8;
  border-radius: 12px;
  padding: 2.25rem;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(31, 180, 240, 0.18);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #e8eef4;
}
.consent-modal h2 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
  line-height: 1.18;
  font-weight: 800;
  color: #e8eef4;
}
.consent-modal > p {
  margin: 0 0 1.75rem;
  font-size: 1.03rem;
  color: #c5d3df;
  line-height: 1.6;
}
.consent-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.consent-btn--primary,
.consent-btn--secondary {
  flex: 1;
  min-height: 48px;
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.15;
  transition: opacity 0.15s, transform 0.15s;
}
.consent-btn--primary:hover,
.consent-btn--secondary:hover { opacity: 0.88; }
.consent-btn--primary:hover { transform: translateY(-1px); }
.consent-btn--primary {
  background: #1FB4F0;
  color: #03111c;
  border: none;
  box-shadow: 0 10px 22px rgba(31, 180, 240, 0.28);
}
.consent-btn--secondary {
  background: #203040;
  color: #e8eef4;
  border: 1.5px solid #3a4b5b;
}
.consent-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  font-size: 0.8rem;
}
.consent-links a {
  color: #8aa0b3;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-links a:hover { color: #1FB4F0; }

.consent-custom-panel {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #0D2038;
}
.consent-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.consent-toggle-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: #e8eef4;
}
.consent-toggle-row--disabled label {
  cursor: default;
  color: #8aa0b3;
}
.consent-toggle-desc {
  font-size: 0.8rem;
  color: #8aa0b3;
  line-height: 1.4;
  padding-top: 1px;
}
.consent-custom-panel .consent-btn--primary {
  margin-top: 0.5rem;
  width: 100%;
  flex: none;
}

@media (max-width: 560px) {
  .consent-modal {
    padding: 1.5rem;
  }
  .consent-modal h2 {
    font-size: 1.35rem;
  }
  .consent-buttons {
    flex-direction: column;
  }
}
