:root{
  --bg:#171717;
  --panel:#222;
  --neon:#00ff4c; /* verde fosforito */
  --muted:#9a9a9a;
  --accent:#2a2a2a;
  --glass: rgba(255,255,255,0.03);
  font-family: "Courier New", Courier, monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
}

.container{
  width:920px;
  max-width:96%;
}

/* Title */
.title h1 {
  font-size: 18px !important;   /* 🔥 Más pequeño */
  font-weight: 500;
  margin: 0 0 18px 0;
  letter-spacing: 1px;
  color: #e8e8e8;
  opacity: 0.9;
}
.theme-toggle{margin-left:8px; font-size:18px}

/* Output */
.output .password-row{
  display:flex;
  gap:8px;
  align-items:center;
}
.output input#password{
  width:100%;
  padding:10px 12px;
  font-size:18px;
  background:var(--accent);
  color:var(--neon);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:4px;
  box-shadow: 0 0 14px rgba(0,255,76,0.04) inset;
  caret-color:transparent;
}
#copyBtn{
  background:transparent;
  border:1px solid rgba(255,255,255,0.06);
  color:var(--neon);
  padding:8px 10px;
  border-radius:4px;
  cursor:pointer;
}

/* divider */
.divider{
  height:1px;
  margin:14px 0 18px 0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.06),transparent);
}

/* Controls panel */
.controls{
  background:transparent;
}
.controls h2{
  color:var(--muted);
  margin:0 0 12px 0;
  font-size:16px;
}

.controls-grid{
  display:flex;
  gap:18px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,0.06);
  padding:20px;
  border-radius:4px;
  margin-bottom:18px;
  background:var(--glass);
}

/* left checks */
.checks{
  flex:1;
  display:grid;
  gap:10px;
  align-content:start;
}
.checks label{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  color:#dcdcdc;
}
.checks input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color: var(--neon);
}

/* length */
.length{
  width:260px;
  color:#dcdcdc;
}
.length-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:8px;
}
#lenNumber{
  width:64px;
  padding:6px 8px;
  background:var(--accent);
  border:1px solid rgba(255,255,255,0.04);
  color:#fff;
  border-radius:4px;
}
#lenRange{
  flex:1;
  appearance:none;
  height:10px;
  border-radius:10px;
  background:#333;
  outline:none;
}
#lenRange::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:18px;height:18px;border-radius:50%;
  background:var(--neon);
  box-shadow:0 0 8px rgba(0,255,76,0.35);
  cursor:pointer;
}

/* Generate button */
.generate-btn{
  margin-top:14px;
  background:var(--neon);
  color:#07100b;
  border:none;
  padding:10px 18px;
  border-radius:4px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,255,76,0.12);
}

/* Neon blinking for the password field placeholder effect */
@keyframes blink {
  0%, 50% { box-shadow: 0 0 0 rgba(0,0,0,0); }
  51%, 100% { box-shadow: 0 0 18px rgba(0,255,76,0.08); }
}
.output input#password { animation: blink 3s infinite; }

/* footer */
.credits{
  text-align:center;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}



/* === Marca Key-GenX === */
.app-brand {
  text-align: center;
  margin-bottom: 10px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.brand-green {
  color: #00ffa2; /* Verde brillante */
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(0,255,162,0.4);
  animation: pulse 3s infinite ease-in-out;
}

.brand-sub {
  color: #b0b0b0;
  font-size: 16px;
  margin-left: 6px;
  opacity: 0.8;
}

/* Animación suave tipo monitor */
@keyframes pulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0,255,162,0.2); }
  50% { text-shadow: 0 0 22px rgba(0,255,162,0.6); }
}

/* Quitar el footer */
.credits { display: none; }


/* Created by Ciber-A */
.footer .brand-green {
  font-size: 14px;     /* ajusta a tu gusto: 12–14px */
  /* opcional: si lo quieres igual de “ligero” */
  font-weight: bold;   
  text-shadow: 0 0 12px rgba(0,255,162,0.4);
  animation: pulse 3s infinite ease-in-out;
  display: inline-block; /* por si quieres jugar con el spacing */
  line-height: 1.2;
  }