/* === Global === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: black;
  color: aliceblue;
  overflow: hidden;
}

html * {
  font-family: 'Courier New', Courier, monospace;
  background-color: black;
}

/* === Layout === */
body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  height: 95vh;
  width: 100vw;
  background-color: black;
}

 
  .terminal_prompt {
    user-select: none;
    opacity: 0.8;
  }
 

/* === Vault Title === */
#vault_title {
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* prevents image from being squashed/cropped */
  box-sizing: border-box;
}

#vault_title img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

#console_terminal, 
#user_terminal {
    margin: 1em;
    width: 95%;
    padding: 5px;
}

#user_terminal {
    height: 60vh;          /* or 100vh, calc(), etc */
  overflow-y: auto;      /* enables vertical scrolling */
  overflow-x:hidden;    /* hides horizontal overflow */
  padding: 4px;
}



#console_terminal {
  height: 60vh;          /* or 100vh, calc(), etc */
  overflow-y: auto;      /* enables vertical scrolling */
  overflow-x:hidden;    /* hides horizontal overflow */
  padding: 4px;
}

#console_text {
  white-space: pre-wrap;   /* preserve line breaks */
}


#user_terminal {
  height: 20vh;
}

.user_name {
  margin: 0;
  padding: 0;
  width: 100px;
}

.cursor {
  display: inline-block; /* key */
  width: .6em;
  height: 1em;
  vertical-align: bottom;
  position: relative;
  background: currentColor;
  animation: blink 1s step-end infinite;
}





@keyframes blink {
  50% {
    opacity: 0;
  }
}

.unknown {
  border: 2px solid snow;
  color: 2px solid snow;
}

.nauthorized {
  border: 2px solid rgb(157, 27, 27);
  color: 2px solid rgb(157, 27, 27);
}

.known {
  border: 2px solid rgb(4, 133, 49);
  color: 2px solid rgb(4, 133, 49);
}
