/* ==========================================================================
   Hora Nerd - High-Tech Dev & SysAdmin Tools Suite
   Tech Specialist Design System v2.0
   ========================================================================== */

:root {
  /* High-Tech Cyber Solid Color Architecture */
  --tech-bg: #070a12;
  --tech-canvas: #070a12;
  --tech-surface-1: #0e1424;
  --tech-surface-2: #141d33;
  --tech-surface-glass: #0e1424;
  --tech-surface-elevated: #1a2642;

  /* Tech Accents */
  --tech-cyan: #00f2fe;
  --tech-cyan-glow: rgba(0, 242, 254, 0.28);
  --tech-cyan-subtle: rgba(0, 242, 254, 0.08);

  --tech-indigo: #6366f1;
  --tech-violet: #8b5cf6;
  --tech-purple-glow: rgba(139, 92, 246, 0.28);

  --tech-emerald: #00f59b;
  --tech-emerald-glow: rgba(0, 245, 155, 0.25);

  --tech-amber: #fbbf24;
  --tech-rose: #ff2a5f;

  /* High-Tech Borders */
  --tech-border: #1e293b;
  --tech-border-bright: #00f2fe;
  --tech-border-purple: #6366f1;

  /* Typography Colors */
  --tech-text-pure: #ffffff;
  --tech-text-primary: #f1f5f9;
  --tech-text-secondary: #94a3b8;
  --tech-text-muted: #64748b;

  /* Monospace & Font Tokens */
  --tech-mono: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --tech-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radii & Transitions */
  --tech-radius-lg: 18px;
  --tech-radius-md: 12px;
  --tech-radius-sm: 8px;
  --tech-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Wrapper - Solid Tech Canvas */
.hn-tools-wrapper {
  background-color: var(--tech-bg);
  min-height: 100vh;
  padding: 2.5rem 0 4rem;
  color: var(--tech-text-primary);
  font-family: var(--tech-sans);
}

/* Hero Header */
.tools-hero {
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--tech-border);
  padding-bottom: 1.75rem;
}

.tools-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--tech-text-muted);
  margin-bottom: 1rem;
}

.tools-breadcrumbs a {
  color: var(--tech-text-secondary);
  text-decoration: none;
  transition: var(--tech-transition);
}

.tools-breadcrumbs a:hover {
  color: var(--tech-cyan);
}

.bc-sep {
  opacity: 0.4;
}

.bc-active {
  color: var(--tech-cyan);
  font-weight: 600;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 9999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  font-family: var(--tech-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tech-cyan);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.12);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--tech-cyan);
  box-shadow: 0 0 10px var(--tech-cyan);
  animation: techPulse 2s infinite;
}

@keyframes techPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.tools-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--tech-text-pure);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.tech-gradient-text {
  color: var(--tech-cyan) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--tech-cyan) !important;
  font-weight: 800;
}

.tools-hero-desc {
  font-size: 1rem;
  color: var(--tech-text-secondary);
  max-width: 820px;
  margin: 0;
  line-height: 1.6;
}

.tools-hero-desc strong {
  color: var(--tech-text-pure);
}

/* Master Layout: Sidebar + Workspace */
.tech-tools-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 980px) {
  .tech-tools-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Navigation */
.tech-tools-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--tech-surface-1);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-lg);
  padding: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 90px;
}

.nav-title-group {
  padding: 0.4rem 0.6rem 0.6rem;
  border-bottom: 1px solid var(--tech-border);
  margin-bottom: 0.4rem;
}

.nav-subhead {
  font-family: var(--tech-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tech-text-muted);
}

.tech-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--tech-radius-md);
  color: var(--tech-text-secondary);
  font-family: var(--tech-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--tech-transition);
  position: relative;
  width: 100%;
}

.tech-nav-item:hover {
  background: var(--tech-surface-2);
  color: var(--tech-text-pure);
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateX(3px);
}

.tech-nav-item.active {
  background: var(--tech-surface-2);
  color: var(--tech-text-pure);
  border: 1px solid var(--tech-border-bright);
  box-shadow: none;
}

.tech-nav-item.active::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--tech-cyan);
  border-radius: 4px;
  box-shadow: 0 0 8px var(--tech-cyan);
}

.nav-icon {
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--tech-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  font-family: var(--tech-mono);
}

.tech-nav-item.active .nav-icon {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--tech-cyan);
  color: var(--tech-cyan);
}

.nav-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nav-name {
  font-size: 0.88rem;
  line-height: 1.25;
}

.nav-sub {
  font-size: 0.7rem;
  color: var(--tech-text-muted);
  font-weight: 400;
}

/* Category Badges */
.tech-tag {
  font-family: var(--tech-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: auto;
}

.tag-dev {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tag-sec {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.tag-net {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-sys {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tag-crypto {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.tag-conv {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.tag-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--tech-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

/* Workspace Panels */
.tech-workspace-container {
  min-height: 650px;
}

.tech-panel {
  display: none;
  background: var(--tech-surface-1);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.tech-panel.active {
  display: block;
  animation: techFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes techFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel Header */
.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tech-border);
  flex-wrap: wrap;
}

.panel-header-info {
  flex-grow: 1;
  min-width: 260px;
}

.panel-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--tech-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tech-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.led-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tech-cyan);
  box-shadow: 0 0 8px var(--tech-cyan);
}

.led-purple { background: var(--tech-violet); box-shadow: 0 0 8px var(--tech-violet); }
.led-cyan { background: var(--tech-cyan); box-shadow: 0 0 8px var(--tech-cyan); }
.led-amber { background: var(--tech-amber); box-shadow: 0 0 8px var(--tech-amber); }
.led-green { background: var(--tech-emerald); box-shadow: 0 0 8px var(--tech-emerald); }

.panel-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tech-text-pure);
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.panel-desc {
  font-size: 0.88rem;
  color: var(--tech-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Tech Buttons */
.tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--tech-radius-sm);
  font-family: var(--tech-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tech-transition);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
}

.tech-btn-primary {
  background: var(--tech-cyan);
  color: #040813;
  font-weight: 700;
  border: 1px solid var(--tech-cyan);
  box-shadow: none;
}

.tech-btn-primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #040813;
  transform: translateY(-1px);
}

.tech-btn-secondary {
  background: var(--tech-surface-2);
  color: var(--tech-text-primary);
  border: 1px solid var(--tech-border);
}

.tech-btn-secondary:hover {
  background: var(--tech-surface-elevated);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--tech-text-pure);
}

.tech-btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--tech-text-secondary);
  border: 1px solid var(--tech-border);
}

.tech-btn-outline:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--tech-cyan);
  color: var(--tech-cyan);
}

.tech-btn-success {
  background: var(--tech-emerald);
  color: #040813;
  font-weight: 700;
  border: 1px solid var(--tech-emerald);
  box-shadow: none;
}

.tech-btn-success:hover {
  background: #34d399;
  border-color: #34d399;
  color: #040813;
}

/* Copy Buttons */
.tech-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 6px;
  color: var(--tech-cyan);
  font-family: var(--tech-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: var(--tech-transition);
}

.tech-copy-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--tech-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.tech-copy-btn.copied {
  background: rgba(0, 245, 155, 0.25);
  border-color: var(--tech-emerald);
  color: var(--tech-emerald);
}

.tech-link-btn {
  background: none;
  border: none;
  color: var(--tech-text-muted);
  font-size: 0.75rem;
  font-family: var(--tech-mono);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: var(--tech-transition);
}

.tech-link-btn:hover {
  color: var(--tech-rose);
}

/* Code Editor Split View */
.tech-editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .tech-editor-split {
    grid-template-columns: 1fr;
  }
}

.tech-editor-card {
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  transition: border-color var(--tech-transition);
}

.tech-editor-card:focus-within {
  border-color: var(--tech-cyan);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 242, 254, 0.15);
}

.editor-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--tech-border);
}

.editor-title {
  font-family: var(--tech-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tech-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bar-icon {
  font-size: 0.85rem;
}

/* Textareas & Inputs */
.tech-code-input,
.tech-code-output {
  width: 100%;
  height: 380px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-family: var(--tech-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 1rem;
  outline: none;
  resize: vertical;
  margin: 0;
}

.tech-code-output {
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: #a7f3d0;
  background: rgba(0, 0, 0, 0.2);
}

.placeholder-text {
  color: var(--tech-text-muted);
  font-style: italic;
}

/* Single Line Inputs */
.field-label {
  display: block;
  font-family: var(--tech-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tech-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.tech-text-input {
  width: 100%;
  height: 44px;
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-sm);
  color: var(--tech-text-pure);
  font-family: var(--tech-mono);
  font-size: 0.95rem;
  padding: 0 1rem;
  outline: none;
  transition: var(--tech-transition);
}

.tech-text-input:focus {
  border-color: var(--tech-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.input-with-btn {
  display: flex;
  gap: 0.6rem;
}

.input-with-btn .tech-text-input {
  flex-grow: 1;
}

/* Chip Buttons & Presets */
.cron-presets-bar,
.subnet-presets {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.preset-label {
  font-family: var(--tech-mono);
  font-size: 0.72rem;
  color: var(--tech-text-muted);
  font-weight: 600;
}

.tech-chip-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tech-border);
  border-radius: 9999px;
  color: var(--tech-text-secondary);
  font-family: var(--tech-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: var(--tech-transition);
}

.tech-chip-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--tech-cyan);
  color: var(--tech-cyan);
  transform: translateY(-1px);
}

/* Tool 2: JWT Specifics */
.jwt-textarea {
  height: 100px;
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-md);
  margin-bottom: 0.85rem;
}

.jwt-status-banner {
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 24px;
}

.jwt-header-view { color: #60a5fa; height: 260px; }
.jwt-payload-view { color: #34d399; height: 260px; }

/* Tool 3: Subnet Table */
.subnet-control-bar {
  margin-bottom: 1.5rem;
}

.tech-table-card {
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-md);
  overflow: hidden;
}

.tech-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--tech-mono);
  font-size: 0.86rem;
}

.tech-data-table th,
.tech-data-table td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--tech-border);
}

.tech-data-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--tech-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tech-data-table td {
  color: var(--tech-text-primary);
}

.tech-data-table tr:last-child td {
  border-bottom: none;
}

.td-highlight {
  color: var(--tech-cyan) !important;
  font-weight: 700;
}

.td-usable {
  color: var(--tech-emerald) !important;
  font-weight: 700;
}

.td-binary {
  color: #818cf8;
  font-size: 0.78rem;
}

/* Tool 4: Cron Live Result & Runs */
.cron-live-result {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--tech-radius-md);
  padding: 1.15rem 1.4rem;
  margin-top: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.08);
}

.cron-badge {
  background: var(--tech-cyan);
  color: #030712;
  font-family: var(--tech-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.cron-human-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tech-text-pure);
}

.cron-runs-box {
  padding: 1rem;
  font-family: var(--tech-mono);
  font-size: 0.82rem;
  color: var(--tech-emerald);
  line-height: 1.8;
  min-height: 140px;
}

.cron-syntax-guide {
  padding: 1rem;
  font-family: var(--tech-mono);
  font-size: 0.78rem;
  color: var(--tech-text-secondary);
  line-height: 1.7;
}

/* Tool 5: Regex */
.regex-inputs-bar {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1rem;
}

.regex-input-box {
  display: flex;
  align-items: center;
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-sm);
  padding: 0 0.75rem;
}

.regex-input-box:focus-within {
  border-color: var(--tech-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.regex-delimit {
  color: var(--tech-cyan);
  font-family: var(--tech-mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.regex-inline {
  border: none;
  background: transparent;
  box-shadow: none !important;
}

.regex-match-view {
  height: 380px;
  overflow: auto;
  padding: 1rem;
}

.match-item-card {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--tech-cyan);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--tech-mono);
  font-size: 0.85rem;
}

.match-header {
  color: var(--tech-cyan);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.match-groups {
  margin-top: 0.35rem;
  padding-left: 0.5rem;
  font-size: 0.78rem;
  color: #a78bfa;
}

/* Tool 6: Hashes */
.hash-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hash-row-card {
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-md);
  padding: 0.85rem 1rem;
  transition: border-color var(--tech-transition);
}

.hash-row-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.hash-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.hash-name {
  font-family: var(--tech-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tech-cyan);
}

.hash-tag {
  font-family: var(--tech-mono);
  font-size: 0.65rem;
  color: var(--tech-emerald);
}

.tag-warning {
  color: var(--tech-amber);
}

.hash-input-copy {
  display: flex;
  gap: 0.5rem;
}

.hash-field {
  height: 42px;
  padding: 0 0.85rem;
  font-size: 0.85rem;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  flex-grow: 1;
}

/* Tool 7: Password Generator */
.tech-pwd-display-card {
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border-bright);
  border-radius: var(--tech-radius-md);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.12);
  margin-bottom: 1.5rem;
}

.pwd-value-wrapper {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pwd-display-input {
  flex-grow: 1;
  height: 58px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--tech-radius-sm);
  color: var(--tech-emerald);
  font-family: var(--tech-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 1rem;
  outline: none;
  box-shadow: inset 0 0 15px rgba(0, 245, 155, 0.08);
}

.pwd-strength-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strength-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.strength-labels strong {
  color: var(--tech-emerald);
}

.tech-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 90%;
  background: var(--tech-emerald);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.tech-config-card {
  background: var(--tech-surface-2);
  border: 1px solid var(--tech-border);
  border-radius: var(--tech-radius-md);
  padding: 1.5rem;
}

.config-slider-row {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.slider-count strong {
  font-size: 1.15rem;
  color: var(--tech-cyan);
  font-family: var(--tech-mono);
}

.tech-range-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  accent-color: var(--tech-cyan);
}

.config-toggles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.tech-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--tech-text-primary);
  user-select: none;
}

.tech-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--tech-canvas);
  border: 1px solid var(--tech-border-bright);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: var(--tech-transition);
}

.tech-checkbox:checked {
  background: var(--tech-cyan);
  border-color: var(--tech-cyan);
}

.tech-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #030712;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Tool 8: Base64 View */
.b64-view {
  color: #60a5fa;
}
