/* 任务提醒中心 · PC 端样式 · 2026-09-15 */
/* 顶栏按钮徽标已复用 .notif-badge (notifications.css) */

/* ---- 右侧抽屉 ---- */
.reminder-drawer {
  position: fixed;
  top: var(--active-topbar-height, 56px);
  right: 0;
  bottom: var(--active-pager-height, 0px);
  width: min(480px, calc(100vw - 48px));
  background: #fff;
  z-index: 92;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 28px rgba(0, 0, 0, .1);
  animation: remDrawerIn .18s ease-out;
}
.reminder-drawer.is-hidden { display: none !important; }
.reminder-drawer-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #eef1f5; flex: none;
}
.reminder-drawer-title { font-size: 16px; font-weight: 700; color: #1c1c1e; }
.reminder-drawer-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px 0; border-bottom: 1px solid #eef1f5; flex: none;
}
.rem-tab {
  border: none; background: none; padding: 8px 14px; font-size: 13px;
  color: #6b7280; cursor: pointer; border-radius: 6px 6px 0 0; border-bottom: 2px solid transparent;
}
.rem-tab.is-active { color: #2b6cff; font-weight: 600; border-bottom-color: #2b6cff; }
.rem-tabs-actions { margin-left: auto; display: flex; gap: 6px; padding-bottom: 8px; }
.rem-link {
  border: none; background: none; color: #2b6cff; font-size: 12px; cursor: pointer; padding: 4px 6px;
}
.rem-link.danger { color: #e5484d; }
.reminder-drawer-body { flex: 1; overflow-y: auto; padding: 12px; }
.rem-tip, .rem-empty { text-align: center; color: #9aa0aa; font-size: 13px; padding: 40px 0; }
.rem-count-row { font-size: 12px; color: #6b7280; padding: 0 2px 10px; display: flex; align-items: center; gap: 10px; }
.rem-checkall { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.rem-list { display: flex; flex-direction: column; }
.rem-cell {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px;
  border-bottom: 1px solid #f2f5fa; cursor: pointer; border-radius: 8px;
}
.rem-cell:hover { background: #f6f9ff; }
.rem-cell.is-read { opacity: .7; }
.rem-cell.is-read .rem-cell-title { color: #6b7280; font-weight: 400; }
.rem-check { display: flex; align-items: center; padding-top: 2px; }
.rem-checkall input, .rem-check input { width: 16px; height: 16px; cursor: pointer; }
.rem-cell-main { flex: 1; min-width: 0; }
.rem-cell-title { font-size: 14px; font-weight: 600; color: #1c1c1e; line-height: 1.4; display: flex; align-items: center; gap: 6px; }
.rem-dot { width: 7px; height: 7px; flex: none; border-radius: 4px; background: #ff3b30; }
.rem-cell-sub { font-size: 12px; color: #8a8f99; margin-top: 4px; line-height: 1.5; }
.rem-cell-actions { display: flex; gap: 4px; flex: none; }
.rem-mini {
  border: 1px solid #dde3ee; background: #fff; color: #4b5563; font-size: 11px;
  padding: 3px 8px; border-radius: 4px; cursor: pointer;
}
.rem-mini.danger { color: #e5484d; }
.rem-mini:hover { border-color: #2b6cff; color: #2b6cff; }

/* ---- 设提醒弹窗 ---- */
.reminder-drawer + .modal-mask, .modal-mask { }
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .4);
  z-index: 120; display: flex; align-items: center; justify-content: center;
  animation: fadeIn .15s ease-out;
}
.modal-card {
  background: #fff; border-radius: 12px; width: 420px; max-width: 92vw;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .18); overflow: hidden;
}
.modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; font-size: 15px; font-weight: 700; color: #1c1c1e;
  border-bottom: 1px solid #eef1f5;
}
.modal-x { border: none; background: none; font-size: 16px; color: #8a8f99; cursor: pointer; }
.modal-bd { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-field { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #4b5563; }
.modal-field > span { width: 72px; flex: none; text-align: right; }
.modal-field input, .modal-field select {
  flex: 1; padding: 8px 10px; border: 1px solid #dde3ee; border-radius: 6px;
  font-size: 13px; color: #1c1c1e; background: #fff;
}
.rem-sf-title { font-size: 13px; color: #2b6cff; background: #edf4ff; border-radius: 6px; padding: 8px 12px; line-height: 1.4; }
.modal-ft {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-top: 1px solid #eef1f5;
}

/* ---- 列表行内 ⏰ 按钮 ---- */
.rem-row-btn {
  border: none; background: none; font-size: 15px; cursor: pointer;
  padding: 2px 4px; border-radius: 4px; line-height: 1;
}
.rem-row-btn:hover { background: #edf4ff; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes remDrawerIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }