.cookie-banner {
  position: fixed;
  right: 20px; /* Adjust distance from left edge as needed */
  bottom: 20px; /* Adjust distance from bottom edge as needed */
  width: 400px;
  background-color: white;
  color: black;
  padding: 20px;
  z-index: 1000;
  text-align: center;
  display: none;
  box-shadow: 0 0 10px black;
  border-radius: 5px;
}

.cookie-banner-title {
	margin-top: 0;
}



.close-button {
	position: absolute;
	right: 20px;
	top: 20px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: black;
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
	.cookie-banner {
		left: 0; 
		bottom: 0; 
		width: 100%; 
	}
  
	.cookie-banner-title {
		font-size: 1.1rem;
	}
}

.cookie-banner-content {
  margin: 0 auto;
}

.cookie-switches {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-direction: column; 
}

.switch-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: black;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch-label-text {
	color: black !important;
}

.switch-item .fa-info-circle {
  margin-left: 5px; /* Add some space between text and icon */
  cursor: help; /* Change cursor to indicate help */
  color: black !important;
/*   position: relative; /* Add position relative to the icon */ */
}
.tooltip-text {
  display: none; /* Hide the tooltip text by default */
  position: absolute;
  z-index: 1001;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
  word-wrap: break-word;
  background-color: #ededed;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: normal;
}

.switch-item .fa-info-circle:hover + .tooltip-text { 
  display: block; /* Show the tooltip text on hover */
}


.switch-item .fa-info-circle {
  margin-left: 5px; 
  cursor: help; 
}

/* Hide default HTML checkbox */
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #fd0100; /* Red */
}

input:focus + .slider {
  box-shadow: 0 0 1px #fd0100; /* Red */
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.cookie-banner-content button {
  background-color: white;
  color: black;
  border: 2px solid #fd0100; /* Red */
  padding: 10px 20px;
/*   margin: 0 10px; */
  cursor: pointer;
  border-radius: 5px;
  flex: 1;
}

.cookie-banner-content button:hover {
  background-color: #fd0100; /* Red background on hover */
  color: white; /* Optional: Change text color on hover */
}

.cookie-banner-buttons {
	display: flex;
	justify-content: center;
	gap: 1em;
/*   margin: 20px 0; */
	width: 70%;
	margin: 0 auto;
}

#allow-all {
  background-color: #fd0100; /* Red */
  color: white;
}

#allow-all:hover {
  color: black;
}

.cookie-banner-links {
  display: flex;
  justify-content: center;
  gap: 1em; /* Adjust the gap as needed */
  margin: 0 auto 20px auto;
/*   margin: 0 auto; */
/*   width: 100%; */
}

.policy-button {
  background-color: transparent; 
  border: none; /* Remove border */
  color: black; 
  text-decoration: underline; /* Add underline like a link */
  cursor: pointer;
  padding: 0; /* Remove padding */
/*   flex: 1; */
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */

  .switch-item {
    margin-bottom: 10px; 
    display: flex; /* Make switch-item a flex container */
    justify-content: center; /* Center content horizontally */
    width: 100%; /* Make switch-item take full width */
  }
	
.cookie-banner-buttons {
	width: 90%;
}
}