.ds-cookie-banner {
  position: fixed;
  z-index: 9999;
  animation: slideIn 0.5s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
}

.ds-cookie-banner.ds-cookie-top {
  top: 10px;
}

.ds-cookie-banner.ds-cookie-bottom {
  bottom: 10px;
}

.ds-cookie-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ds-cookie-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  min-width: 250px;
}

.ds-cookie-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 3px;
}

.ds-cookie-message strong {
  font-weight: bold;
  font-size: 16px;
}

.ds-cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ds-cookie-btn {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  min-width: 80px;
  text-transform: uppercase;
}

/* Animation for banner appearance */
@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ds-cookie-banner.ds-cookie-top {
  animation: slideInTop 0.5s ease-out;
}

@keyframes slideInTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hide animation */
.ds-cookie-banner.ds-cookie-hide {
  animation: slideOut 0.5s ease-in forwards;
}

@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.ds-cookie-banner.ds-cookie-top.ds-cookie-hide {
  animation: slideOutTop 0.5s ease-in forwards;
}

@keyframes slideOutTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .ds-cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .ds-cookie-title {
    justify-content: center;
  }

  .ds-cookie-message {
    margin-bottom: 10px;
  }

  .ds-cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .ds-cookie-btn {
    flex: 1;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .ds-cookie-banner {
    padding: 0;
  }

  .ds-cookie-message {
    font-size: 13px;
  }

  .ds-cookie-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .ds-cookie-banner.ds-cookie-top {
    top: 0px;
  }

  .ds-cookie-banner.ds-cookie-bottom {
    bottom: 0px;
  }
}
