/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  color: #333;
  line-height: 1.6;
}


/* Notifications Container */
.notifications-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1443ec;
}

/* Notification List */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.notification-item {
  background: #f1f7ff;
  padding: 15px 20px;
  border-left: 5px solid #007bff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.notification-item.unread {
  background: #e3f0ff;
  font-weight: 600;
}
.notification-item:hover {
  background: #d9ecff;
}
.notif-title {
  font-size: 1rem;
  color: #003366;
  margin-bottom: 5px;
}
.notif-meta {
  font-size: 0.85rem;
  color: #666;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from {transform: translateY(-20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #000;
}
#modal-title {
  margin-bottom: 10px;
  color: #007bff;
}

.badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  margin-left: 10px;
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
}


@media (max-width: 768px) {

  .notifications-container {
    margin: 20px 10px;
    padding: 15px 15px;
    border-radius: 8px;
  }

  .section-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
  }

  .notification-list {
    gap: 12px;
  }

  .notification-item {
    padding: 12px 15px;
    border-left-width: 4px;
    font-size: 0.95rem;
  }

  .notif-title {
    font-size: 0.95rem;
  }

  .notif-meta {
    font-size: 0.8rem;
  }

  /* Modal */
  .modal-content {
    margin: 20% auto;
    padding: 20px 15px;
    width: 95%;
    max-width: none;
    border-radius: 8px;
  }

  .close {
    font-size: 20px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 2px 5px;
  }
}
