/* ALATI-GEN-2026-06-24 — Generator lozinki */

.gen-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

/* Tabs */
.gen-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gen-tab-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.gen-tab-btn:hover { color: #e2e8f0; }
.gen-tab-btn.active { color: #22d3ee; border-bottom-color: #22d3ee; }

/* Panels */
.gen-tab-panel { padding: 24px; }

/* Controls */
.gen-controls { margin-bottom: 20px; }
.gen-control-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.gen-label { font-size: 14px; color: #cbd5e1; min-width: 190px; flex-shrink: 0; }
.gen-label strong { color: #22d3ee; }
.gen-slider { flex: 1; accent-color: #22d3ee; cursor: pointer; }
.gen-select {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
}

/* Checkboxes */
.gen-checkboxes { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #cbd5e1; }
.gen-checkboxes label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.gen-checkboxes input[type="checkbox"] { accent-color: #22d3ee; width: 15px; height: 15px; cursor: pointer; }

/* Output row */
.gen-output-row { display: flex; gap: 10px; margin-bottom: 14px; }
.gen-output {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: #f1f5f9;
  font-size: 16px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
  min-width: 0;
}
.gen-output:focus { outline: none; border-color: #22d3ee; }
.gen-copy-btn {
  padding: 10px 16px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 8px;
  color: #22d3ee;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.gen-copy-btn:hover { background: rgba(34,211,238,0.22); }

/* Strength bar */
.gen-strength { margin-bottom: 20px; }
.str-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.str-fill { height: 100%; border-radius: 3px; transition: width 0.3s, background-color 0.3s; width: 0; }
.str-fill.str-weak  { background: #ef4444; }
.str-fill.str-fair  { background: #f97316; }
.str-fill.str-good  { background: #22c55e; }
.str-fill.str-great { background: #22d3ee; }
.str-label { font-size: 12px; color: #94a3b8; }

/* Generate button */
.gen-btn {
  display: block; width: 100%; padding: 12px;
  background: linear-gradient(135deg, #0e7490, #164e63);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
}
.gen-btn:hover { opacity: 0.82; }

/* Info box */
.gen-info-box {
  background: rgba(34,211,238,0.05);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: 10px;
  padding: 18px 22px;
}
.gen-info-box h3 { font-size: 14px; font-weight: 600; color: #22d3ee; margin: 0 0 8px; }
.gen-info-box ul { margin: 0; padding-left: 18px; color: #94a3b8; font-size: 13px; line-height: 1.75; }
.gen-info-box code {
  background: rgba(255,255,255,0.08); padding: 1px 5px;
  border-radius: 4px; font-family: monospace; font-size: 12px; color: #22d3ee;
}

/* Responsive */
@media (max-width: 600px) {
  .gen-control-row { flex-direction: column; align-items: flex-start; }
  .gen-label { min-width: 0; }
  .gen-slider { width: 100%; }
  .gen-output-row { flex-direction: column; }
  .gen-copy-btn { width: 100%; text-align: center; }
}

.gen-select option {
  background: #0f1b2d;
  color: #e2e8f0;
}
