.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f4f4f5; /* Light grey background */
  color: #333; /* Dark grey text */
  padding: 1rem 2rem; /* Increase horizontal padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Slight shadow for depth */
  z-index: 1000; /* Ensure it stays on top of other content */
}

.cookie-consent-text {
  flex: 1 1 auto; /* Allow the text to grow and push buttons to the end */
  margin-right: 2rem; /* Add some space between the text and buttons */
  min-width: 60%; /* Ensure text takes up sufficient space on larger screens */
}

.cookie-consent-actions {
  flex: 0 1 auto; /* Prevent actions from growing */
}

.btn-accept {
  background-color: #4CAF50 !important; /* Green for acceptance, override Bootstrap's color */
  color: white !important;
}

.btn-accept:hover {
  background-color: #45a049 !important;
}

.btn-decline {
  background-color: #f44336 !important; /* Red for decline, override Bootstrap's color */
  color: white !important;
}

.btn-decline:hover {
  background-color: #da190b !important;
}

@media (max-width: 768px) {
  .cookie-consent-text {
    margin-bottom: 1rem; /* Add space below text on smaller screens */
    margin-right: 0; /* Remove the right margin on smaller screens */
    min-width: 0; /* Reset min-width on smaller screens for flexibility */
  }

  .cookie-consent-actions {
    width: 100%; /* Allow action buttons to take full width on smaller screens */
    justify-content: flex-end; /* Align buttons to the right on smaller screens */
  }
}

