/* OSweb Linux 4 — terminal Buildroot nativo */

.os-linux {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #000;
  color: #a8ff60;
  font: 13px/1.35 'Consolas', 'Cascadia Code', monospace;
  padding: 0 !important;
}

.os-linux-boot {
  flex: 1;
  overflow: auto;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.os-linux-boot .dim { color: #6b8f5a; }
.os-linux-boot .warn { color: #fbbf24; }
.os-linux-boot .err { color: #f87171; }

.os-linux-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.os-linux-out {
  flex: 1;
  margin: 0;
  padding: 10px 12px;
  overflow: auto;
  white-space: pre-wrap;
}

.os-linux-prompt {
  display: flex;
  gap: 8px;
  padding: 6px 12px 10px;
  border-top: 1px solid #1a3d1a;
  flex-shrink: 0;
}

.os-linux-prompt span { color: #4ade80; white-space: nowrap; }
.os-linux-prompt input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #a8ff60;
  font: inherit;
}

.os-linux-bar {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px;
  font-size: 11px;
  color: #6b8f5a;
  background: #0a140a;
  border-bottom: 1px solid #1a3d1a;
  flex-shrink: 0;
}

.os-linux-fullpage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
}

.os-linux-fullpage .os-linux-boot { flex: 1; }

.os-linux-skip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #2d5a2d;
  background: #0f1f0f;
  color: #a8ff60;
  cursor: pointer;
  font: inherit;
}
