body {
  background-color: black;
}

.modal-backdrop.show {
  background-color: black;
  opacity: 0.75;
}

.modal-content {
  background-color: black !important;
}

input {
  background-color: black;
  color: white;
}

.input-seeds {
  display: inline-block;
  width: 20%;
}

.input-pass {
  display: inline-block;
  width: 95%;
}

.seed-input,
.input-pass {
  width: 100%;
  box-sizing: border-box;
}

button {
  outline: none !important;
}

button svg {
  pointer-events: none;
}

/* Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--border);
  z-index: 9999;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

:root {
  --bg: #111;
  --text: #eee;
  --border: #333;
  --accent: #4da3ff;

  --btn-primary-bg: #4caf50;
  --btn-secondary-bg: #555;
  --btn-tertiary-bg: #333;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f3f3;
    --text: #222;
    --border: #ccc;
    --accent: #007bff;

    --btn-primary-bg: #0d6efd;
    --btn-secondary-bg: #6c757d;
    --btn-tertiary-bg: #adb5bd;
  }
}

.cookie-actions button {
  margin-left: 8px;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: white;
  border-radius: 4px;
}

.btn-primary {
  background: var(--btn-primary-bg);
}
.btn-secondary {
  background: var(--btn-secondary-bg);
}
.btn-tertiary {
  background: var(--btn-tertiary-bg);
}

/* Modal */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal-content {
  width: 90%;
  max-width: 420px;
  background: var(--bg);
  color: var(--text);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Toggles */
.toggle {
  display: flex;
  align-items: center;
  margin: 12px 0;
}

.toggle input {
  display: none;
}

.toggle span {
  width: 40px;
  height: 20px;
  background: #888;
  border-radius: 20px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
}

.toggle span::after {
  content: "";
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: 0.2s;
}

.toggle input:checked + span {
  background: #4caf50;
}

.toggle input:checked + span::after {
  transform: translateX(20px);
}
