/* 
   1) Full-screen black overlay behind the modal 
*/
.modal {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  
  /* Center the .modal-content box */
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
   2) The white modal box that contains the icon, text, and buttons
*/
.modal-content {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  max-width: 320px; /* Adjust width as you wish */
  width: 90%;
  text-align: center;
  color: #000 !important; /* Force black text */
}

/* Force all text within the modal to black if your theme overrides it */
.modal-content * {
  color: #000 !important;
}

/*
   3) Icon styling - centered inside the modal
*/
.modal-icon {
  margin-bottom: 10px;
}
.modal-icon img {
  max-width: 80px; /* Adjust size for visibility */
  height: auto;
  display: block;
  margin: 0 auto;
}

/*
   4) Buttons container
*/
.btn-container {
  display: flex;
  justify-content: center;
  gap: 10px; /* Space between buttons */
  margin-top: 20px;
}

/*
   5) Individual buttons
*/
.custom-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
}
.agree-btn {
  background-color: #4caf50;
  color: #fff;
}
.disagree-btn {
  background-color: #f44336;
  color: #fff;
}

/*
   6) Responsive adjustments for mobile
*/
@media (max-width: 600px) {
  .modal-content {
    max-width: 90%;
  }
  .btn-container {
    flex-direction: column;
  }
}