/* Overlay container (hidden by default) */
#cookie-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

/* Modal box */
.cookie-banner {
  background: #fff;
  border: 4px solid #0073e6;
  padding: 48px 64px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  font-size: 1.4rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

/* Text */
.cookie-copy {
  line-height: 1.6;
  font-weight: 600;
  font-size: 1.3rem;
}

/* Preferences */
.preference-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.toggle {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.1rem;
}

/* Buttons */
.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 16px 28px;
  border-radius: 10px;
  border: 1px solid #666;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-primary {
  background: #0073e6;
  color: #fff;
  border-color: #0073e6;
}

/* Mobile */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 32px;
    font-size: 1.2rem;
    width: 95%;
  }

  .btn {
    width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
  }
}
