/* ════════ QR CODE GENERATOR & DESIGNER STYLES ════════ */

:root {
  --tool-purple: #f41212;
  --tool-purple-hover: #dc2626;
  --tool-purple-soft: rgba(244, 18, 18, 0.08);
  --tool-purple-glow: rgba(244, 18, 18, 0.2);
}

body.light {
  --tool-purple: #f41212;
  --tool-purple-hover: #dc2626;
  --tool-purple-soft: rgba(244, 18, 18, 0.08);
  --tool-purple-glow: rgba(244, 18, 18, 0.2);
}

/* ─── HERO GRADIENT SPAN OVERRIDE ─── */
.tool-header h1 span {
  background: linear-gradient(135deg, #f41212 0%, #ff4d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light .tool-header h1 span {
  background: linear-gradient(135deg, #f41212 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── CONTAINER UI STANDARD WIDTH ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ─── LAYOUT GRID RATIO ─── */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

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

/* ─── PANEL CARD WRAPPER & TITLES ─── */
.panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
}

body.light .panel {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.panel-title, .customization-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--text-2) !important;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.light .panel-title, body.light .customization-title {
  color: #334155 !important;
}

/* ─── PRIVACY BANNER ─── */
.privacy-disclaimer-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--tool-purple-soft);
  border: 1px solid var(--tool-purple-glow);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

body.light .privacy-disclaimer-banner {
  background: rgba(244, 18, 18, 0.06) !important;
  border-color: rgba(244, 18, 18, 0.2) !important;
}

.privacy-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.privacy-text {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

body.light .privacy-text {
  color: #334155;
}

.privacy-text strong {
  color: var(--tool-purple);
  font-weight: 700;
}

body.light .privacy-text strong {
  color: #f41212;
}

/* ─── MAIN MODE TABS (GENERATE VS READ) ─── */
.mode-switch-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}

body.light .mode-switch-tabs {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

.mode-tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

body.light .mode-tab-btn {
  color: #64748b;
}

.mode-tab-btn.active {
  background: var(--tool-purple) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--tool-purple-glow);
}

/* ─── TYPE TABS (MULTI-LINE WRAPPING PILLS) ─── */
.type-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.type-tab-btn {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
}

body.light .type-tab-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.type-tab-btn:hover {
  border-color: var(--tool-purple-glow);
  background: var(--tool-purple-soft);
  color: var(--tool-purple);
}

.type-tab-btn.active {
  background: linear-gradient(135deg, var(--tool-purple) 0%, var(--tool-purple-hover) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px var(--tool-purple-glow) !important;
}

/* ─── INPUT FORM LABELS & FIELDS ─── */
.diff-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

body.light .diff-label {
  color: #64748b;
}

.qr-input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .qr-input-grid {
    grid-template-columns: 1fr;
  }
}

.qr-input-field, select.qr-input-field {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body.light .qr-input-field, body.light select.qr-input-field {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a !important;
}

.qr-input-field:focus {
  border-color: var(--tool-purple);
  box-shadow: 0 0 0 3px var(--tool-purple-soft);
}

.qr-input-field::placeholder {
  font-family: 'Figtree', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

body.light .qr-input-field::placeholder {
  color: #94a3b8 !important;
}

.qr-textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text) !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

body.light .qr-textarea {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a !important;
}

.qr-textarea::placeholder {
  font-family: 'Figtree', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

body.light .qr-textarea::placeholder {
  color: #94a3b8 !important;
}

/* ─── UPI DISCLAIMER BOX ─── */
.upi-disclaimer-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}

body.light .upi-disclaimer-box {
  background: #fffbeb !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #451a03 !important;
}

.upi-disclaimer-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

body.light .upi-disclaimer-title {
  color: #b45309 !important;
}

/* ─── CUSTOMIZATION PANEL & SUB-TABS ─── */
.customization-section {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
}

body.light .customization-section {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.style-subtabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

body.light .style-subtabs {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.style-subtab-btn {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light .style-subtab-btn {
  color: #64748b;
}

.style-subtab-btn.active {
  background: var(--tool-purple-soft);
  border-color: var(--tool-purple-glow);
  color: var(--tool-purple) !important;
}

/* ─── PALETTE GRID & COMPACT SWATCHES ─── */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .palette-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.palette-card-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light .palette-card-compact {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.palette-card-compact:hover {
  border-color: var(--tool-purple);
  color: var(--tool-purple);
}

.palette-card-compact.active {
  border-color: var(--tool-purple) !important;
  background: var(--tool-purple-soft) !important;
  color: var(--tool-purple) !important;
}

.palette-swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ─── COLOR PICKER ROW & CRISP SWATCH OUTLINES ─── */
.color-pickers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .color-pickers-row {
    grid-template-columns: 1fr;
  }
}

.color-input-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-sizing: border-box;
}

body.light .color-input-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

.color-picker-dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: transparent;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

body.light .color-picker-dot {
  border: 1px solid rgba(15, 23, 42, 0.25) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

.color-picker-dot::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-dot::-webkit-color-swatch {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 5px;
}

.color-picker-dot::-moz-color-swatch {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 5px;
}

/* Inline Checkbox Row */
.inline-checkbox-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.inline-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
}

body.light .inline-checkbox-item {
  color: #475569;
}

/* ─── VISUAL SHAPE PREVIEW CARDS (4x4 GRID) ─── */
.visual-shape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .visual-shape-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.visual-shape-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light .visual-shape-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.visual-shape-card:hover {
  border-color: #f41212;
  transform: translateY(-2px);
}

.visual-shape-card.active {
  border-color: #f41212 !important;
  background: rgba(244, 18, 18, 0.05) !important;
  box-shadow: 0 4px 14px rgba(244, 18, 18, 0.12) !important;
}

.shape-preview-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

body.light .shape-preview-icon-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

/* 5-dot cross pattern grid */
.cross-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 2px;
}

.cross-pattern-grid .dot {
  width: 8px;
  height: 8px;
  background: transparent;
}

.cross-pattern-grid .dot.active-dot {
  background: #0f172a;
}

body.light .cross-pattern-grid .dot.active-dot {
  background: #0f172a;
}

/* Custom Shape Variations */
.cross-pattern-grid.dot-square .dot.active-dot { border-radius: 0; }
.cross-pattern-grid.dot-rounded .dot.active-dot { border-radius: 2.5px; }
.cross-pattern-grid.dot-circle .dot.active-dot { border-radius: 50%; }
.cross-pattern-grid.dot-diamond .dot.active-dot { transform: rotate(45deg) scale(0.85); border-radius: 1px; }
.cross-pattern-grid.dot-leaf .dot.active-dot { border-radius: 4px 0px 4px 0px; }
.cross-pattern-grid.dot-star .dot.active-dot { clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%); }
.cross-pattern-grid.dot-hexagon .dot.active-dot { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.cross-pattern-grid.dot-bar-h .dot.active-dot { border-radius: 3px; height: 5px; margin-top: 1.5px; }
.cross-pattern-grid.dot-bar-v .dot.active-dot { border-radius: 3px; width: 5px; margin-left: 1.5px; }
.cross-pattern-grid.dot-heart .dot.active-dot { clip-path: polygon(50% 15%, 65% 0%, 85% 0%, 100% 20%, 100% 45%, 50% 95%, 0% 45%, 0% 20%, 15% 0%, 35% 0%); }
.cross-pattern-grid.dot-cross .dot.active-dot { clip-path: polygon(35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0% 65%, 0% 35%, 35% 35%); }
.cross-pattern-grid.dot-pinwheel .dot.active-dot { transform: rotate(45deg); border-radius: 1px; }

.visual-shape-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

body.light .visual-shape-title {
  color: #0f172a;
}

.visual-shape-card.active .visual-shape-title {
  color: #f41212 !important;
}

.visual-shape-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}

body.light .visual-shape-desc {
  color: #64748b;
}

.visual-shape-card.active .visual-shape-desc {
  color: rgba(244, 18, 18, 0.8) !important;
}

/* ─── PRESET LOGO CHIPS ─── */
.logo-chips-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.logo-chip {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light .logo-chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.logo-chip.active {
  border-color: var(--tool-purple) !important;
  background: var(--tool-purple-soft) !important;
  color: var(--tool-purple) !important;
}

/* ─── RIGHT PREVIEW PANEL ─── */
.qr-preview-card {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.light .qr-preview-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Outer CTA Frame Wrapper */
.qr-cta-frame-wrapper {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.qr-canvas-box {
  width: 240px;
  height: 240px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.qr-canvas-box canvas, .qr-canvas-box svg {
  max-width: 100%;
  max-height: 100%;
}

.qr-cta-badge {
  margin-top: 10px;
  padding: 5px 14px;
  background: var(--tool-purple);
  color: #ffffff;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.scan-confidence-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.confidence-good {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.confidence-warn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* ─── CUSTOM RESOLUTION SLIDER & BADGE ─── */
.res-slider-container {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.res-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.res-value-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #f41212;
  background: rgba(244, 18, 18, 0.08);
  border: 1px solid rgba(244, 18, 18, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
}

body.light .res-value-badge {
  background: rgba(244, 18, 18, 0.08);
  border-color: rgba(244, 18, 18, 0.2);
  color: #f41212;
}

/* Range Input Styling */
.custom-res-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(to right, #f41212 0%, #f41212 43.6%, rgba(255, 255, 255, 0.1) 43.6%, rgba(255, 255, 255, 0.1) 100%);
  outline: none;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

body.light .custom-res-slider {
  background: linear-gradient(to right, #f41212 0%, #f41212 43.6%, #e2e8f0 43.6%, #e2e8f0 100%);
}

/* Webkit Thumb */
.custom-res-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f41212;
  box-shadow: 0 2px 10px rgba(244, 18, 18, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-res-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(244, 18, 18, 0.45);
}

/* Firefox Thumb */
.custom-res-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f41212;
  box-shadow: 0 2px 10px rgba(244, 18, 18, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-res-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(244, 18, 18, 0.45);
}

/* ─── TOOLBOX BUTTONS ─── */
.toolbox-btn {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  height: 42px;
  padding: 0 16px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.toolbox-btn:hover {
  border-color: var(--tool-purple-glow);
  background: var(--tool-purple-soft);
  color: var(--tool-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 18, 18, 0.12);
}

body.light .toolbox-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

body.light .toolbox-btn:hover {
  background: var(--tool-purple-soft);
  border-color: var(--tool-purple);
  color: var(--tool-purple);
  box-shadow: 0 4px 12px rgba(244, 18, 18, 0.1);
}

.btn-primary-purple {
  background: linear-gradient(135deg, var(--tool-purple) 0%, var(--tool-purple-hover) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--tool-purple-glow) !important;
}

/* ─── FILE DROPZONE FOR QR READER ─── */
.file-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}

body.light .file-dropzone {
  border-color: rgba(15, 23, 42, 0.15);
  background: #f8fafc;
}

.file-dropzone:hover {
  border-color: var(--tool-purple);
  background: var(--tool-purple-soft);
}

/* ─── DECODED QR DATA CONTAINER ─── */
.decoded-data-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  word-break: break-all;
  min-height: 50px;
  text-align: left;
  box-sizing: border-box;
}

body.light .decoded-data-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

/* ─── MOBILE RESPONSIVENESS OVERRIDES ─── */
@media (max-width: 768px) {
  .container {
    padding: 0 14px 60px;
  }
}
