/**
 * Sticky Notes — shortcode styles.
 *
 * Extracted from the inline <style> block in wfv_sticky_notes_shortcode().
 * Dynamic #uid selectors replaced with static .wfv-sn class selectors.
 * Dynamic PHP height values replaced with CSS custom property --wfv-sn-height.
 *
 * @package SecureFileVault
 */

.wfv-sn { --wfv-sn-primary:#6366f1; --wfv-sn-primary-dark:#4f46e5; --wfv-sn-border:#e2e8f0; --wfv-sn-bg:#f8fafc; --wfv-sn-slate:#475569; --wfv-sn-muted:#94a3b8;
	border:1px solid var(--wfv-sn-border); border-radius:14px; overflow:hidden; box-shadow:0 1px 2px rgba(15,23,42,.04); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif; background:#fff; }
.wfv-sn *{ box-sizing:border-box; }
.wfv-sn .wfv-sn-header{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:14px 16px; border-bottom:1px solid var(--wfv-sn-border); background:var(--wfv-sn-bg); }
.wfv-sn .wfv-sn-title{ font-weight:700; font-size:14px; color:#0f172a; display:flex; align-items:center; gap:6px; }
.wfv-sn .wfv-sn-storage-badge{ font-size:10.5px; padding:2px 9px; border-radius:99px; font-weight:600; }
.wfv-sn .wfv-sn-storage-badge.wfv-sn-on{ background:#ecfdf3; color:#027a48; }
.wfv-sn .wfv-sn-storage-badge.wfv-sn-off{ background:#fff4e5; color:#b8590a; }
.wfv-sn .wfv-sn-filters{ display:flex; gap:5px; flex-wrap:wrap; margin-left:auto; }
.wfv-sn .wfv-sn-filters button{ font-size:11.5px; font-weight:600; padding:5px 11px; border-radius:99px; border:1px solid var(--wfv-sn-border); background:#fff; cursor:pointer; color:var(--wfv-sn-slate); }
.wfv-sn .wfv-sn-filters button.wfv-sn-active{ background:var(--wfv-sn-primary); border-color:var(--wfv-sn-primary); color:#fff; }
.wfv-sn .wfv-sn-add{ background:var(--wfv-sn-primary); color:#fff; border:0; border-radius:8px; padding:8px 14px; font-weight:600; font-size:12.5px; cursor:pointer; }
.wfv-sn .wfv-sn-add:hover{ background:var(--wfv-sn-primary-dark); }

.wfv-sn .wfv-sn-body{ padding:16px; }
.wfv-sn .wfv-sn-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; align-content:start; max-height:var(--wfv-sn-height, 480px); overflow-y:auto; padding-right:4px; scrollbar-width:thin; scrollbar-color:rgba(0,0,0,.15) transparent; }
.wfv-sn .wfv-sn-grid::-webkit-scrollbar{ width:6px; }
.wfv-sn .wfv-sn-grid::-webkit-scrollbar-track{ background:transparent; border-radius:99px; }
.wfv-sn .wfv-sn-grid::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.15); border-radius:99px; }
.wfv-sn .wfv-sn-grid::-webkit-scrollbar-thumb:hover{ background:rgba(0,0,0,.28); }
.wfv-sn .wfv-sn-grid::-webkit-scrollbar-button{ display:none; }
.wfv-sn .wfv-sn-empty{ min-height:var(--wfv-sn-height, 480px); display:flex; align-items:center; justify-content:center; text-align:center; padding:36px 16px; color:var(--wfv-sn-muted); font-size:13px; }

.wfv-sn .wfv-sn-note{ position:relative; border-radius:10px; padding:14px 14px 40px; min-height:110px; box-shadow:0 2px 6px rgba(15,23,42,.08); transition:transform .12s; }
.wfv-sn .wfv-sn-note:hover{ transform:translateY(-2px); }
.wfv-sn .wfv-sn-note[draggable="true"]{ cursor:grab; }
.wfv-sn .wfv-sn-note.wfv-sn-dragging{ opacity:.45; cursor:grabbing; transform:scale(.98); }
.wfv-sn .wfv-sn-note.wfv-sn-drag-over{ border:2px dashed var(--wfv-sn-primary); }
.wfv-sn .wfv-sn-drag-handle{ position:absolute; top:8px; left:8px; background:rgba(255,255,255,.55); border:1px solid rgba(0,0,0,.06); border-radius:6px; width:22px; height:22px; display:flex; align-items:center; justify-content:center; cursor:grab; padding:0; color:var(--wfv-sn-slate); opacity:.55; }
.wfv-sn .wfv-sn-drag-handle svg{ width:14px; height:14px; }
.wfv-sn .wfv-sn-drag-handle:hover{ opacity:1; color:var(--wfv-sn-primary-dark); }
.wfv-sn .wfv-sn-note.wfv-sn-priority-low{ background:#ecfdf3; border:1px solid #b7f0cc; }
.wfv-sn .wfv-sn-note.wfv-sn-priority-medium{ background:#fffbea; border:1px solid #fbe38a; }
.wfv-sn .wfv-sn-note.wfv-sn-priority-high{ background:#fef3f2; border:1px solid #fecdca; }
.wfv-sn .wfv-sn-note-content{ font-size:13.5px; color:#1e293b; word-break:break-word; line-height:1.5; max-height:400px; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:rgba(0,0,0,.18) transparent; white-space:pre-wrap; }
.wfv-sn .wfv-sn-note-content::-webkit-scrollbar{ width:5px; }
.wfv-sn .wfv-sn-note-content::-webkit-scrollbar-track{ background:transparent; border-radius:99px; }
.wfv-sn .wfv-sn-note-content::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.18); border-radius:99px; }
.wfv-sn .wfv-sn-note-content::-webkit-scrollbar-thumb:hover{ background:rgba(0,0,0,.32); }
.wfv-sn .wfv-sn-note-content::-webkit-scrollbar-button{ display:none; }
.wfv-sn .wfv-sn-note-content p{ margin:0 0 6px; }
.wfv-sn .wfv-sn-note-content p:last-child{ margin-bottom:0; }
.wfv-sn .wfv-sn-note-content ul, .wfv-sn .wfv-sn-note-content ol{ margin:0 0 6px 18px; padding:0; }
.wfv-sn .wfv-sn-note-content a{ color:var(--wfv-sn-primary-dark); }
.wfv-sn .wfv-sn-note-footer{ position:absolute; left:14px; right:14px; bottom:10px; display:flex; align-items:center; justify-content:space-between; }
.wfv-sn .wfv-sn-priority-badge{ font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; padding:2px 8px; border-radius:99px; }
.wfv-sn .wfv-sn-priority-badge.wfv-sn-priority-low{ background:#d1fae5; color:#027a48; border:0; }
.wfv-sn .wfv-sn-priority-badge.wfv-sn-priority-medium{ background:#fef3c7; color:#92700a; border:0; }
.wfv-sn .wfv-sn-priority-badge.wfv-sn-priority-high{ background:#fee2e2; color:#b42318; border:0; }
.wfv-sn .wfv-sn-note-actions{ display:flex; gap:4px; }
.wfv-sn .wfv-sn-note-actions button{ background:rgba(255,255,255,.7); border:1px solid rgba(0,0,0,.06); border-radius:6px; width:24px; height:24px; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.wfv-sn .wfv-sn-note-actions button svg{ width:13px; height:13px; }
.wfv-sn .wfv-sn-pin{ position:absolute; top:8px; right:8px; background:none; border:0; cursor:pointer; font-size:15px; opacity:.35; filter:grayscale(1); transform:rotate(45deg); transition:.15s; padding:2px; }
.wfv-sn .wfv-sn-pin:hover{ opacity:.7; }
.wfv-sn .wfv-sn-pin.wfv-sn-pinned{ opacity:1; filter:none; transform:rotate(0deg); }

.wfv-sn .wfv-sn-composer{ display:none; background:#fff; border:1px solid var(--wfv-sn-border); border-radius:10px; padding:14px; margin-bottom:16px; }
.wfv-sn .wfv-sn-composer-toolbar{ display:flex; gap:2px; margin-bottom:8px; flex-wrap:wrap; }
.wfv-sn .wfv-sn-composer-toolbar button{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; padding:0; border-radius:6px; border:1px solid transparent; background:none; cursor:pointer; color:var(--wfv-sn-slate); }
.wfv-sn .wfv-sn-composer-toolbar button svg{ width:14px; height:14px; }
.wfv-sn .wfv-sn-composer-toolbar button:hover{ background:var(--wfv-sn-bg); color:var(--wfv-sn-primary-dark); border-color:var(--wfv-sn-border); }
.wfv-sn .wfv-sn-composer-toolbar input[type=color]{ width:23px; height:23px; padding:1px; border:1px solid var(--wfv-sn-border); border-radius:6px; cursor:pointer; background:#fff; }
.wfv-sn .wfv-sn-composer-toolbar input[type=color]:hover{ border-color:var(--wfv-sn-primary); }
.wfv-sn .wfv-sn-composer-toolbar .wfv-sn-sep{ width:1px; height:18px; background:var(--wfv-sn-border); margin:4px 4px; }
.wfv-sn .wfv-sn-editable{ width:100%; box-sizing:border-box; border:1px solid var(--wfv-sn-border); border-radius:8px; padding:9px 11px; font-family:inherit; font-size:13.5px; min-height:70px; margin-bottom:10px; outline:none; line-height:1.5; }
.wfv-sn .wfv-sn-editable:focus{ border-color:var(--wfv-sn-primary); box-shadow:0 0 0 2px #eef2ff; }
.wfv-sn .wfv-sn-editable p{ margin:0 0 6px; }
.wfv-sn .wfv-sn-editable ul, .wfv-sn .wfv-sn-editable ol{ margin:0 0 6px 18px; padding:0; }
.wfv-sn .wfv-sn-editable:empty:before{ content:attr(data-placeholder); color:var(--wfv-sn-muted); }
.wfv-sn .wfv-sn-composer-footer{ display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.wfv-sn .wfv-sn-priority-choice{ display:flex; gap:6px; }
.wfv-sn .wfv-sn-priority-choice label{ font-size:11.5px; font-weight:600; padding:5px 10px; border-radius:99px; border:1px solid var(--wfv-sn-border); cursor:pointer; color:var(--wfv-sn-slate); }
.wfv-sn .wfv-sn-priority-choice input{ display:none; }
.wfv-sn .wfv-sn-priority-choice input:checked + span{ font-weight:700; }
.wfv-sn .wfv-sn-priority-choice label.wfv-sn-priority-low{ background:#ecfdf3; }
.wfv-sn .wfv-sn-priority-choice label.wfv-sn-priority-medium{ background:#fffbea; }
.wfv-sn .wfv-sn-priority-choice label.wfv-sn-priority-high{ background:#fef3f2; }
.wfv-sn .wfv-sn-composer-actions{ display:flex; gap:8px; }
.wfv-sn .wfv-sn-composer-actions button{ font-size:12.5px; padding:7px 14px; border-radius:7px; border:1px solid var(--wfv-sn-border); background:#fff; cursor:pointer; }
.wfv-sn .wfv-sn-composer-actions button.wfv-sn-save{ background:var(--wfv-sn-primary); border-color:var(--wfv-sn-primary); color:#fff; font-weight:600; }

.wfv-sn .wfv-sn-note-content pre, .wfv-sn .wfv-sn-editable pre{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,'Courier New',monospace; background:#1e1e2e; color:#cdd6f4; border-radius:8px; padding:9px 11px; font-size:12.5px; line-height:1.55; overflow-x:auto; white-space:pre-wrap; word-break:break-word; margin:0 0 8px; }
.wfv-sn .wfv-sn-note-content pre:last-child, .wfv-sn .wfv-sn-editable pre:last-child{ margin-bottom:0; }
.wfv-sn .wfv-sn-note-content code, .wfv-sn .wfv-sn-editable code{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,'Courier New',monospace; background:rgba(0,0,0,.07); padding:1px 5px; border-radius:4px; font-size:12px; }
.wfv-sn .wfv-sn-note-content pre code, .wfv-sn .wfv-sn-editable pre code{ background:transparent; padding:0; }

.wfv-sn .wfv-sn-color-row{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.wfv-sn .wfv-sn-color-row-label{ font-size:11.5px; font-weight:600; color:var(--wfv-sn-slate); margin-right:2px; }
.wfv-sn .wfv-sn-swatch{ width:20px; height:20px; border-radius:6px; border:2px solid transparent; cursor:pointer; padding:0; }
.wfv-sn .wfv-sn-swatch.wfv-sn-active{ border-color:#0f172a; }
.wfv-sn .wfv-sn-swatch.wfv-sn-default{ background:repeating-linear-gradient(135deg,#fff 0 5px,#e2e8f0 5px 10px); }
.wfv-sn .wfv-sn-color-picker{ width:26px; height:26px; padding:1px; border:1px solid var(--wfv-sn-border); border-radius:6px; cursor:pointer; background:#fff; vertical-align:middle; }
