body {
    background: #121212;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    min-height: 100vh;
  }

  .packager-container {
    background: linear-gradient(135deg, #1b1b1b, #222);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    margin-bottom: 25px;
  }

  h2 {
    text-align: center;
    color: #4ade80;
    margin-bottom: 20px;
  }

  input[type="file"], input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #333;
    margin-bottom: 15px;
    background: #111;
    color: #fff;
    font-size: 14px;
  }

  label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #4ade80;
  }

  button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
  }

  button:hover {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    transform: scale(1.03);
    box-shadow: 0 0 10px #4ade80;
  }

  .icon-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
  }

  .icon-preview img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    border: 2px solid #4ade80;
    object-fit: cover;
  }

  .note {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
    text-align: center;
  }

  .preview-container {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(74,222,128,0.4);
    background: #1e1e1e;
  }

  .preview-container h3 {
    text-align: center;
    color: #4ade80;
    margin: 10px 0;
  }

  iframe {
    width: 100%;
    height: 400px;
    border: none;
    background: #fff;
  }

  .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;
}

/* Navbar fixed to the top */
.cli-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  border-bottom: 2px solid #0f0;
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.2);
  z-index: 1000;
  padding: 10px 20px;
}

/* Flex layout for navbar items */
.cli-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cli-nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Make sure panels stack nicely on small devices */
@media (max-width: 1024px) {
  .left-panel {
    width: 45%;
  }
  .right-panel {
    width: 55%;
  }
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
    padding-top: 60px; /* Adjust for smaller navbar */
  }

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

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

  #cli {
    height: 300px; /* smaller CLI for small screens */
  }
}

/* --- Responsive Navbar --- */
@media (max-width: 700px) {
  .cli-navbar {
    flex-wrap: wrap;
  }

  .cli-logo {
    flex: 1 0 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .cli-nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .cli-nav-links li {
    width: 100%;
    text-align: center;
  }

  .cli-nav-links li a {
    display: block;
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
  }

  .cli-nav-links li a:hover {
    background: #0f0;
    color: #000;
  }
}

/* --- Ultra small screens (phones under 400px) --- */
@media (max-width: 400px) {
  body {
    font-size: 14px;
  }

  #cli {
    height: 250px;
  }

  input,
  select {
    font-size: 14px;
    padding: 10px;
  }
}

 /* Sticky site navbar with style */
.site-navbar {
  position: sticky;      /* stay at top when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  background: #111;      /* base dark color */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  border-bottom: 2px solid #4ade80;
  flex-wrap: wrap;
}

/* Logo style */
.site-navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #4ade80;   /* green accent to match your theme */
}

/* Nav links container */
.site-navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* Nav links */
.site-navbar .nav-links li a {
  text-decoration: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #222, #111);
}

/* Hover effect: multi-color gradient + glow */
.site-navbar .nav-links li a:hover {
  background: linear-gradient(90deg, #4ade80, #22c55e, #33ccff, #ff6699);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7),
              0 0 12px rgba(51, 204, 255, 0.5);
}

/* Responsive for mobile */
@media (max-width: 768px){
  .site-navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-navbar .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }
} 