.page-content {
  display: flex;
  justify-content: center;
  padding-top: 120px;
  padding-left: 120px;
}

.notifications-container {
  width: 800px;
  margin: 0 auto;
}

.notifications-title {
  text-align: center;
  margin-bottom: 30px;
}

.notification-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.notification-item.unread {
  background: #f0ecff;
  border-color: #d8d0ff;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.message {
  margin-top: 8px;
  text-align: left;
}

.mark-read-btn {
  background: #6a5acd;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  color: white;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.mark-read-btn:hover {
  background: #5a4ac0;
}

.mark-read-btn:focus {
  outline: 3px solid rgba(106,90,205,0.25);
  outline-offset: 2px;
}

.mark-read-btn.read {
  background: #e8e2ff;
  color: #555;
  cursor: default;
  opacity: 0.8;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 70px;
  left: 120px;
  display: none;
  z-index: 999;
}

/* Popup card */
.popup-card {
  background: #fff;
  width: 260px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4rem;
  text-decoration: none;
  color: #666;
}

/* Title */
.popup-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Menu items */
.popup-item {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.popup-item:hover {
  color: #6a5acd;
}

/* Log Out button */
.popup-logout {
  display: block;
  margin: 20px auto 0;
  background: #6a5acd;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.popup-logout:hover {
  background: #5a4ac0;
}

.popup-logout:active {
  background: #4a3ab0;
}
