:root { --bg: #ffffff; --text: #1e1e1e; --accent: #4caf50; --danger: #e53935; --note-bg: #f9f9f9; } .dark { --bg: #121212; --text: #f1f1f1; --accent: #81c784; --danger: #ef5350; --note-bg: #1e1e1e; } * { box-sizing: border-box; } body { margin: 0; padding: 0; background-color: var(--bg); color: var(--text); font-family: 'Segoe UI', sans-serif; transition: background 0.3s, color 0.3s; } header { display: flex; flex-wrap: wrap; align-items: center; padding: 1rem; gap: 1rem; background: var(--bg); border-bottom: 1px solid #ccc; position: sticky; top: 0; z-index: 9998; } header h1 { margin: 0; font-size: 1.5rem; } button { background-color: var(--accent); color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; transition: background 0.2s; font-weight: bold; } button:hover { background-color: #388e3c; } button.danger { background-color: var(--danger); } #tools-panel { position: fixed; top: 5rem; right: 1rem; background: var(--bg); padding: 1rem; display: none; flex-direction: column; gap: 0.5rem; box-shadow: 0 0 10px rgba(0,0,0,0.2); border: 1px solid #ccc; border-radius: 8px; z-index: 9999; } main { padding: 1rem; } .note { position: absolute; background: var(--note-bg); border: 1px solid #aaa; border-radius: 12px; padding: 0.5rem; width: 600px; height: 400px; resize: both; overflow: auto; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.25); cursor: move; transition: box-shadow 0.3s; z-index: 100; } .note-content { width: 100%; height: calc(100% - 80px); overflow: auto; background: transparent; color: var(--text); border: none; outline: none; padding: 0.5rem; font-family: inherit; } .note-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; justify-content: flex-start; } .note-content.empty::before { content: "Notatka..."; color: #aaa; position: absolute; pointer-events: none; } #minimized-list button { background-color: #888; font-size: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 4px; } .note-controls { position: relative; } .download-options { position: absolute; top: -2.5rem; right: 0; display: flex; gap: 0.5rem; background: var(--bg); padding: 4px; border-radius: 4px; box-shadow: 0 2px 6px rgba(150, 150, 150, 0.2) ; z-index: 1000; } .download-options button { cursor: pointer; background: transparent; border: none; padding: 4px 8px; font-size: 0.9rem; color: var(--text); } .download-options button:hover { background-color: rgba(0, 0, 0, 0.1); } #notes-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 9999; } #notes-overlay-content { background: rgba(255, 255, 255, 0.95); border-radius: 8px; padding: 20px; width: 80vw; max-height: 80vh; overflow-y: auto; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); position: relative; } #close-notes-overlay { position: absolute; top: 10px; right: 10px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; } #notes-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }