body {
  font-family: Arial, sans-serif;
  background: #f6f7fb;
  margin: 0;
  padding: 0;
}

.header {
  background: #111827;
  color: white;
  padding: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.notify-btn {
  position: relative;
  display: inline-block;
  padding: 8px 15px;
  background-color: #2563eb;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.notify-btn:hover {
  background-color: #1e40af;
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: red;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

.notification-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 100px); /* show about 6 messages */
  overflow-y: auto;
}

.notification {
  background-color: #f5f5f5;
  border-left: 5px solid #007bff;
  padding: 30px;
  font-size: 1.8rem; /* bigger font for messages */
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.2s;
  min-height: 100px; /* ensures each notification occupies more space */
}

.notification.unread {
  background-color: #e0f0ff;
  font-weight: bold;
}

.notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.notification small {
  display: block;
  color: #6b7280;
  margin-top: 10px;
  font-size: 1.2rem;
}

.empty-text {
  text-align: center;
  color: #6b7280;
}

/* Modal / Slip */
#notificationModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 10px;
}

#notificationModal .modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  width: 95%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  font-size: 2rem; /* very big for mobile */
}

#notificationModal .closeBtn {
  float: right;
  cursor: pointer;
  font-weight: bold;
  font-size: 2rem;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .notification {
    font-size: 1.6rem;
    padding: 25px;
  }

  #notificationModal .modal-content {
    font-size: 1.8rem;
    padding: 30px;
  }
}
