Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --background-color: #ecf0f1;
+ --card-background: #ffffff;
+ --text-color: #2c3e50;
+ --border-radius: 12px;
+ --transition: all 0.3s ease;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ background: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .container {
+ max-width: 600px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ flex-grow: 1;
+ }
+
+ h1 {
+ text-align: center;
+ margin-bottom: 2rem;
+ color: var(--primary-color);
+ font-size: 2.5rem;
+ font-weight: 700;
+ }
+
+ .converter-card {
+ background: var(--card-background);
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
+ display: flex;
+ flex-direction: column;
+ gap: 1.5rem;
+ }
+
+ .input-group {
+ display: grid;
+ grid-template-columns: 2fr 1fr;
+ gap: 1rem;
+ }
+
+ input, select {
+ padding: 0.8rem;
+ border: 2px solid #e0e0e0;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ transition: var(--transition);
+ }
+
+ input:focus, select:focus {
+ outline: none;
+ border-color: var(--secondary-color);
+ box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
+ }
+
+ input[type="number"] {
+ width: 100%;
+ }
+
+ select {
+ background-color: white;
+ cursor: pointer;
+ }
+
+ #swapBtn {
+ align-self: center;
+ background: var(--secondary-color);
+ border: none;
+ border-radius: 50%;
+ width: 40px;
+ height: 40px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ #swapBtn:hover {
+ transform: scale(1.1);
+ background: var(--primary-color);
+ }
+
+ .swap-icon {
+ color: white;
+ font-size: 1.5rem;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background: var(--primary-color);
+ color: white;
+ margin-top: auto;
+ }
+
+ @media (max-width: 480px) {
+ .container {
+ margin: 1rem auto;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ .converter-card {
+ padding: 1.5rem;
+ }
+
+ .input-group {
+ grid-template-columns: 1fr;
+ }
+ }