.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 920px;
  width: calc(100% - 32px);

  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #ffffff;
  padding: 18px 22px;
  border-radius: 18px;

  display: none;
  z-index: 9999;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  animation: cookieFadeIn 0.5s ease;

  text-align: center; /* Centrare text */
}

@keyframes cookieFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #e5e5e5;
  text-align: center; /* Centrare text */
}

.cookie-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center; /* Centrare butoane */
  flex-wrap: wrap;
}

.cookie-actions button {
  appearance: none;
  border: none;
  cursor: pointer;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;

  transition: all 0.25s ease;
}

#cookie-accept {
  background: linear-gradient(135deg, #2c7a7b, #319795);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(44, 122, 123, 0.4);
}

#cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(44, 122, 123, 0.55);
}

#cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

#cookie-decline:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px;
    padding: 16px;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: center; /* Centrare butoane pe mobil */
  }

  .cookie-actions button {
    width: 100%;
    text-align: center;
  }
}
