Changed around line 1
+ :root {
+ --primary-color: #4CAF50;
+ --secondary-color: #45a049;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --card-bg: #fff;
+ --shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ main {
+ padding: 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ section {
+ background: var(--card-bg);
+ margin: 1rem 0;
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: var(--shadow);
+ }
+
+ h2 {
+ color: var(--primary-color);
+ margin-bottom: 1rem;
+ }
+
+ form {
+ display: grid;
+ gap: 1rem;
+ }
+
+ input, select, button {
+ padding: 0.5rem;
+ border-radius: 4px;
+ border: 1px solid #ddd;
+ }
+
+ button {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ cursor: pointer;
+ transition: background 0.3s ease;
+ }
+
+ button:hover {
+ background: var(--secondary-color);
+ }
+
+ #habit-list ul {
+ list-style: none;
+ padding: 0;
+ }
+
+ #habit-list li {
+ background: var(--background-color);
+ margin: 0.5rem 0;
+ padding: 1rem;
+ border-radius: 4px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .goal-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 1rem;
+ }
+
+ .goal-card {
+ background: var(--background-color);
+ padding: 1rem;
+ border-radius: 8px;
+ }
+
+ canvas {
+ width: 100%;
+ max-width: 800px;
+ margin: 0 auto;
+ display: block;
+ }
+
+ @media (max-width: 768px) {
+ form {
+ grid-template-columns: 1fr;
+ }
+ }