.cookie-banner {
  width: 100%;
  max-width: 100%;
  padding: 15px;
  font-size: 16px;
  position: fixed;
  bottom: 400px;
  text-align: center;
  left: 0;
  background-color: #ffc451 !important;
  color: black !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.cookie-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie-btn {
  background-color: #007bff;
  color: black;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.cookie-btn:hover {
  background-color: white;
  color: black;
}

.cookie-config {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffc451 !important;
  color: black !important;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  max-width: 600px;
  width: 80%;
  border-radius: 5px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-config h2 {
  margin-top: 0;
}

.cookie-config form {
  display: flex;
  flex-direction: column;
}

.cookie-config label {
  margin-bottom: 10px;
  color: black;
}

.save-btn {
 background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}


@media (max-width: 768px) {
  .cookie-banner {
    width: 90% !important; 
    padding: 10px; 
    font-size: 12px !important; 
    position: fixed;
    bottom: 200px;
    left: 5%; 
    background-color: #ffc451 !important;
    color: black !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    height: auto;
    overflow-y: auto;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-btn {
    font-size: 12px;
    padding: 10px;
    width: 100%; /* Keep the width at 100% */
    max-width: 100%; /* Keep the max-width at 100% */
  }

  .cookie-config {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffc451 !important;
    color: black !important;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    max-width: 80%;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
  }
}