/* ─── GDPR Consent Modal ──────────────────────────────────── */

/* Full-screen overlay backdrop */
#gdpr-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Centered card */
#gdpr-banner {
  position: relative;
  z-index: 10001;
  background: var(--surface, #1e1e2e);
  border: 1px solid var(--border, #444);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 440px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: inherit;
  color: var(--text, #e0e0e0);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.gdpr-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.gdpr-learn-more {
  color: var(--accent, #4fc3f7);
  text-decoration: underline;
}

.gdpr-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.gdpr-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  min-width: 120px;
}

.gdpr-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.gdpr-btn:active {
  transform: translateY(0);
}

.gdpr-accept {
  background: var(--good, #4caf50);
  color: #000;
}

.gdpr-decline {
  background: var(--danger, #e53935);
  color: #fff;
}

/* ─── Mobile: stack buttons vertically ────────────────────── */
@media (max-width: 480px) {
  #gdpr-banner {
    padding: 22px 18px;
  }

  .gdpr-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .gdpr-btn {
    width: 100%;
  }
}
