.privacy-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1em;
  overflow-y: auto;
}

.privacy-popup.active {
  display: flex;
}

.privacy-content {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh; /* scroll if too much text */
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.privacy-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1.5em;
  color: #333;
}

.privacy-text {
  overflow-y: auto;
  max-height: 60vh;
  margin-bottom: 1em;
  padding-right: 10px;
  line-height: 1.5;
  color: #333;
}

.privacy-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
}

.privacy-buttons button {
  padding: 0.5em 1em;
  border: 1px solid #888;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  background-color: #f0f0f0;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
}

.privacy-buttons button:hover {
  background-color: #e0e0e0;
}
