:root { --bg: #ffffff; --text: #1e1e1e; --accent: #4caf50; --danger: #e53935; --note-bg: #f5f5f5; --border: #ddd; --shadow: rgba(0, 0, 0, 0.1); --placeholder: #999; --transition: 0.3s ease; } .dark { --bg: #121212; --text: #f1f1f1; --accent: #81c784; --danger: #ef5350; --note-bg: #1e1e1e; --border: #333; --shadow: rgba(0, 0, 0, 0.3); --placeholder: #666; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; transition: background-color var(--transition), color var(--transition); line-height: 1.6; } header { display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem; background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; transition: background var(--transition), border-color var(--transition); } header h1 { font-size: 1.5rem; font-weight: 600; color: var(--text); } button { background: var(--accent); color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background var(--transition), transform 0.1s ease; } button:hover { background: #388e3c; } button:active { transform: scale(0.96); } button:focus { outline: 2px solid var(--accent); outline-offset: 3px; } button.danger { background-color: var(--danger); } #tools-panel { position: fixed; top: 5rem; right: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; box-shadow: 0 4px 12px var(--shadow); display: none; flex-direction: column; gap: 0.75rem; z-index: 9999; } main { padding: 2rem; } .note { position: absolute; width: 600px; height: 400px; background: var(--note-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 6px 20px var(--shadow); padding: 1rem; resize: both; overflow: auto; cursor: move; z-index: 100; transition: box-shadow var(--transition); } .note-content { width: 100%; height: calc(100% - 80px); padding: 0.5rem; background: transparent; color: var(--text); border: none; outline: none; font-family: inherit; font-size: 1rem; } .note-content.empty::before { content: "Notatka..."; color: var(--placeholder); position: absolute; pointer-events: none; } .note-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; position: relative; } .download-options { position: absolute; top: -2.5rem; right: 0; display: flex; gap: 0.5rem; background: var(--bg); padding: 0.3rem 0.5rem; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 4px 10px var(--shadow); z-index: 1000; } .download-options button { background: none; border: none; color: var(--text); font-size: 0.9rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background var(--transition); } .download-options button:hover { background-color: rgba(0, 0, 0, 0.05); } #minimized-list button { background-color: #888; font-size: 0.8rem; padding: 0.4rem 0.7rem; border-radius: 5px; color: #fff; } #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); padding: 2rem; border-radius: 12px; width: 90vw; max-height: 80vh; overflow-y: auto; box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); position: relative; transition: background var(--transition); } .dark #notes-overlay-content { background: rgba(30, 30, 30, 0.95); } #close-notes-overlay { position: absolute; top: 12px; right: 12px; font-size: 1.5rem; border: none; background: transparent; color: var(--text); cursor: pointer; } #notes-list { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; } @media (max-width: 640px) { .note { width: 90vw; height: 60vh; } header { flex-direction: column; align-items: flex-start; } }