:root { --primary: #4f8cff; --secondary: #f5f7fa; --accent: #ffb347; --danger: #ff4d4f; --radius: 10px; --shadow: 0 2px 8px rgba(0,0,0,0.07); --font: 'Segoe UI', Arial, sans-serif; } body { font-family: var(--font); background: var(--secondary); margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; } h1 { color: var(--primary); margin-top: 2rem; } form, .card { background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 1rem; } input, select, button { padding: 0.7rem; border-radius: var(--radius); border: 1px solid #dbeafe; font-size: 1rem; outline: none; transition: border 0.2s; } input:focus, select:focus { border: 1.5px solid var(--primary); } button { background: var(--primary); color: #fff; border: none; cursor: pointer; font-weight: 600; transition: background 0.2s; } button:hover, button:focus { background: #2563eb; } #message, #error { text-align: center; margin-top: 0.5rem; font-weight: 500; } #message { color: var(--primary); } #error { color: var(--danger); } #controls { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } ul#notes-list { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 400px; } ul#notes-list li { background: #f0f4ff; margin-bottom: 0.7rem; padding: 1rem; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(79,140,255,0.06); display: flex; flex-direction: column; gap: 0.2rem; } ul#notes-list li span { font-size: 0.95em; color: #888; } a { color: var(--accent); text-decoration: none; font-weight: 600; margin-top: 1rem; display: inline-block; } a:hover { text-decoration: underline; } @media (max-width: 600px) { form, .card, ul#notes-list { max-width: 98vw; padding: 1rem 0.5rem; } h1 { font-size: 1.3rem; } }