* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000000;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  height: 100dvh;
  overflow: hidden;
}

.term {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000000;
}

.term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111111;
  padding: 0.4rem 0.8rem;
  border-bottom: 1px solid #333;
  gap: 1rem;
  flex-shrink: 0;
}

.penguin-left {
  font-size: 1.2rem;
  filter: brightness(0) saturate(100%) invert(100%);
  flex-shrink: 0;
  min-width: 40px;
}

.selector-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.os-selector,
.version-selector,
.desktop-selector {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 0.25rem;
  padding: 0.1rem 0.3rem;
}

.selector-group select {
  background: #000000;
  border: none;
  color: #ffffff;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  outline: none;
  cursor: pointer;
  min-width: 85px;
  border-radius: 0.25rem;
}

.selector-group select:hover {
  background: #1a1a1a;
}

.selector-group select option {
  background: #000000;
  color: #ffffff;
}

.terminal-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.terminal-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.output-area {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Baris terminal (command + output) */
.terminal-line {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.command-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: #ffffff;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
}

.prompt {
  color: #ffffff;
  white-space: pre;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
}

.command-text {
  color: #ffffff;
  word-break: break-word;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
}

.output-line {
  margin-left: 1.8rem;
  margin-top: 0.3rem;
  color: #ffffff;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: pointer;
  opacity: 0.85;
}

.output-line:hover {
  opacity: 1;
}

/* Baris input aktif (sedang diketik) */
.active-input-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: #ffffff;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
}

.active-prompt {
  color: #ffffff;
  white-space: pre;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
}

.active-input {
  color: #ffffff;
  background: transparent;
  border: none;
  outline: none;
      font-family: 'DejaVu Sans Mono', 'Ubuntu Mono', 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.1rem;
  flex: 1;
  caret-color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Scrollbar styling */
.terminal-body::-webkit-scrollbar {
  width: 6px;
}

.terminal-body::-webkit-scrollbar-track {
  background: #111;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

/* Loading state */
.loading {
  opacity: 0.6;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
  .selector-group {
    gap: 0.3rem;
  }
  
  .selector-group select {
    min-width: 70px;
    font-size: 0.6rem;
    padding: 0.2rem 0.3rem;
  }
  
  .penguin-left {
    font-size: 1rem;
    min-width: 30px;
  }
  
  /* Font command lebih kecil di mobile tapi tetap lebih besar dari dropdown */
  .prompt, 
  .command-text, 
  .active-prompt, 
  .active-input, 
  .command-line, 
  .active-input-line {
    font-size: 1rem;
    gap: 0.6rem;
  }
  
  .output-line {
    font-size: 0.9rem;
    margin-left: 1.4rem;
  }
}