:root { --primary: #4f8cff; --secondary: #f5f7fa; --accent: #ffb347; --danger: #ff4d4f; --radius: .104166667in; --shadow: 0 2px 6pt rgba(0, 0, 0, .07); --font: "Segoe UI", Arial, sans-serif; } body { font-family: var(--font); background: var(--secondary); margin: 0; display: flex; flex-direction: column; align-items: center; min-height: 100vh; } h1 { color: var(--primary); margin-top: 2rem; font-size: 2rem; margin-top: 2rem; } #error, #message { text-align: center; margin-top: 0.5rem; font-weight: 500; } #error { color: var(--danger); } #message { color: var(--primary); } form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem; margin: 1.5rem 0; width: 100%; max-width: 300pt; display: flex; flex-direction: column; gap: 1rem; } input, select { font-size: 1rem; padding: 0.7rem; border-width: 0.75pt; border-style: solid; border-color: #dbeafe; border-radius: var(--radius); border-image: none; outline: none; transition: border 0.2s; } input:focus, select:focus { border-width: 1.125pt; border-color: var(--primary); border-style: solid; border-image: none; } input { font-size: 1rem; transition: border 0.2s; } button { font-size: 1rem; font-weight: 600; padding: 0.7rem; border: medium none; border-color: currentColor; border-image: none; border-radius: var(--radius); background: var(--primary); color: #fff; cursor: pointer; transition: background 0.2s; } button:hover, button:focus { background: #2563eb; } #controls { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; } ul#notes-list { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 25pc; } ul#notes-list li { background: #f0f4ff; box-shadow: 0 .010416667in .1875pc rgba(79, 140, 255, .06); border-radius: var(--radius); display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem; margin-bottom: 0.7rem; } ul#notes-list li span { font-size: 0.95em; color: #888; } .card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 25pc; } .delete-btn { color: #ff4d4f; font-size: 1.2em; transition: color 0.2s; } .delete-btn:hover { color: #b91c1c; } a { color: var(--accent); font-weight: 600; margin-top: 1rem; display: inline-block; text-decoration: none; } a:hover { text-decoration: underline; } @media (max-width: 600px) { form, ul#notes-list, .card { max-width: 98vw; padding: 1rem 0.5rem; } }