/* ===== GENERADOR DE TARJETAS ===== */

#generador-box {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  max-height: 220px;
  overflow: hidden;
  padding-bottom: 8px;
}

#generador-box input {
  width: 100%;
  padding: 3px 5px;
  font-family: 'Fira Code', monospace;
  background: rgba(0, 0, 0, 0.35);
  color: #facc15;
  border: 1px solid #a855f7;
  border-radius: 4px;
  font-size: 11.5px;
}

#generador-box label {
  font-size: 11.5px;
  color: #ccc;
  display: block;
  line-height: 1.1;
  margin-bottom: 2px;
}

/* ===== GRID COMPACTA ===== */

.gen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.gen-grid label {
  font-size: 11.5px;
  color: #ccc;
}

.gen-grid input {
  width: 100%;
  padding: 3px 5px;
  font-size: 11.5px;
  font-family: 'Fira Code', monospace;
  background: rgba(0, 0, 0, 0.35);
  color: #facc15;
  border: 1px solid #a855f7;
  border-radius: 4px;
}

.gen-full {
  grid-column: span 2;
}

/* ===== BOTÓN GENERAR COMPACTO ===== */

#generar-btn {
  width: 100%;
  padding: 5px 0;
  font-size: 11.5px;
  font-family: 'Fira Code', monospace;
  background-color: transparent;
  border: 1px solid #a855f7;
  color: #facc15;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.2s ease;
  margin-top: 4px;
}

#generar-btn:hover {
  background-color: rgba(250, 204, 21, 0.08);
  box-shadow: 0 0 6px #a855f7;
}

/* ===== PESTAÑAS GATEWAYS / GENERATOR ===== */

.gate-tabs {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.tab-button {
  flex: 1;
  font-family: 'Fira Code', monospace;
  font-size: 11.5px;
  padding: 5px 8px;
  background-color: transparent;
  border: 1px solid #a855f7;
  color: #facc15;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.tab-button:hover {
  background-color: rgba(250, 204, 21, 0.1);
}

.tab-button.active {
  background-color: #facc15;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 6px #a855f7;
}