/* 提醒中心 - 页面样式（配合 css/train.css 使用） */

.rm-perm {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid var(--border); border-radius: 10px;
    padding: 11px 12px; margin-bottom: 10px;
}
.rm-perm.ok { border-color: #1d7a3e; }
.rm-perm.bad { border-color: #c0392b; }
.rm-perm-dot {
    width: 9px; height: 9px; border-radius: 50%; flex: none;
    background: var(--muted); box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.rm-perm.ok .rm-perm-dot { background: #1d7a3e; }
.rm-perm.bad .rm-perm-dot { background: #c0392b; }
.rm-perm-grow { flex: 1; min-width: 0; }
.rm-perm-title { font-size: 0.86rem; font-weight: bold; }
.rm-perm-sub { font-size: 0.72rem; color: var(--muted); margin-top: 3px; line-height: 1.6; }

.rm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.rm-note {
    margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--border);
    font-size: 0.74rem; color: var(--muted); line-height: 1.85;
}
.rm-note p { margin: 0 0 6px; }
.rm-note p:last-child { margin-bottom: 0; }
.rm-note b { color: var(--fg); }
.rm-note a { color: var(--fg); }

/* 列表项（每日 / 锁 / 自定义 / 记录 共用） */
.rm-list { margin-top: 4px; }
.rm-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid var(--border);
}
.rm-item:last-child { border-bottom: none; }
.rm-item-main { flex: 1; min-width: 0; }
.rm-item-name { font-size: 0.86rem; }
.rm-item-sub { font-size: 0.72rem; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.rm-item-time {
    font: inherit; font-size: 0.85rem; font-family: inherit;
    border: 1.5px solid var(--fg); border-radius: 8px;
    padding: 6px 8px; background: var(--bg); color: var(--fg); outline: none;
    width: 108px; flex: none;
}
.rm-item-del {
    background: none; border: none; color: var(--muted);
    font-size: 1rem; cursor: pointer; padding: 4px 6px; flex: none;
}
.rm-item-del:hover { color: #c0392b; }

/* 开关 */
.rm-switch { position: relative; flex: none; cursor: pointer; }
.rm-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.rm-switch-track {
    display: block; width: 44px; height: 25px; border-radius: 13px;
    background: #e2e2e2; transition: background 0.18s; position: relative;
}
.rm-switch-thumb {
    position: absolute; top: 2.5px; left: 2.5px; width: 20px; height: 20px;
    border-radius: 50%; background: #fff; transition: transform 0.18s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.rm-switch input:checked + .rm-switch-track { background: var(--fg); }
.rm-switch input:checked + .rm-switch-track .rm-switch-thumb { transform: translateX(19px); }

/* 表单 */
.rm-form-row { display: flex; gap: 10px; }
.rm-grow { flex: 1; min-width: 0; }

.rm-status { font-size: 0.76rem; line-height: 1.7; margin-top: 8px; min-height: 1px; }
.rm-status.ok { color: #1d7a3e; }
.rm-status.bad { color: #c0392b; }

.rm-tip { font-size: 0.72rem; color: var(--muted); line-height: 1.75; margin: 8px 0 0; }
.rm-count { font-size: 0.68rem; color: var(--muted); font-weight: normal; }

.rm-empty { font-size: 0.8rem; color: var(--muted); padding: 10px 0; }

@media (max-width: 380px) {
    .rm-form-row { flex-direction: column; gap: 0; }
    .rm-item-time { width: 96px; }
}
