.cookie-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-overlay.active {
  display: flex;
}

.cookie-modal {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

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

.cookie-content { padding: 2rem; }
.cookie-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #2F2F2F; }
.cookie-text { color: #4b5563; margin-bottom: 1.5rem; font-size: 0.95rem; }

.cookie-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.cookie-option-info h4 { font-size: 0.9rem; font-weight: 600; color: #2F2F2F; }
.cookie-option-info p { font-size: 0.8rem; color: #6b7280; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc; transition: .4s; border-radius: 34px;
}
.slider:before {
  position: absolute; content: "";
  height: 18px; width: 18px; left: 3px; bottom: 3px;
  background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: #5D8AA8; }
input:checked + .slider:before { transform: translateX(20px); }
input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media(min-width: 640px) {
  .cookie-actions { flex-direction: row; justify-content: flex-end; }
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-ghost { background: transparent; color: #4b5563; border: 1px solid #d1d5db; }
.btn-ghost:hover { background: #f3f4f6; }