body {
  font-family: 'Courier New', monospace;
  background: #0b0b0b;
  color: #0f0;
  margin: 0;
  display: flex;
  flex-direction: row;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.left-panel,
.right-panel {
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

.left-panel {
  width: 40%;
  background: #1a1a1a;
  border-right: 2px solid #0f0;
  box-shadow: inset -2px 0 5px rgba(0, 255, 0, 0.2);
}

.right-panel {
  width: 60%;
  background: #121212;
  padding-bottom: 20px;
}

#cli {
  background: #000;
  height: 400px;
  overflow-y: auto;
  border: 1px solid #0f0;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px #0f0;
  font-size: 14px;
  line-height: 1.5;
  color: #0f0;
  white-space: pre-wrap;  /* Ensure long lines wrap correctly */
}

input,
select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 10px;
  background: #000;
  color: #0f0;
  border: 1px solid #0f0;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus {
  border-color: #6f6;
  box-shadow: 0 0 10px #6f6;
}



.completed {
  text-decoration: line-through;
  color: #8f8;
}

#feedback {
  margin-top: 15px;
  color: yellow;
  font-style: italic;
  font-size: 20px;   /* slightly bigger */
  font-weight: bold; /* makes it bold */
  text-shadow: 1px 1px 2px black; /* improves readability on dark backgrounds */
}

.prompt {
  color: cyan;
}

.command {
  color: white;
  font-weight: bold;
}

.output {button {
  width: 100%;
  padding: 12px;
  background: #2563eb;   /* nicer blue */
  color: #fff;           /* white text */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-bottom: 10px;   /* adds spacing between buttons */
  font-weight: bold;     /* makes text stand out */
  font-size: 16px;
}

button:hover {
  background: #1d4ed8;   /* darker blue on hover */
  transform: scale(1.02); /* slight pop effect */
}

  color: lightgreen;
}

.error {
  color: red;
  font-style: italic;
}

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

.cursor {
  display: inline-block;
  width: 10px;
  background: lightgreen;
  animation: blink 1s step-start infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
      flex-direction: column;
  }

  .left-panel,
  .right-panel {
      width: 100%;
      height: 50vh;
      border-right: none;
      border-bottom: 2px solid #0f0;
  }

  .right-panel {
      border-bottom: none;
  }
}

/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
  border: 1px solid #0f0;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #0f0;
  border-radius: 5px;
  box-shadow: inset 0 0 5px #000;
}

::-webkit-scrollbar-thumb:hover {
  background: #6f6;
}

/* Firefox scrollbar support */
body {
  scrollbar-color: #0f0 #111;
  scrollbar-width: thin;
}

#topology {
  text-align: center;
  margin-top: 20px;
}

#topologyImage {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.accordion-container {
  max-width: 800px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.accordion-toggle {
  background-color: #005f73;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  border: none;
  outline: none;
  transition: background 0.3s ease;
  border-radius: 5px;
  margin-top: 10px;
}

.accordion-toggle:hover {
  background-color: #0a9396;
}

.accordion-content {
  padding: 15px;
  background-color: #000000;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
  display: none;
}

 .cta-btn {
    background: #4ade80;
    color: #111827;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
  }
  .cta-btn:hover {
    background: #22c55e;
  }

.cli-logo {
  color: #4ade80;          /* improved color */
  text-shadow: 0 0 2px #6f6;
}

.cli-nav-links li a {
  color: #aaf0a0;          /* improved color */
  text-decoration: none;
  transition: all 0.2s ease;
}

.cli-nav-links li a:hover {
  color: #fff;
  background-color: #0f0;
  text-shadow: 0 0 5px #6f6;
}
