/* Styles for the consent banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f4f8;
  padding: 20px;
  text-align: center;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensure it stays on top */
}

/* Paragraph inside the banner for the message */
.consent-banner p {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 16px;
}

/* Styling for buttons */
.consent-banner button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Specific styles for the consent button */
#consentButton {
  background-color: #4caf50;
}

#consentButton:hover {
  background-color: #45a049;
}

/* Specific styles for the deny button */
#denyButton,
#closePopup,
#closeJs {
  background-color: #f44336;
}

#denyButton:hover {
  background-color: #da190b;
}

/* Styles for the floating button */
.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px;
  background-color: #007bff;
  color: white;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-size: 25px;
  z-index: 2000;
}

/* Styles for the popup */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.textarea-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
}

/* Styles for the textarea container */
.textarea-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
  background: white;
  padding: 10px;
  border-radius: 10px;
  z-index: 2000;
}

.textarea-container textarea {
  width: 300px;
  min-height: 150px;
  resize: none;
  overflow-y: hidden;
  margin-bottom: 10px;
}

.popup button,
.textarea-container button {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup button:hover {
  background-color: #45a049;
}

#openTextarea {
  background-color: #030300;
}
