#cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* animation */
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.cookie-content {
  background: #3d543cf6;
  color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  /* animation */
  transform: translateY(20px);
  animation: slideUp 0.5s ease forwards;
}

.cookie-content p {
  font-size: 18px;
  margin: 0;
  color: #ffffff;
}

.cookie-content a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-content a:hover {
  color: #c29b58;
}

.cookie-close {
    display: flex;
    width: 185px;
    height: 40px;
    padding: 10px 40px;
    justify-content: center;
    align-items: center;
    border: none;
    gap: 10px;
    border-radius: 20px 0;
    background: #CF7525;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    line-height: 2px;
    cursor: pointer;
}

.cookie-close:hover {
  background-color: #dd8e49;
}

.cookie-close:focus {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.dpo-image img {
  width: 250px;
}

.dpo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ✅ Responsive adjustments */
@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    padding: 20px 15px;
    gap: 15px;
  }

  .cookie-content p {
    font-size: 16px;
  }

  .dpo-image img {
    width: 180px;
  }
}

/* ✅ Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

/* ✅ Prevent background scroll when active */
body.cookie-open {
  overflow: hidden;
}
