/* 알림 공통 UI (관리자 / 입점사) */
.notify-section { max-width: 960px; }
.notify-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.notify-h2 { font-size: 20px; font-weight: 800; margin: 0; color: #111827; }
.notify-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.notify-btn {
  padding: 7px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  color: #374151;
}
.notify-btn:hover { background: #e5e7eb; }
.notify-year-select {
  padding: 7px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  font-family: inherit;
  background: white;
}
.notify-empty { text-align: center; padding: 48px 20px; color: #9ca3af; font-size: 14px; }
.notify-list { display: flex; flex-direction: column; gap: 8px; }

.notify-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
}
.notify-card.unread { background: #f8faff; border-color: #dbeafe; }
.notify-card-icon { font-size: 22px; flex-shrink: 0; }
.notify-card-body { flex: 1; min-width: 0; }
.notify-card-title { font-weight: 600; font-size: 14px; color: #111827; margin-bottom: 4px; }
.notify-card-msg { font-size: 13px; color: #6b7280; line-height: 1.5; }
.notify-card-date { font-size: 11px; color: #9ca3af; margin-top: 6px; }
.notify-card-dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.notify-card-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.notify-month-group, .notify-day-group, .quote-month-group, .quote-day-group {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 10px;
  background: white;
  overflow: hidden;
}
.notify-month-summary, .notify-day-summary, .quote-month-summary, .quote-day-summary {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  list-style: none;
  background: #f9fafb;
  user-select: none;
}
.notify-month-summary { font-size: 15px; }
.notify-day-summary, .quote-day-summary { font-size: 13px; background: #fafafa; padding-left: 24px; }
.notify-month-body, .notify-day-body, .quote-month-body, .quote-day-body { padding: 10px 12px 12px; }
.notify-day-body { padding-left: 16px; }

details.notify-month-group > summary::-webkit-details-marker,
details.notify-day-group > summary::-webkit-details-marker,
details.quote-month-group > summary::-webkit-details-marker,
details.quote-day-group > summary::-webkit-details-marker { display: none; }
details.notify-month-group > summary::before,
details.quote-month-group > summary::before { content: '▸ '; color: #9ca3af; }
details.notify-month-group[open] > summary::before,
details.quote-month-group[open] > summary::before { content: '▾ '; }
details.notify-day-group > summary::before,
details.quote-day-group > summary::before { content: '▸ '; color: #9ca3af; font-size: 11px; }
details.notify-day-group[open] > summary::before,
details.quote-day-group[open] > summary::before { content: '▾ '; font-size: 11px; }

/* 사이드바 하위 메뉴 — 알림 바로 아래 */
.anav-sub-btn, .dnav-sub-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 4px 12px 8px 28px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Noto Sans KR', sans-serif;
  margin-top: -2px;
  margin-bottom: 4px;
}
.anav-sub-btn {
  color: rgba(255,255,255,0.5);
}
.anav-sub-btn:hover, .anav-sub-btn.active {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
}
.dnav-sub-btn {
  color: #9ca3af;
}
.dnav-sub-btn:hover, .dnav-sub-btn.active {
  color: #374151;
  background: #f9fafb;
}
