:root {
  --amber: #ffb000;
  --amber-dim: #b37b00;
  --bg: #0d0800;
  --font-main: "Courier New", Courier, monospace;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--amber);
  font-family: var(--font-main);
  overflow: hidden;
  text-shadow:
    0 0 5px var(--amber),
    0 0 1px var(--amber);
}

/* Scanlines */
body::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size:
    100% 2px,
    3px 100%;
  pointer-events: none;
}

#app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 800px;
  min-height: 90vh;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel {
  padding: 15px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.panel-flex {
  flex-grow: 1;
  overflow: hidden;
}

.panel-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--amber-dim);
  padding-bottom: 5px;
  display: inline-block;
  width: 100%;
}

footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--amber-dim);
}

/* Typography & Utilities */
h1,
h2,
h3,
p {
  margin: 0 0 10px 0;
}
.text-big {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}
.text-dim {
  color: var(--amber-dim);
}

.btn {
  background: transparent;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-main);
  padding: 5px 10px;
  cursor: pointer;
  text-transform: uppercase;
  text-shadow: inherit;
}
.btn:hover {
  background: var(--amber);
  color: var(--bg);
}
.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.top-bar {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.terminal-content {
  overflow-y: auto;
  flex-grow: 1;
  font-size: 0.9rem;
}
.cursor {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Scrollbar styles to match CRT */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: 1px solid var(--amber-dim);
}
::-webkit-scrollbar-thumb {
  background: var(--amber-dim);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--amber);
}
