.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  opacity: 0; /* Initially invisible */

}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 80%;
  height: auto;
  max-height: 505px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup.show .popup-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.close {
  position: absolute;
  top: 4px;
  right: 12px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-end;
}

.checkbox_ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.buttons {
  display: flex;
  gap: 10px;
  margin-right: 2%;
}

.form-check {
  margin-left: 2%;
}

.form-check-label {
  margin-left: 5px;
  margin-bottom: 0;
  font-weight: 400;
}

.form-check-input {
    margin: 0;
}

.combine_contents {
    text-align: left;
    padding-left: inherit;
    width: -webkit-fill-available;
    white-space: pre;
    font: 12px 'Microsoft YaHei', 'PingFang SC', Helvetica, Tahoma, Arial, sans-serif !important;
    line-height: 1.5 !important;
}

.notification-link {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  display: none;
}

 .notificationWindow {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    z-index: 9999;
    transition: right 0.3s ease;
    background-color: white;
}

.notification {
    padding: 25px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s ease;
}

.notification:hover {
    background-color: #f0f0f0;
}

.notification h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.notification p {
    margin-top: 0;
    margin-bottom: 0;
}

.notification {
    position: absolute;
    top: 40px;
    right: 5px;
    left: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #888;
    box-shadow: 0 1px 0 #ccc, 0 -1px 0 #ccc;
    color: #000;
}
