.header{
  padding:18px;
  text-align:center;
  font-size:22px;
  font-weight:800;
  letter-spacing:1px;
}


.card{
  background: rgb(17 17 17);
  margin:12px auto;
  padding:16px;
  border-radius:18px;
  box-shadow:0 0 18px rgba(0,0,0,0.5);
  max-width:520px;
  text-align: left;
}

label{
  font-size:16px;
  color:#cbd5e1;
  display:block;
  max-width:100%;
  white-space:normal; 
  word-break:break-word;
}

select,input{
  width:98%;
  padding:12px;
  border-radius:14px;
  border:none;
  font-size:16px;
  margin:8px;
  outline:none;
}

.btn{
  margin-top:14px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:16px;
  background:#22c55e;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}

.btn:active{
  transform:scale(0.98);
}

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:12px;
}

.jodi{
  background:#1e293b;
  padding:14px;
  border-radius:16px;
  text-align:center;
  font-size:20px;
  font-weight:900;
  box-shadow:0 0 10px rgba(0,0,0,0.4);
}

.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  margin-top:8px;
}

.green{ background:#16a34a; }
.blue{ background:#2563eb; }
.orange{ background:#f97316; }

.small{
  font-size:14px;
  color:#cbd5e1;
  line-height:1.6;
}

.footer-note{
  text-align:center;
  color:gray;
  font-size:12px;
  padding:15px;
}


/* ============================
   TERMINAL STYLE FIXED
============================ */

.terminal-box {
  background: #000;
  border: 2px solid #22c55e;
  border-radius:16px;
  text-align:left; /* force left align */
}

.terminal-screen{
  height:220px;
  width:100%;
  background:#000;
  color:#00ff66;
  font-family:monospace;
  font-size:14px;
  padding:12px;
  border-radius:14px;
  overflow-y:auto;
  overflow-x:hidden;  /* ❌ remove horizontal scroll */
  line-height:1.6;
  white-space:pre-wrap; /* wrap text */
  word-break:break-word;
  text-align:left !important;
  box-sizing:border-box;
}


/* ============================
   PROGRESS BAR
============================ */

.progressBar{
  width:100%;
  background:#111;
  border-radius:10px;
  overflow:hidden;
  height:10px;
  margin-bottom:12px;
}

#progressFill{
  height:10px;
  width:0%;
  background:#00ff66;
  transition:width 0.3s ease;
}


/* ============================
   RESPONSIVE
============================ */

@media (max-width: 480px) {

  .grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .btn {
    font-size: 17px;
    padding: 16px;
  }

  select, input {
    font-size: 15px;
  }

  .terminal-screen{
    font-size:13px;
  }
}