html,
body {
  font-family: 'Courier New', monospace, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  color: #ccc !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
select {
  font-size: 14px;
}

input[type='checkbox'] {
  width: 10px;
  height: 10px;
  margin-right: 4px;
}

/* Navbar Styles */
#navbar {
  display: flex;
  flex-direction: column;
  padding: 20px 10px 10px 10px;
  background: #b2b2b2;
  border-bottom: 1px solid #4e4e4e;
}

#app-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #ccc !important;
}

.navbar-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#controller {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
}

#button-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.controller-item label,
.controller-item input[type='checkbox'] {
  vertical-align: middle;
}

/* Text Editor Styles */
#container {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
  min-height: 0;
}

#editor-container {
  width: 60%;
  height: 100%;
  padding: 10px;
  font-family: monospace, monospace;
  border: 1px solid #4e4e4e;
}

#output-container {
  width: 40%;
  height: 100%;
  padding: 10px;
  font-family: 'Courier New', monospace, sans-serif;
  overflow-y: auto;
  white-space: pre-wrap;
  border: 1px solid #4e4e4e;
}

.bg-light {
  background: #fff !important;
}

.bg-dark {
  background: #272727 !important;
}

.text-light {
  color: #ccc !important;
}

.text-dark {
  color: #222 !important;
}

.error-text {
  color: #ff4d4f !important;
  font-weight: bold;
}

/* Button Styles */
.run-code-btn .run-code-text {
  font-family: 'Courier New', monospace, sans-serif;
  color: #ccc;
}

/* Popup Styles */
#settings-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  margin-bottom: 0 !important;
}

/* Footer Styles */
footer.ui.segment.app-footer {
  margin: 0 !important;
  border-radius: 0 !important;
  border-top: 1px solid #4e4e4e !important;
  padding: 1rem 0 !important;
}

.ui.container.app-footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.footer-links .icon {
  font-size: 1.3em !important;
}
