/* NOTES */
.notes-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.notes-title{font-size:15px;font-weight:700}
.btn-new-note{padding:7px 14px;font-size:13px;font-weight:600;background:#007aff;color:#fff;border:none;border-radius:20px;cursor:pointer}
.note-card{background:#fff;border-radius:14px;border:1px solid #e0e0e0;padding:12px 14px;margin-bottom:8px;cursor:pointer;transition:box-shadow .15s,transform .15s;display:flex;gap:10px;align-items:flex-start}
.note-card:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.07)}
.note-card-inner{flex:1;min-width:0}
.note-card-title{font-size:14px;font-weight:600;line-height:1.4;margin-bottom:4px}
.note-card-done .note-card-title{text-decoration:line-through;color:#8e8e93}
.note-card-body{font-size:13px;color:#555;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:5px}
.note-card-date{font-size:11px;color:#8e8e93}
.note-reminder-badge{display:inline-flex;align-items:center;gap:3px;font-size:11px;padding:2px 8px;border-radius:10px;background:#fff3cd;color:#856404;font-weight:500;margin-bottom:5px}
.note-reminder-badge.overdue{background:#ffe5e5;color:#ff3b30}
.note-done-circle{width:22px;height:22px;border-radius:50%;border:2px solid #c7c7cc;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:all .15s;background:transparent;margin-top:1px}
.note-done-circle.done{border-color:#34c759;background:#34c759}
.note-done-circle.done::after{content:'✓';color:#fff;font-size:11px;font-weight:700}
.note-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.note-modal-back{background:none;border:none;font-size:15px;color:#007aff;cursor:pointer;padding:0;font-weight:500}
.note-saved{font-size:11px;color:#34c759}
.note-editor-title{width:100%;font-size:17px;font-weight:600;border:none;background:transparent;padding:0 0 10px;border-bottom:.5px solid #f0f0f5;margin-bottom:10px;box-sizing:border-box}
.note-editor-title:focus{outline:none}
.note-editor-body{width:100%;font-size:14px;border:none;background:transparent;padding:0;resize:none;line-height:1.75;box-sizing:border-box;min-height:160px}
.note-editor-body:focus{outline:none}
.note-meta-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-top:.5px solid #f0f0f5;margin-top:4px}
.note-meta-label{font-size:14px;color:#1c1c1e;display:flex;align-items:center;gap:6px}
.note-reminder-input{border:none;background:transparent;font-size:13px;color:#007aff;font-weight:500;cursor:pointer;max-width:155px}
.note-reminder-input:focus{outline:none}
.note-reminder-clear{background:none;border:none;font-size:13px;cursor:pointer;color:#ff3b30;padding:0 2px;line-height:1}
.note-toggle{position:relative;width:44px;height:26px;flex-shrink:0}
.note-toggle input{opacity:0;width:0;height:0;position:absolute}
.note-toggle-slider{position:absolute;cursor:pointer;inset:0;background:#ccc;border-radius:13px;transition:.2s}
.note-toggle-slider:before{content:'';position:absolute;height:20px;width:20px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.note-toggle input:checked+.note-toggle-slider{background:#34c759}
.note-toggle input:checked+.note-toggle-slider:before{transform:translateX(18px)}
.note-del-btn{width:100%;padding:13px;border:none;background:#fff0f0;color:#ff3b30;font-size:15px;font-weight:600;border-radius:14px;cursor:pointer;margin-top:14px}
.note-del-btn:active{background:#ffd5d5}
.note-reminder-alert{position:fixed;top:64px;left:50%;transform:translateX(-50%);background:#ff3b30;color:#fff;padding:11px 18px;border-radius:14px;font-size:13px;font-weight:600;z-index:9999;box-shadow:0 4px 20px rgba(0,0,0,.25);max-width:320px;width:88%;text-align:center;cursor:pointer;animation:fadeUp .25s ease}
.note-section-label{font-size:11px;font-weight:700;color:#8e8e93;text-transform:uppercase;letter-spacing:.5px;margin:14px 0 8px}

/* ── Hover effects ── */
.note-card{transition:box-shadow .15s ease,transform .15s ease}
.note-card:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,.07)}
