body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, sans-serif;
  background-color: #121212;
  color: #fff;
}

.topbar {
  height: 100px;
  background: #1f1f1f;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  font-size: large;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar .logo img {
  height: 60px;
}

.topbar .sponsors {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar .sponsors a img {
  height: 40px;
  transition: transform 0.2s;
  border-radius: 20%;
}

.topbar .sponsors a img:hover {
  transform: scale(1.1);
}

/* Tabs */
.tabs {
  display: flex;
  background: #181818;
  color: white;
  border-bottom: 1px solid #333;
  overflow-x: auto;
}

.tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.tab:hover {
  background: #2a2a2a;
}

.tab.active {
  background: #1f1f1f;
  border-style: solid;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-color: rgb(101, 193, 255);
}

/* Editor area */
#editor {
  flex: 1;
}

/* Run button and output panel */
#output-container {
  background: #1f1f1f;
  color: #fff;
  padding: 1rem;
  font-family: monospace;
  height: 200px;
  overflow: auto;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
}

#runBtn {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  background-color: #65c1ff;
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

#runBtn:hover {
  background-color: #4da3cc;
}
