/* Style for the popup background */
.popup-notify {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 150; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Popup content */
.popup-notify-content {
  background-color: #fefefe;
  padding: 10px;
  border: 1px solid #888;
  width: 75%; /* Could be more or less, depending on screen size */
  position: absolute; /* Absolute positioning within the fixed popup */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Offset to ensure centering */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
}

/* Image within the popup */
.popup-notify-content img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
}

/* Close button */
.close-btn {
  color: #aaa;
  position: absolute;
  top: 8px; /* Position it inside the image */
  right: 10px; /* Position it inside the image */
  font-size: 21px;
  font-weight: bold;
  /* background: rgba(255, 255, 255, 0.7); Slight background for visibility */
  /* border-radius: 50%; */
  padding: 5px 10px; /* Padding for better click area */
  z-index: 40; /* Ensure it is above the image */
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 920px) {
  .popup-notify-content {
    width: 80%; /* Adjust width for smaller screens */
  }
}

@media (max-width: 600px) {
  .popup-notify-content {
    width: 90%; /* Adjust width for even smaller screens */
  }

  .close-btn {
    font-size: 18px; /* Smaller font size for close button */
    top: 3px; /* Adjust position for smaller screens */
    right: 4px; /* Adjust position for smaller screens */
  }
}
