/**
 * Privacy Consent Dialog Styles
 *
 * Terminal-themed modal dialog for privacy consent flow.
 * Matches terminal.css aesthetic (dark, terminal-style, green accents).
 */

.consent-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.consent-dialog {
  background: #1a1a2e;
  border: 2px solid #4a4a6a;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-dialog h2 {
  margin: 0 0 16px 0;
  color: #00ff88;
  font-size: 1.2em;
  font-weight: bold;
}

.consent-dialog p {
  margin: 0 0 12px 0;
  line-height: 1.5;
  color: #d0d0d0;
}

.consent-dialog ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
  list-style-type: none;
}

.consent-dialog li {
  margin: 8px 0;
  color: #aaa;
  position: relative;
  padding-left: 20px;
}

.consent-dialog li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00ff88;
  font-weight: bold;
}

.consent-buttons {
  display: flex;
  gap: 12px;
}

.consent-accept {
  flex: 1;
  padding: 12px;
  background: #00ff88;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  transition: background 0.2s ease;
}

.consent-accept:hover {
  background: #00cc6a;
  transform: translateY(-1px);
}

.consent-accept:active {
  background: #00aa55;
  transform: translateY(0);
}

.consent-decline {
  flex: 1;
  padding: 12px;
  background: transparent;
  color: #888;
  border: 1px solid #444;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  transition: all 0.2s ease;
}

.consent-decline:hover {
  border-color: #666;
  color: #aaa;
  transform: translateY(-1px);
}

.consent-decline:active {
  border-color: #444;
  color: #888;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .consent-dialog {
    max-width: 90%;
    padding: 20px;
  }

  .consent-buttons {
    flex-direction: column;
  }

  .consent-accept,
  .consent-decline {
    width: 100%;
  }
}
