/* Modal Overlay */
.notification-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.notification-content {
  background: #fff;
  width: 734px;
  height: 724px;
  border-radius: 9px;
  padding: 25px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow-y: auto;
}

.notification-content h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
}

/* Each Notification */
.notification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  height: 75px;
}

.notification-item.urgent {
  border-left: 5px solid #ff4b4b;
}

.notification-text {
  display: flex;
  flex-direction: column;
}

.notification-text strong {
  color: #d32f2f;
}

.notification-item small {
  color: gray;
  margin-top: 3px;
}

.clear-btn {
  width: 179px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  display: block;
  margin: 25px auto 0;
  font-weight: 600;
}

.clear-btn:hover {
  background: #f1f1f1;
}

/* Responsive (Mobile 553x667) */
@media (max-width: 768px) {
  .notification-content {
    width: 553px;
    height: 667px;
    border-radius: 9px;
    padding: 20px;
  }

  .notification-item {
    height: auto;
    padding: 12px;
  }

  .notification-content h2 {
    font-size: 24px;
  }

  .clear-btn {
    width: 160px;
    height: 38px;
  }
}
