Changed around line 1
+ :root {
+ --primary-color: #2a2a72;
+ --secondary-color: #009ffd;
+ --background: #1a1a2e;
+ --text-color: #e6e6e6;
+ --panel-bg: #252542;
+ --border-radius: 8px;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background: var(--background);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ text-align: center;
+ padding: 2rem;
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ background: linear-gradient(to right, #fff, #e6e6e6);
+ -webkit-background-clip: text;
+ background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .tagline {
+ font-size: 1.1rem;
+ opacity: 0.9;
+ }
+
+ .editor-container {
+ flex: 1;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ .panels {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 2rem;
+ height: calc(100vh - 250px);
+ }
+
+ .editor-panel, .output-panel {
+ background: var(--panel-bg);
+ border-radius: var(--border-radius);
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .panel-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem;
+ background: rgba(255, 255, 255, 0.1);
+ }
+
+ .panel-header h2 {
+ font-size: 1.2rem;
+ font-weight: 500;
+ }
+
+ button {
+ background: var(--secondary-color);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ transition: transform 0.2s, background 0.2s;
+ }
+
+ button:hover {
+ background: #0086d4;
+ transform: translateY(-1px);
+ }
+
+ #codeEditor {
+ flex: 1;
+ width: 100%;
+ padding: 1rem;
+ background: var(--panel-bg);
+ color: var(--text-color);
+ border: none;
+ resize: none;
+ font-family: 'Consolas', monospace;
+ font-size: 1rem;
+ line-height: 1.5;
+ }
+
+ #output {
+ flex: 1;
+ padding: 1rem;
+ overflow-y: auto;
+ font-family: 'Consolas', monospace;
+ white-space: pre-wrap;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: rgba(255, 255, 255, 0.05);
+ }
+
+ @media (max-width: 768px) {
+ .panels {
+ grid-template-columns: 1fr;
+ height: auto;
+ }
+
+ .editor-panel, .output-panel {
+ height: 50vh;
+ }
+
+ .editor-container {
+ padding: 1rem;
+ }
+ }