/* Notification Icon */
.notif-icon-container {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 400;
}

.notif-icon {
  font-size: 28px;
  color: #fff;
  transition: transform 0.2s;
}
.notif-icon:hover {
  transform: scale(1.1);
}

.notif-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Overlay */
.notif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease, width 0s linear 0.3s;
  z-index: 999;
}

.notif-overlay.active {
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Sidebar Panel */
.notif-panel {
  position: fixed;
  top: 0;
  right: -50%;
  width: 50%;
  height: 100%;
  background: #101f30;
  box-shadow: -2px 0 10px rgba(0,0,0,0.5);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.notif-panel h2{
  font-size: 17px;
}

.notif-panel.active {
  right: 0;
}

/* Header (fixed at top) */
.notif-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0c1723;
  border-bottom: 1px solid #243b55;
  color: #fff;
  font-weight: 600;
  z-index: 10;
}

.notif-close {
  font-size: 26px;
  cursor: pointer;
  color: #ff4d6d;
  transition: transform 0.2s;
}
.notif-close:hover {
  transform: scale(1.2);
}

/* Notification List */
.notif-list {
  list-style: none;
  margin: 0;
  font-family: "Anek Gujarati", sans-serif;
  padding: 15px;
  overflow-y: auto;
  flex: 1;
}

.notif-list li {
  background: #1e3249;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: transform 0.2s, background 0.3s;
}
.notif-list li:hover {
  transform: translateY(-2px);
  background: #2a4663;
}

.notif-list li a {
  display: inline-block;
  background: #0056b3;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.notif-list li a:hover {
  background: #0a74d9; /* lighter blue on hover */
  transform: translateY(-2px);
}

.notif-list li a:active {
  background: #004494; /* darker blue on click */
  transform: translateY(0);
}


/* Notification Head */
.notif-head {
  padding: 14px 16px;
  cursor: pointer;
  color: #fff;
  font-weight: 500;
  background: transparent;
}

/* Full Message */
.notif-message {
  display: none;
  padding: 4px 16px 12px 16px;
  color: #cfd9e6;
  font-size: 14px;
  line-height: 1.4;
}
.notif-message.active {
  display: block;
}

@media screen and (max-width: 767px){
  .notif-panel h2{
    font-size: 16px;
  }
  .notif-icon{
    font-size: 22px;
  }
  .notif-dot {
    width: 7px;
    height: 7px;
    top: 1px;
    right: 1px;
  }
}