/* Created At: 2026-07-06T09:50:00Z */

/* ─── COLOR TOKENS (GOLD THEME FOR UTILITY CARD CATEGORIES) ─── */
:root {
  --tool-gold: #2ebd7f;
  --tool-gold-glow: rgba(46, 189, 127, 0.35);
  --tool-gold-soft: rgba(46, 189, 127, 0.08);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ─── TWO-COLUMN LAYOUT OVERRIDE ─── */
.tool-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .tool-layout {
    grid-template-columns: 1fr;
  }
}

/* ─── SEGMENTED MODE SELECTOR ─── */
.mode-toggle {
  display: grid;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.mode-toggle.two-options {
  grid-template-columns: repeat(2, 1fr);
}

.mode-toggle.three-options {
  grid-template-columns: repeat(3, 1fr);
}

.mode-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  background: var(--tool-gold);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--tool-gold-glow);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.mode-btn {
  border: none;
  background: transparent !important;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.25s ease;
  position: relative;
  z-index: 1;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mode-btn.active {
  color: #ffffff !important;
}

body.light .mode-toggle {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .mode-indicator {
  background: var(--tool-gold);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

body.light .mode-btn {
  color: #334155;
}

body.light .mode-btn.active {
  color: #ffffff !important;
}

/* ─── OUTPUT PASSWORD DISPLAY Surface ─── */
.output-password-box {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 56px 20px 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.output-password-box:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.password-text-span {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
  white-space: pre-wrap;
  letter-spacing: 0.5px;
  line-height: 1.4;
  user-select: all;
  width: 100%;
}

/* Character class syntax colors inside display */
.password-text-span .char-digit {
  color: #34d399; /* Green */
}

.password-text-span .char-symbol {
  color: #ef4444; /* Coral/Red */
}

.password-text-span .char-upper {
  color: #38bdf8; /* Blue */
}

.password-text-span .char-lower {
  color: var(--text); /* Default white */
}

/* Float quick actions on display card */
.password-actions-float {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-float-action {
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-float-action:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--tool-gold);
  color: var(--tool-gold);
  transform: scale(1.05);
}

body.light .btn-float-action {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

body.light .btn-float-action:hover {
  background: rgba(46, 189, 127, 0.08);
  border-color: #047857;
  color: #047857;
}

body.light .output-password-box {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .output-password-box:hover {
  border-color: rgba(46, 189, 127, 0.4);
}

body.light .password-text-span {
  color: #1e293b;
}

body.light .password-text-span .char-digit {
  color: #b45309; /* Deep gold/amber */
}

body.light .password-text-span .char-symbol {
  color: #be123c; /* Deep rose/red */
}

body.light .password-text-span .char-upper {
  color: #0369a1; /* Deep ocean blue */
}

body.light .password-text-span .char-lower {
  color: #1e293b; /* Dark slate */
}


/* ─── STRENGTH INDICATOR GLOW METER ─── */
.strength-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 16px;
}

body.light .strength-section {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.strength-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.strength-lbl {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.8px;
}

.strength-status-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  transition: color 0.3s ease;
}

.strength-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

body.light .strength-bar-track {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.01);
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

/* ─── EXPANDABLE HISTORY & BULK GENERATED PANELS ─── */
.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.history-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

body.light .history-row {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.04);
}

body.light .history-row:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.history-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  word-break: break-all;
  user-select: all;
  margin-right: 12px;
}

.history-copy-badge {
  outline: none;
  font-family: 'Figtree', sans-serif;
  color: var(--tool-gold) !important;
  background: var(--tool-gold-soft) !important;
  border: 1px solid var(--tool-gold-glow) !important;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.history-copy-badge:hover {
  background: var(--tool-gold-glow) !important;
  border-color: var(--tool-gold) !important;
  transform: scale(1.02);
}

body.light .history-copy-badge {
  color: #047857 !important;
  background: rgba(46, 189, 127, 0.08) !important;
  border-color: rgba(46, 189, 127, 0.2) !important;
}

body.light .history-copy-badge:hover {
  background: rgba(46, 189, 127, 0.15) !important;
  border-color: #047857 !important;
}

/* Bulk block lists */
.bulk-list-wrap {
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  padding: 12px 8px 12px 12px;
}

.bulk-list-wrap::-webkit-scrollbar {
  width: 6px;
}

.bulk-list-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.bulk-list-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.bulk-list-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--tool-gold);
}

body.light .bulk-list-wrap {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

body.light .bulk-list-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

body.light .bulk-list-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--tool-gold);
}

.bulk-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
}

body.light .bulk-item-row {
  border-bottom-color: rgba(0, 0, 0, 0.03);
}

.bulk-item-row:last-child {
  border-bottom: none;
}

.bulk-item-index {
  color: var(--text-3);
  font-size: 11px;
}

.bulk-item-val {
  font-weight: 600;
  color: var(--text-2);
  word-break: break-all;
  user-select: all;
  flex: 1;
  text-align: left;
  padding-left: 12px;
}

/* Primary Button Styling Override */
.rb-btn-primary {
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.rb-btn-primary:hover {
  background: linear-gradient(135deg, #a7f3d0 0%, #059669 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

body.light .rb-btn-primary {
  background: rgba(46, 189, 127, 0.08) !important;
  border: 1px solid rgba(46, 189, 127, 0.18) !important;
  color: #047857 !important;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.04) !important;
}

body.light .rb-btn-primary:hover {
  background: rgba(46, 189, 127, 0.15) !important;
  border-color: rgba(46, 189, 127, 0.3) !important;
  color: #065f46 !important;
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.08) !important;
}

/* Smart Labels styling */
.fg label .lbl-auto {
  outline: none;
  font-family: 'Figtree', sans-serif;
  color: var(--tool-gold) !important;
  background: var(--tool-gold-soft) !important;
  border: 1px solid var(--tool-gold-glow) !important;
  transition: all 0.2s ease;
}

.fg label button.lbl-auto {
  cursor: pointer;
}

.fg label button.lbl-auto:hover {
  background: var(--tool-gold-glow) !important;
  border-color: var(--tool-gold) !important;
  transform: scale(1.02);
}

body.light .fg label .lbl-auto {
  color: #047857 !important;
  background: rgba(46, 189, 127, 0.08) !important;
  border-color: rgba(46, 189, 127, 0.2) !important;
}

body.light .fg label button.lbl-auto:hover {
  background: rgba(46, 189, 127, 0.15) !important;
  border-color: #047857 !important;
}

/* Tab Views toggle with smooth animation */
.tab-view-pane {
  display: none;
}
.tab-view-pane.active-view {
  display: block;
  animation: tabFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Custom range input slider styling */
.range-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  margin: 12px 0 6px;
}

.range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tool-gold);
  cursor: pointer;
  box-shadow: 0 0 10px var(--tool-gold-glow);
  transition: transform 0.15s ease;
}

.range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

body.light .range-slider-input {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .range-slider-input::-webkit-slider-thumb {
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
}

/* KPI metrics grids */
.salary-metrics-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: 16px;
}

body.light .salary-metrics-summary {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.summary-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-val {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.summary-lbl {
  font-family: 'Figtree', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

/* Toggle Switch slider styles */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.switch input:checked + .switch-slider {
  background-color: var(--tool-gold);
  border-color: var(--tool-gold);
}

.switch input:checked + .switch-slider:before {
  transform: translateX(20px);
}

body.light .switch-slider {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Phonetic Guide Styles */
.phonetic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.phonetic-char {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tool-gold);
  width: 24px;
  text-align: center;
}
.phonetic-word {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
body.light .phonetic-row {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.04);
}
body.light .phonetic-char {
  color: #047857;
}
body.light .phonetic-word {
  color: #334155;
}



