/* Tools Specific Styles */

.tool-interface-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.tool-header-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-title-group h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.25;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
}

.tool-title-group p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Tool Action Bars & Buttons */
.tool-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-primary-glow);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline-cyan {
  background: transparent;
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.25);
  color: #fb7185;
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--accent-rose);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-mono);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-primary);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
  tab-size: 2;
}

.form-options-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
  accent-color: var(--accent-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Split Panes / Dual Columns */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.pane {
  display: flex;
  flex-direction: column;
}

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

.pane-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Result Box */
.result-box {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 48px 16px 16px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  word-break: normal;
  overflow-wrap: break-word;
  color: #38bdf8;
}

.result-box.break-all {
  word-break: break-all;
}

.result-box.large {
  min-height: 180px;
  align-items: flex-start;
  white-space: pre-wrap;
  overflow-x: auto;
}

.result-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Badges de Status */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-valid {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-invalid {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.badge-neutral {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* CPF / CNPJ Specific */
.cpf-result-display {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.cpf-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* JWT Specific Styles */
.jwt-segments-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.jwt-block {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.jwt-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jwt-header-color { color: #f43f5e; }
.jwt-payload-color { color: #a855f7; }
.jwt-signature-color { color: #06b6d4; }

.jwt-block pre {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
}

/* Timestamp Clock */
.timestamp-clock-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.clock-val-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.clock-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.clock-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
}

/* DIFF CHECKER */
.diff-container {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 20px;
}

.diff-header-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.diff-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
}

.diff-row.added { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; }
.diff-row.removed { background: rgba(244, 63, 94, 0.12); color: #fda4af; }
.diff-row.unchanged { color: #94a3b8; }

.diff-line-num {
  width: 44px;
  padding: 4px 8px;
  text-align: right;
  color: var(--text-muted);
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
}

.diff-marker {
  width: 24px;
  text-align: center;
  font-weight: 700;
  user-select: none;
}

.diff-content {
  padding: 4px 12px;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
}

/* CASE CONVERTER */
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.case-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.case-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.case-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #38bdf8;
  word-break: normal;
  overflow-wrap: break-word;
  min-height: 24px;
}

/* COLOR CONVERTER */
.color-preview-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.color-swatch-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.color-swatch-box input[type="color"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.color-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* 4DEVS INSPIRED: GERADOR DE PESSOAS & EMPRESAS GRID */
.person-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.person-field-card {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 42px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 68px;
}

.person-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-field-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.person-field-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.person-field-copy:hover {
  color: var(--accent-cyan);
}

/* CARTÃO DE CRÉDITO VISUAL CARD */
.credit-card-preview {
  width: 100%;
  max-width: 440px;
  height: 250px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  margin: 20px auto;
  position: relative;
  color: #fff;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-chip {
  width: 45px;
  height: 34px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 6px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
}

.card-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-number-display {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.card-meta-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PLACA DE VEÍCULO */
.license-plate-preview {
  width: 260px;
  border-radius: 8px;
  border: 4px solid #000;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  margin: 20px auto;
  overflow: hidden;
  text-align: center;
}

.license-plate-header {
  background: #003399;
  color: #fff;
  padding: 3px 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.license-plate-body {
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* SENHAS & MEDIDOR DE FORÇA */
.strength-meter-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: 8px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

/* CONTADOR DE TEXTO / LOREM */
.text-stats-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.text-stat-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.text-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.text-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* QR Code Preview Box */
.qrcode-canvas-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

#qrcode-canvas {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* REGEX TESTER HIGHLIGHT */
.regex-match {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
  border-bottom: 2px solid var(--accent-primary);
}

.regex-highlight-box {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 120px;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
}

/* HTTP STATUS GRID */
.http-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.http-status-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.http-status-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.http-status-card .tool-card-badge {
  white-space: normal;
  text-align: right;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: break-word;
}

.http-code-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
}

.http-code-num.c2xx { color: var(--accent-emerald); }
.http-code-num.c3xx { color: var(--accent-cyan); }
.http-code-num.c4xx { color: var(--accent-amber); }
.http-code-num.c5xx { color: var(--accent-rose); }

/* SUBNET CALC TABLE */
.subnet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 14px;
}

.subnet-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.subnet-table td {
  padding: 10px 14px;
}

.subnet-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

.subnet-table td:last-child {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* MARKDOWN PREVIEW */
.markdown-preview-container {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 250px;
  overflow-y: auto;
  line-height: 1.7;
}

.markdown-preview-container h1,
.markdown-preview-container h2,
.markdown-preview-container h3,
.markdown-preview-container h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

.markdown-preview-container h1 { font-size: 1.6rem; }
.markdown-preview-container h2 { font-size: 1.35rem; }
.markdown-preview-container h3 { font-size: 1.15rem; }

.markdown-preview-container p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.markdown-preview-container .md-code-block {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  margin: 16px 0;
}

.markdown-preview-container .md-inline-code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: #f43f5e;
}

.markdown-preview-container .md-quote {
  border-left: 4px solid var(--accent-primary);
  padding-left: 14px;
  margin: 14px 0;
  color: var(--text-muted);
  font-style: italic;
}

.markdown-preview-container .md-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.markdown-preview-container .md-table {
  width: 100%;
  border-collapse: collapse;
}

.markdown-preview-container .md-table td,
.markdown-preview-container .md-table th {
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  text-align: left;
}

.markdown-preview-container .md-task-item {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

/* CSS GENERATOR PREVIEW STYLES */
.shadow-preview-box {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.shadow-target-element {
  width: 140px;
  height: 140px;
  background: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.88rem;
  transition: box-shadow 0.15s ease;
}

.glass-preview-bg {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.glass-target-element {
  width: 80%;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* CLT VS PJ METRICS */
.clt-pj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.clt-column, .pj-column {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clt-column {
  border-top: 4px solid var(--accent-cyan);
}

.pj-column {
  border-top: 4px solid var(--accent-emerald);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
  gap: 12px;
}

.metric-row > span:first-child {
  color: var(--text-secondary);
  word-break: normal;
  overflow-wrap: break-word;
}

.metric-row > span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.metric-row.total-row {
  border-top: 1px solid var(--border-subtle);
  border-bottom: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 10px;
}

.verdict-banner {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CRON EXECUTIONS LIST */
.cron-runs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.cron-run-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-cyan);
}

/* ======================================================== */
/* SEÇÃO DE FERRAMENTAS RECENTES (LOCALSTORAGE)             */
/* ======================================================== */
.recent-tools-section {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.recent-tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.recent-tools-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: -0.01em;
}

.recent-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.recent-clear-btn:hover {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.1);
}

.recent-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.recent-tool-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.recent-tool-chip:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.recent-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.recent-chip-icon svg {
  width: 18px;
  height: 18px;
}

.recent-chip-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-grow: 1;
}

.recent-chip-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-chip-category {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.recent-chip-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.recent-tool-chip:hover .recent-chip-arrow {
  color: var(--accent-cyan);
  transform: translateX(3px);
}


