/* ------------------------------
   COOKIE BANNER
------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;

  /* Animation hidden state */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-actions button {
  margin-left: 10px;
  padding: 8px 14px;
  border: none;
  background: #f3f3f3;
  cursor: pointer;
  border-radius: 4px;
  transition: transform .2s ease, background .2s ease;
}

.cookie-actions button:hover {
  transform: translateY(-2px);
  background: #e8e8e8;
}

/* ------------------------------
   MODAL
------------------------------ */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  /* Animation hidden state */
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-content {
  background: #fff;
  padding: 20px;
  width: 350px;
  border-radius: 8px;

  /* Animation hidden state */
  transform: scale(.9);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
  opacity: 1;
}

.cookie-option {
  display: block;
  margin: 10px 0;
}

.modal-actions {
  margin-top: 15px;
  text-align: right;
}

.modal-actions button {
  margin-left: 10px;
  padding: 8px 14px;
  border: none;
  background: #f3f3f3;
  cursor: pointer;
  border-radius: 4px;
  transition: transform .2s ease, background .2s ease;
}

.modal-actions button:hover {
  transform: translateY(-2px);
  background: #e8e8e8;
}

.cookie-option.essential {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-option.essential input {
  cursor: not-allowed;
}

.cookie-desc {
  font-size: 13px;
  color: #666;
  margin-left: 22px;
}