.pwd-tool {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Primary Display Card */
.pwd-display-card {
  background: #141720;
  border: 1px solid #2A2D3A;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pwd-display-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.pwd-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 600;
  color: #F0F2F8;
  letter-spacing: 0.05em;
  word-break: break-all;
  user-select: all;
  flex: 1;
}

.pwd-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  background: #1A1D27;
  border: 1px solid #2A2D3A;
  color: #F0F2F8;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s;
  white-space: nowrap;
}

.icon-btn:hover {
  border-color: #4F8EF7;
  color: #4F8EF7;
}

/* Strength Meter */
.strength-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.strength-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
}

.strength-label {
  color: #6B7280;
}

.strength-level {
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.strength-bar-track {
  width: 100%;
  height: 6px;
  background: #0F1117;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.725rem;
  color: #6B7280;
}

/* Configuration Modes Nav */
.mode-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.mode-tab {
  background: #1A1D27;
  border: 1px solid #2A2D3A;
  color: #6B7280;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-tab.active {
  background: #4F8EF7;
  border-color: #4F8EF7;
  color: #FFFFFF;
}

.mode-tab:hover:not(.active) {
  border-color: #4F8EF7;
  color: #F0F2F8;
}

/* Options Grid */
.options-card {
  background: #141720;
  border: 1px solid #2A2D3A;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.length-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.length-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #F0F2F8;
  font-weight: 500;
}

.length-val {
  font-family: 'JetBrains Mono', monospace;
  color: #4F8EF7;
  font-size: 1.1rem;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  accent-color: #4F8EF7;
  cursor: pointer;
}

.quick-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.chip-btn {
  background: #1A1D27;
  border: 1px solid #2A2D3A;
  color: #6B7280;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.chip-btn.active,
.chip-btn:hover {
  border-color: #4F8EF7;
  color: #F0F2F8;
}

/* Checkbox Grid */
.checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #F0F2F8;
  cursor: pointer;
  user-select: none;
}

.check-label input[type="checkbox"] {
  accent-color: #4F8EF7;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.check-hint {
  color: #6B7280;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

/* Bulk Generation Panel */
.bulk-panel {
  background: #141720;
  border: 1px solid #2A2D3A;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bulk-textarea {
  width: 100%;
  min-height: 130px;
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #F0F2F8;
  resize: vertical;
}

.btn-primary {
  background: #4F8EF7;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}
