/* Ailerons Font Import */
@font-face {
  font-family: "Aileron";
  src: url("../Assets/Ailerons/Ailerons-Typeface.otf") format("opentype");
}
@font-face {
  font-family: "Pixel";
  src: url("../Assets/Pixel/computer_pixel-7.ttf") format("opentype");
}
@font-face {
  font-family: "Arame";
  src: url("../Assets/Arame/Arame-Mono/Arame-Mono.ttf") format("opentype");
}
@font-face {
  font-family: "Vdub";
  src: url("../Assets/Vdub/V\ Dub.otf") format("opentype");
}
@font-face {
  font-family: "Code";
  src: url("../Assets/source-code-pro/SourceCodePro_FontsOnly-1.009/SourceCodePro-Bold.ttf") format("opentype");
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: #121212;
  color: #ffffff;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 50px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  max-width: 900px;
  left: 10vw;
}

/* Input group styling */
.input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Input box styling */
input,
button {
  padding: 12px 15px;
  font-size: 16px;
  border: none;
  outline: none;
  transition: 0.3s;
}

input {
  background: #1e1e1e;
  color: #ffffff;
  border-radius: 20px;
  width: 200px;
  text-align: center;
  font-size: 30px;
  border: 2px solid transparent;
  font-family: "Roboto Mono", monospace;
}

input:focus {
  border-color: #ffffff;
}

/* Password toggle icon */
.input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #ccc;
  font-size: 18px;
}

/* Button styling */
button {
  font-family: "Aileron";
  font-size: 50px;
  letter-spacing: 1px;
  background: transparent;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  border: 5px solid green;
  transition: 0.3s;
}

button:hover {
  background-color: black;
}

/* Status text styling */
#status-text {
  margin: 20px 0;
  font-size: 30px;
  color: #08f700;
  font-family: "Robot Mono", monospace;
}

/* Red status for errors */
.error {
  color: #f10000 !important;
  font-family: "Robot Mono", monospace;
  font-size: 30px !important;
}

/* Output section */
#output {
  margin-top: 30px;
  padding: 20px;
  padding-left: 50px !important;
  left: 5vw;
  background: transparent;
  width: 100%;
}

#output.hidden {
  display: none;
}

h1 {
  color: #fcfcfc;
  margin-bottom: 10px;
  font-family: "Robot Mono", monospace;
}

#route-info,
#route-info p,
#route-info,
#output-box * {
  font-family: "Code";
}

#route-info p {
  font-size: 40px;
  letter-spacing: 5px;
  font-family: 'Pixel' sans-serif !important;
}

#route-info span {
  color: #ffffff;
  font-size: 30px;
  font-family: "Arame";
}

#map {
  width: 70vh; /* Square size */
  height: 70vh;
  position: fixed;
  bottom: 10vw;
  left: 60vw;
  z-index: 99;
  border-radius: 10px;
  border-width: 2px;
  border-color: snow;
  border-style: solid;
}

.node-label {
  font-size: 12px; /* Small font size */
  color: #3498db; /* Blue tint matching markers */
  background: #1a1a1a; /* Dark background */
  padding: 3px 5px; /* Small padding */
  border-radius: 4px;
  opacity: 0.9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

#output-box {
  width: 600px;
  height: 300px;
  background: #2b2b2b;
  border: 2px solid #555;
  border-radius: 10px;
  margin-top: 20px;
  overflow-y: auto; /* Scrollable downwards */
  white-space: pre-wrap; /* Wrap text to new line */
  word-wrap: break-word; /* Prevent horizontal scrolling */
}

/* Sleek Dark Scrollbar */
#output-box::-webkit-scrollbar {
  width: 8px; /* Slim scrollbar width */
}

#output-box::-webkit-scrollbar-thumb {
  background: #5b94b6; /* Green thumb */
  border-radius: 10px; /* Rounded corners */
  transition: background 0.3s;
}

#output-box::-webkit-scrollbar-thumb:hover {
  background: #4f89aa; /* Darker green on hover */
}

#output-box::-webkit-scrollbar-track {
  background: #1e1e1e; /* Dark track */
}
