#output {
  margin: 10px auto;
  font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  text-align:left;
}
#input {
  margin: 10px auto;
  margin-top: 0;
  text-align:left;
  font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.tab-bar {
  display: flex;
  align-items: center;
  border-bottom: 0;
  padding: 0.5em 1em;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  align-items: last baseline;
}
.tab-add {
  margin-left: 0.2em;
  background: #eaeaea;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 0.2em 0.3em;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
}
.tab-add:hover {
  background: #d6d6d6;
}
#tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  flex-wrap: wrap;
}
#tabs li {
  margin-right: .2em;
  padding: 0.1em 0.4em;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
  
}
#tabs li.active {
  background: #f0f0f0;
  border-bottom: 2px solid #007acc;
  font-weight: bold;
}
.tab-item {
  display: flex;
  align-items: center;
  margin-right: 0.5em;
  padding: 0.3em 0.8em;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
  position: relative;
  min-width: 6em;
}
.tab-icon {
  margin-right: 0.5em;
}
.tab-name {
  flex: 1;
  margin-right: 0.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tab-close {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #ddd;
  border: none;
  outline: none;
  box-shadow: none;
  color: #888;
  font-size: .7em;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.tab-close:hover {
  color: #d00;
  color: #fff;
}
.hlist {
  display: block;
}
.hlist li {
  display: inline;
  padding-right: .7em;
  padding-left: .7em;
}
.center {
  text-align:center;
}
.option-lua { }
.option-python { }
.language-switch {
  display: inline-block;
}
.label {
  display: inline-block;
  margin-left: 8px;
  width: 60px;
  text-align: left;
}
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px; /* Reduced height */
  width: 14px;  /* Reduced width */
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:checked + .slider:before {
  transform: translateX(16px); /* Adjusted for new width */
}
.slider.round {
  border-radius: 20px;
}
.slider.round:before {
  border-radius: 50%;
}
.button {
  position: relative;
}
.button--loading::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid transparent;
  border-top-color: #999;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}
@keyframes button-loading-spinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.site-footer {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 55.95px;
}
.site-footer .wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 55.95px;
}
.site-footer .wrapper a {
  color: #000 !important;
}
.workspace-list-item.selected {
  background: #e0e0e0;
  font-weight: bold;
}
.workspace-menu {
  display:inline-block;
  position:relative;
}
#workspace-menu-dropdown {
  display:none;
  position:absolute;
  background:#fff;
  border:1px solid #ccc;
  z-index:10;
  min-width:180px;
  right:0;
}
#workspace-list {
  max-height:150px;
  overflow-y:auto;
  margin-bottom:4px;
}
.workspace-buttons {
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}
.workspace-buttons button:disabled {
  opacity: 0.5;
  filter: grayscale(1);
  cursor: not-allowed;
}
