.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
  max-width: 680px;
  width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.cookie-banner h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.cookie-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-action-buttons .btn {
  flex: 1 1 140px;
  font-weight: 600;
}

.cookie-settings-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1075;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.cookie-modal .form-check {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-modal .form-check:hover {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1);
}

.cookie-modal small {
  color: #6b7280;
}

.cookie-modal .form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
}

.cookie-modal .badge {
  font-size: 0.7rem;
}

@media (max-width: 576px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    transform: none;
    bottom: 1rem;
  }

  .cookie-settings-button {
    bottom: 1rem;
    right: 1rem;
  }
}
