* { box-sizing: border-box; } body, html { margin: 0; padding: 0; height: 100%; font-family: Consolas, 'Courier New', monospace; background-color: #fff; color: #000; } .logo { background-color: #111827; text-align: center; padding: 10px; } .logo img { height: 40px; } .container { display: flex; height: calc(100vh - 100px); } .sidebar { width: 160px; background-color: #111827; padding: 10px; display: flex; flex-direction: column; gap: 10px; } .file-tab { background: #1e1e1e; color: #8ab4f8; border: none; padding: 10px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: background 0.2s ease; } .file-tab:hover { background: #222; } .file-tab.active { background: #293145; color: #fff; } .editor-preview { flex: 1; display: flex; flex-direction: row; overflow: hidden; } .editor-area { width: 50%; height: 100%; } #preview { width: 50%; border: none; background: white; } .buttons { background-color: #111827; padding: 10px; display: flex; gap: 10px; justify-content: center; align-items: center; } button { padding: 10px 20px; background-color: #00bfff; color: #fff; border: none; cursor: pointer; font-size: 16px; border-radius: 5px; } button:hover { background-color: #008c9e; } input[type="text"] { padding: 10px; border-radius: 5px; border: none; font-size: 16px; width: 200px; }