@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=VT323&display=swap");

.userNameGuest {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  white-space: normal;
  overflow: hidden;
  width: 100%;
  /* display: none; */
}

.userNameGuest.hidden {
  display: none;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom: 2px solid #00ff00;
  padding: 0 0.4em;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
}

.headerText {
  position: absolute;
  left: 3%;
  color: #33ff33;
  font-family: "VT323", monospace;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 2px;
  text-align: left;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.terminal-body {
  position: absolute;
  top: 1.5em;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 0.4em;
  box-sizing: border-box;
  overflow-y: auto;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-body::-webkit-scrollbar {
  width: 0.5em;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00 0%, #00aa00 100%);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.terminal-body::-webkit-scrollbar-track {
  background-color: #0a0a0a;
  border: 1px solid #222;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #33ff33 0%, #00cc00 100%);
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.8);
}

.terminal-body::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #66ff66 0%, #00ff00 100%);
}

.terminal-body p {
  margin: 0;
}

.terminal-body p + p {
  margin-top: 0.4em;
}

.terminal-body p:last-child {
  margin-bottom: 0;
}

.terminal-input {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
  border-top: 2px solid #00ff00;
  padding: 0 0.4em;
  box-sizing: border-box;
  box-shadow: 0 -2px 10px rgba(0, 255, 0, 0.3);
}

.terminal-input input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  border: none;
  outline: none;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-input input::placeholder {
  color: #00aa00;
  text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

.terminal-input input:focus::placeholder {
  color: transparent;
}

.terminal-input input::-webkit-input-placeholder {
  color: #00aa00;
}

.control {
  position: absolute;
  top: 20%;
  left: 95%;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #2a2a2a;
  border: 1px solid #00ff00;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.4);
}

.control.close {
  background: radial-gradient(circle, #ff3333 0%, #cc0000 100%);
  border-color: #ff6666;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

.control.close:hover {
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

.control.minimize {
  background: radial-gradient(circle, #ffff33 0%, #cccc00 100%);
  border-color: #ffff66;
  display: none;
}

.control.maximize {
  background: radial-gradient(circle, #33ff33 0%, #00cc00 100%);
  border-color: #66ff66;
  display: none;
}

.terminal-loader {
  position: absolute;
  top: 50%;
  left: 55%;
  border: 0.2em solid #00ff00;
  background: #000;
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  height: 50%;
  width: 60%;
  box-shadow: 0 4px 20px rgba(0, 255, 0, 0.4), inset 0 0 30px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transform: scale(1.2) translateX(-50%) translateY(-50%);
  display: flex;
  transform-origin: center;
}

.terminal-loader::before {
  display: none;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.forgotUserMessage {
  position: absolute;
}

.initializeText {
  position: absolute;
  top: 33%;
  left: 15%;
  z-index: 10;
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: "VT323", monospace;
}

.initializeText:nth-child(2) {
  top: 18%;
}

.initializeText:nth-child(3) {
  top: 22%;
}

.initializeText:nth-child(3) p {
  color: #ff00ff;
  text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.initializeText:nth-child(1) {
  top: 27%;
}

.initializeText:nth-child(4) {
  top: 32%;
}

.initializeText:nth-child(4) p:nth-child(2) {
  color: #00ff00;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.initializeText:nth-child(4) p:nth-child(3) {
  color: #00ccff;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 204, 255, 0.6);
}

.initializeText:nth-child(6) {
  top: 45%;
}

.initializeText:nth-child(6) p {
  color: #ccffcc;
  text-shadow: 0 0 5px rgba(204, 255, 204, 0.5);
}

.initializeText:nth-child(7) {
  top: 65%;
}

.initializeText:nth-child(7) p {
  color: #ccffcc;
  text-shadow: 0 0 5px rgba(204, 255, 204, 0.5);
}

.initializeText span,
.initializeText p {
  position: relative;
  color: #00ff00;
  font-weight: 700;
  font-size: 1.2em;
  margin-right: 10px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
  animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
  }
  50% {
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.9);
  }
}

.initializeText p {
  color: #33ff33;
  font-weight: normal;
}

.usernameGuestInput {
  position: absolute;
  top: 40%;
  left: 15%;
  height: 30px;
  width: 60%;
  background: rgba(10, 10, 10, 0.9);
  border: 2px solid #00ff00;
  border-radius: 3px;
  color: #66ff66;
  font-weight: 100;
  font-size: 1.5em;
  font-family: "VT323", monospace;
  letter-spacing: 2px;
  outline: none;
  caret-color: #00ff00;
  z-index: 10;
  pointer-events: none;
  padding: 0 8px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.8);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.usernameGuestInput::placeholder {
  color: #00aa00;
  opacity: 0.5;
  font-weight: 700;
  font-size: 1em;
  font-family: "VT323", monospace;
  text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

.usernameGuestInput:focus {
  border-color: #33ff33;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.8);
}
