.cookie-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin: auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.7s ease forwards;
  opacity: 0;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon {
  flex-shrink: 0;
}

.cookie-box h2 {
  font-size: 20px;
  margin: 0;
  color: #4635bb;
}

.cookie-box p {
  font-size: 15px;
  color: #000;
  line-height: 1.5;
  margin: 0;
}

.cookie-box a {
  color: #6654c3;
  text-decoration: underline;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-box button {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#accept-cookie {
  background: #4635bb;
  color: white;
}

#accept-cookie:hover {
  background: #3727a3;
}

.reject {
  background: #6654c3;
  color: white;
}

.reject:hover {
  background: #5444aa;
}

.cookie-img {
    height: 2rem;
    width: 2rem;
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}