/* ── Page background ── */
.noti-page-bg {
  background: #f5f5f5;
  min-height: 100vh;
}

/* ── Sub-header putih: "Notifikasi Pesanan" ── */
.noti-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 56px; /* tinggi Header navbar */
  z-index: 99;
}

.noti-sub-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

/* Di desktop, sub-header disembunyikan (sudah ada di dalam card) */
@media (min-width: 768px) {
  .noti-sub-header {
    display: none;
  }
}

/* ── Tombol "Tandai Sudah Dibaca" ── */
.btn-read-all {
  background: none;
  border: none;
  color: #ff5200;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/* ── Main wrapper ── */
.noti-main-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  min-height: calc(100vh - 120px);
  padding-bottom: 80px; /* space BottomMenu */
}

@media (min-width: 768px) {
  .noti-main-wrapper {
    max-width: 1000px;
    background: transparent;
    min-height: auto;
    padding: 2rem 20px 3rem;
  }
}

/* ── Content area (card desktop) ── */
.noti-content-area {
  background: white;
}

@media (min-width: 768px) {
  .noti-content-area {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }
}

/* ── Top bar inside card (desktop only) ── */
.noti-top-bar-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.noti-top-bar-desktop h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

/* ── Notification item ── */
.noti-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  background: white;
}

.noti-item:hover {
  background-color: #fff9f6;
}

.noti-item.unread {
  background-color: white; /* sesuai screenshot: tidak beda warna */
}

.noti-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.noti-body {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 6px;
  padding-right: 20px;
}

.order-link-text {
  color: #ff5200;
  font-weight: 700;
}

.noti-time {
  color: #aaa;
  font-size: 0.8rem;
}

.noti-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 0.9rem;
}
