Changed around line 1
+ :root {
+ --primary: #2563eb;
+ --primary-hover: #1d4ed8;
+ --background: #f8fafc;
+ --text: #1e293b;
+ --card-bg: #ffffff;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ background-color: var(--background);
+ color: var(--text);
+ line-height: 1.6;
+ padding: 2rem;
+ }
+
+ header {
+ text-align: center;
+ margin-bottom: 3rem;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ color: var(--primary);
+ margin-bottom: 0.5rem;
+ }
+
+ .calculator {
+ max-width: 800px;
+ margin: 0 auto;
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 0.5rem;
+ box-shadow: var(--shadow);
+ }
+
+ .input-group {
+ margin-bottom: 1.5rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ }
+
+ input {
+ width: 100%;
+ padding: 0.75rem;
+ border: 1px solid #e2e8f0;
+ border-radius: 0.375rem;
+ font-size: 1rem;
+ }
+
+ button {
+ width: 100%;
+ padding: 0.75rem;
+ background-color: var(--primary);
+ color: white;
+ border: none;
+ border-radius: 0.375rem;
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.2s;
+ }
+
+ button:hover {
+ background-color: var(--primary-hover);
+ }
+
+ .results {
+ margin-top: 2rem;
+ }
+
+ .result-card {
+ background: var(--card-bg);
+ padding: 1.5rem;
+ margin: 1rem 0;
+ border-radius: 0.375rem;
+ box-shadow: var(--shadow);
+ }
+
+ .result-card h3 {
+ color: var(--primary);
+ margin-bottom: 0.5rem;
+ }
+
+ .explanation {
+ max-width: 800px;
+ margin: 3rem auto;
+ padding: 2rem;
+ background: var(--card-bg);
+ border-radius: 0.5rem;
+ box-shadow: var(--shadow);
+ }
+
+ footer {
+ text-align: center;
+ margin-top: 3rem;
+ color: #64748b;
+ }
+
+ @media (max-width: 768px) {
+ body {
+ padding: 1rem;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ .calculator, .explanation {
+ padding: 1rem;
+ }
+ }