@media (min-width:681px) {
  .floating-notification-btn {
    position: fixed;
    right: 180px;
    top: 13px;
    background-color: #007bff;
    color: #fff;
    padding: 7px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 16px; */
  }

  .notification-box {
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    width: 300px;
    max-height: 530px;
    min-height: 400px;
    overflow-y: auto;
    border: 2px solid #007bff;
  }
}

.notification-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.notification-box {
  position: fixed;
  top: 60px;
  right: 20px;
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  width: 300px;
  max-height: 530px;
  min-height: 400px;
  overflow-y: auto;
  border: 2px solid #007bff;
}

.notification-box h4 {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-item {
  padding: 10px;
  background: #f9f9f9;
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid #eee;
  border-radius: 5px;
}

.notification-item p {
  margin: 0;
  font-weight: bold;
}

.notification-item span {
  font-size: 12px;
  color: #777;
}

/* .notification-details {
    background: #e9e9e9;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
  } */

.notification-details {
  max-height: 100px;
  /* Limit the height */
  overflow-y: auto;
  /* Add vertical scrolling */
  padding: 10px;
  /* Optional: add padding for readability */
  background-color: #f9f9f9;
  /* Optional: light background for details */
  border: 1px solid #ccc;
  /* Optional: border to visually separate details */
  margin-top: 5px;
  /* Space between the main content and details */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.tabs {
  display: flex;
  margin-bottom: 15px;
}

.tab {
  flex: 1;
  padding: 10px;
  background: #f0f0f0;
  cursor: pointer;
  border: none;
  text-align: center;
  font-size: 14px;
  margin: 4px;
  border-radius: 5px;
}

.tab.active {
  background: #007bff;
  color: #fff;
}

.notification-item.read {
  opacity: 0.6;
  /* Lower opacity for read notifications */
}

.notification-item.read:hover {
  opacity: 0.8;
  /* Slightly increase opacity on hover */
}

@media (max-width:680px) {
  .floating-notification-btn {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: #007bff;
    color: #fff;
    padding: 7px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 16px; */
  }

  .notification-box {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    width: 300px;
    max-height: 530px;
    min-height: 400px;
    overflow-y: auto;
    border: 2px solid #007bff;
  }

  .custom-search {
    position: relative !important;
    right: 0 !important;
    margin-bottom: 20px;
  }


}

.red-blinking {
  animation: redBlinking 1s infinite;
}

@keyframes redBlinking {
  0% {
    background-color: #5ED6FF;
  }

  50% {
    background-color: transparent;
  }

  100% {
    background-color: #5ED6FF;
  }
}

.custom-search {
  position: absolute;
  right: 21px;
  width: 250px;
}