:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#e2e8f0;color:#334155;display:flex;align-items:center;justify-content:center}.main-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem;box-sizing:border-box}.app-container{width:100%;max-width:800px;margin:0;background-color:#fff;padding:2rem;border-radius:1rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;box-sizing:border-box}.app-header{text-align:center;margin-bottom:2rem}.app-header h1{font-size:2.5rem;font-weight:700;color:#1e293b;margin:0}.app-header p{color:#64748b;margin-top:.5rem}.card{background-color:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;margin-bottom:2rem}.add-form{display:flex;flex-wrap:wrap;gap:1rem}.add-form input{padding:.75rem;border:1px solid #cbd5e1;border-radius:.5rem;transition:border-color .2s,box-shadow .2s}.add-form input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f666}.add-form input[type=text]{flex-grow:1}.add-form input[type=number]{width:150px}.add-form button,.edit-form .edit-actions button{display:flex;align-items:center;justify-content:center;font-weight:700;padding:.75rem 1.5rem;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s}.add-form button{background-color:#2563eb;color:#fff}.add-form button:hover{background-color:#1d4ed8}.total-savings-card{background-color:#22c55e;color:#fff;text-align:center;padding:1.5rem;border-radius:.75rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.total-savings-card h3{font-size:1.25rem;font-weight:500;margin:0}.total-savings-card p{font-size:2.5rem;font-weight:700;margin-top:.5rem}.savings-list h2{font-size:1.5rem;font-weight:600;margin-bottom:1rem}.savings-list ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}.saving-item{display:flex;align-items:center;justify-content:space-between;padding:1rem;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;transition:background-color .2s}.saving-item:hover{background-color:#f1f5f9}.saving-item .info .description{font-weight:600;font-size:1.1rem}.saving-item .info .amount{color:#16a34a;font-weight:700}.saving-item .actions{display:flex;gap:.5rem}.saving-item .actions button{background:none;border:none;cursor:pointer;padding:.5rem;border-radius:50%;transition:background-color .2s,color .2s;display:flex;align-items:center;justify-content:center;color:#64748b}.saving-item .actions button:hover{color:#2563eb;background-color:#dbeafe}.saving-item .actions button.delete-btn:hover{color:#dc2626;background-color:#fee2e2}.edit-form{background-color:#f1f5f9;padding:1rem;border-radius:.5rem}.edit-form input{width:100%;box-sizing:border-box;padding:.5rem;margin-bottom:.5rem;border-radius:.25rem;border:1px solid #cbd5e1}.edit-form .edit-actions{display:flex;gap:.5rem}.edit-form .edit-actions .save-btn{background-color:#22c55e;color:#fff}.edit-form .edit-actions .cancel-btn{background-color:#e2e8f0}.error-message{background-color:#fee2e2;border:1px solid #f87171;color:#b91c1c;padding:1rem;border-radius:.5rem;margin-bottom:1.5rem}@media(max-width:640px){.add-form{flex-direction:column}.add-form input[type=number]{width:100%}.main-wrapper{align-items:flex-start;padding:0}.app-container{padding:1rem;border-radius:0}}
