/* Cookie Popup Styles (Bottom, 80% Width) */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-top: 1px solid #ccc;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 80%;
  border-radius: 8px 8px 0 0;
}
.cookie-popup p {
  margin: 0 0 10px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
}
.cookie-popup .buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-popup button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}
.cookie-popup button.accept {
  background-color: #4caf50;
  color: #fff;
}
.cookie-popup button.reject {
  background-color: #f44336;
  color: #fff;
}
.cookie-popup button.customize {
  background-color: #2196f3;
  color: #fff;
}

/* Modal Styles for Customize and Reject Confirmation */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
  width: 90%;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  text-align: center; /* Center all text */
}
.modal-content h2 {
  margin-top: 0;
}
.modal-content p {
  font-size: 15px;
  color: #333;
  margin: 10px 0;
}
.modal-content .cookie-option {
  margin: 10px 0;
}
.modal-content label {
  font-size: 15px;
  color: #333;
  text-align: center;
  display: block;
}
.modal-content button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}
/* Buttons container for modals */
.modal-content .buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.modal-content button.confirm {
  background-color: #f44336;
  color: #fff;
}
.modal-content button.cancel {
  background-color: #4caf50;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .cookie-popup {
    padding: 15px;
  }
  .modal-content {
    margin: 20% auto;
    width: 95%;
  }
}
