/* ==========================================================================
   SYNTHESYS INFORMATICA - STRUMENTI & UTILITY B2B (2026)
   Interactive Tools, Calculators & Business Utilities
   ========================================================================== */

/* --- Page Hero & Tool Navigation Tabs --- */
.tools-hero {
  background: linear-gradient(135deg, #0B132B 0%, #172554 50%, #1E3A8A 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.tools-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 90, 36, 0.25) 0%, rgba(242, 90, 36, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.tools-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 1.25rem;
}

.tools-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.tools-hero h1 span {
  background: linear-gradient(135deg, #FF8C5A 0%, #F25A24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tools-hero p {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Tool Nav Pills */
.tools-nav-wrapper {
  position: sticky;
  top: 74px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
}

.tools-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}

.tools-tabs-nav::-webkit-scrollbar {
  display: none;
}

.tool-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--color-slate-100);
  color: var(--color-slate-700);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tool-tab-btn i {
  font-size: 0.95rem;
}

.tool-tab-btn .badge-pill {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.tool-tab-btn:hover {
  background: #E2E8F0;
  color: var(--color-slate-900);
}

.tool-tab-btn.active {
  background: var(--color-slate-900);
  color: #FFFFFF;
  border-color: var(--color-slate-900);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.tool-tab-btn.active .badge-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.tool-tab-btn[data-target="etichette"].active {
  background: linear-gradient(135deg, #F25A24, #C23E0E);
  border-color: #F25A24;
}

.tool-tab-btn[data-target="calcolatore-imballi"].active {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border-color: #2563EB;
}

.tool-tab-btn[data-target="fisco-sdi"].active {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: #059669;
}

.tool-tab-btn[data-target="configuratore"].active {
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  border-color: #7C3AED;
}

/* Tool Sections Container */
.tool-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-slate-200);
  display: block;
  scroll-margin-top: 140px;
}

.tool-section:nth-child(even) {
  background-color: #F8FAFC;
}

.tool-header-block {
  margin-bottom: 2.5rem;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.tool-tag.orange {
  background: rgba(242, 90, 36, 0.1);
  color: #F25A24;
}

.tool-tag.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.tool-tag.green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.tool-tag.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}

.tool-header-block h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.tool-header-block p {
  font-size: 1.05rem;
  color: var(--color-slate-600);
  max-width: 800px;
}

/* Layout 2-colonne per Form & Preview */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.tool-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  position: relative;
}

.tool-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-slate-200);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.tool-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Form Styling within Tools */
.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-slate-800);
  background-color: #FFFFFF;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 575px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Preset Chips */
.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.chip-btn {
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover, .chip-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   TOOL 1: ETICHETTA PALLET GS1-128 / SSCC
   ========================================================================== */
.pallet-label-preview-wrapper {
  background: #475569;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pallet-label-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  border: 2px solid #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
  color: #000000;
  padding: 0;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Zone 1: Testata Dati in chiaro */
.label-zone-1 {
  border-bottom: 2px solid #000000;
  padding: 0.85rem;
}

.label-company-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.label-prod-title {
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.label-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 0.8rem;
  gap: 0.3rem 0.8rem;
  border-top: 1px solid #000000;
  padding-top: 0.4rem;
}

.label-meta-item strong {
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Zone 2: Interpretation AI text */
.label-zone-2 {
  border-bottom: 2px solid #000000;
  padding: 0.75rem;
  background: #FAFAFA;
}

.ai-item {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.4;
  word-break: break-all;
}

.ai-item span.ai-tag {
  color: #475569;
  font-weight: 800;
}

/* Zone 3: Barcodes */
.label-zone-3 {
  padding: 1rem 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.barcode-render-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.barcode-svg-container {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

.barcode-svg-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.barcode-caption {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 0.25rem;
}

/* Label Toolbar */
.label-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  margin-top: 1.25rem;
  gap: 0.75rem;
}

.btn-label-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.btn-label-action:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

.btn-label-action.primary {
  background: var(--color-primary-gradient);
  color: #FFFFFF;
  border: none;
}

.btn-label-action.primary:hover {
  box-shadow: 0 4px 15px rgba(242, 90, 36, 0.4);
}

/* ==========================================================================
   TOOL 2: CALCOLATORE RISPARMIO IMBALLI (CPR / IFCO / EPAL)
   ========================================================================== */
.calc-range-wrapper {
  margin-bottom: 1.5rem;
}

.calc-range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.calc-range-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-slate-800);
}

.calc-range-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #2563EB;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  border: 2px solid #FFFFFF;
  transition: transform 0.1s ease;
}

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

/* Circuit Selector Radio-cards */
.circuit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

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

.circuit-option {
  border: 1px solid var(--color-slate-200);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.circuit-option:hover {
  border-color: #2563EB;
  background: #EFF6FF;
}

.circuit-option.active {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 0 0 2px #2563EB;
}

.circuit-option .circuit-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-slate-900);
  display: block;
}

.circuit-option .circuit-cost {
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

/* Results Display for Calculator */
.calc-results-card {
  background: linear-gradient(145deg, #0B132B 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.25);
}

.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 575px) {
  .calc-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.kpi-label {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.1;
}

.kpi-value.loss {
  color: #F87171;
}

.kpi-value.savings {
  color: #34D399;
}

.kpi-sub {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.25rem;
}

/* Grand Highlight Saving Box */
.grand-saving-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.3) 100%);
  border: 1px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.grand-saving-box::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.grand-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #A7F3D0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grand-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #34D399;
  line-height: 1.1;
  margin: 0.3rem 0;
}

.grand-roi {
  font-size: 0.85rem;
  color: #E2E8F0;
}

/* Comparison Bar Chart */
.chart-container {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.chart-bar-group {
  margin-bottom: 0.85rem;
}

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-bottom: 0.35rem;
}

.chart-bar-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar-fill.red {
  background: linear-gradient(90deg, #EF4444, #DC2626);
}

.chart-bar-fill.green {
  background: linear-gradient(90deg, #10B981, #059669);
}

/* ==========================================================================
   TOOL 3: UTILITY FISCALE B2B (VALIDATORE & QR SDI)
   ========================================================================== */
.fiscal-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--color-slate-200);
  margin-bottom: 1.5rem;
}

.fiscal-tab-btn {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.fiscal-tab-btn:hover {
  color: var(--color-slate-900);
}

.fiscal-tab-btn.active {
  color: #059669;
  border-bottom-color: #059669;
}

.fiscal-tab-pane {
  display: none;
}

.fiscal-tab-pane.active {
  display: block;
}

/* Validation Result Card */
.validation-result-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.validation-result-box.valid {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.validation-result-box.invalid {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.val-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.val-details {
  font-size: 0.85rem;
  line-height: 1.5;
}

.val-details ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

/* QR Code SDI Card Preview */
.sdi-card-preview {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.sdi-card-header {
  border-bottom: 2px solid #059669;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.sdi-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-slate-900);
}

.sdi-card-header span {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
}

.qr-canvas-box {
  display: inline-flex;
  padding: 0.75rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.qr-canvas-box canvas {
  display: block;
  max-width: 200px;
  max-height: 200px;
}

.sdi-data-list {
  text-align: left;
  font-size: 0.85rem;
  background: #F8FAFC;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  margin-bottom: 1.25rem;
}

.sdi-data-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  border-bottom: 1px dashed #E2E8F0;
  padding-bottom: 0.35rem;
}

.sdi-data-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.sdi-data-label {
  color: var(--color-slate-500);
  font-weight: 500;
}

.sdi-data-val {
  font-weight: 700;
  color: var(--color-slate-800);
  font-family: 'Courier New', Courier, monospace;
}

/* ==========================================================================
   TOOL 4: CONFIGURATORE SOLUZIONE ERP (WIZARD)
   ========================================================================== */
.wizard-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.wizard-steps-header {
  background: var(--color-slate-900);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow-x: auto;
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.wizard-step-node.active, .wizard-step-node.completed {
  opacity: 1;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid transparent;
}

.wizard-step-node.active .step-number {
  background: #7C3AED;
  border-color: #FFFFFF;
}

.wizard-step-node.completed .step-number {
  background: #10B981;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-info-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.step-info-sub {
  font-size: 0.7rem;
  color: #94A3B8;
}

.wizard-body {
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .wizard-body {
    padding: 1.5rem;
  }
}

.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Sector Cards in Step 1 */
.sector-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sector-card {
  border: 2px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.sector-card:hover {
  border-color: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(124, 58, 237, 0.15);
}

.sector-card.selected {
  border-color: #7C3AED;
  background: #F5F3FF;
  box-shadow: 0 0 0 2px #7C3AED;
}

.sector-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.sector-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-slate-900);
}

.sector-card p {
  font-size: 0.8rem;
  color: var(--color-slate-500);
  line-height: 1.4;
}

/* Modules Checklist in Step 3 */
.modules-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.module-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.module-checkbox-card:hover {
  border-color: #7C3AED;
  background: #FAF5FF;
}

.module-checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7C3AED;
  margin-top: 3px;
  cursor: pointer;
}

.module-text-wrap strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-slate-800);
  margin-bottom: 0.2rem;
}

.module-text-wrap span {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  line-height: 1.3;
}

/* Wizard Summary in Step 4 */
.spec-summary-card {
  background: linear-gradient(145deg, #0B132B 0%, #172554 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.spec-badge-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid #7C3AED;
  color: #DDD6FE;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.spec-headline {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.spec-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Wizard Navigation Footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-slate-200);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.btn-wizard {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-wizard.prev {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
}

.btn-wizard.prev:hover {
  background: var(--color-slate-200);
}

.btn-wizard.next {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-wizard.next:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}

/* Hub Cards Grid for strumenti.html */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.hub-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
}

.hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.hub-card.orange::before { background: linear-gradient(90deg, #FF6B35, #F25A24); }
.hub-card.blue::before { background: linear-gradient(90deg, #3B82F6, #1D4ED8); }
.hub-card.green::before { background: linear-gradient(90deg, #10B981, #059669); }
.hub-card.purple::before { background: linear-gradient(90deg, #8B5CF6, #6D28D9); }

.hub-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.hub-card.orange .hub-card-icon { background: rgba(242, 90, 36, 0.1); color: #F25A24; }
.hub-card.blue .hub-card-icon { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.hub-card.green .hub-card-icon { background: rgba(16, 185, 129, 0.1); color: #059669; }
.hub-card.purple .hub-card-icon { background: rgba(139, 92, 246, 0.1); color: #7C3AED; }

.hub-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.hub-card p {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.hub-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.85rem;
  color: var(--color-slate-700);
  border-top: 1px solid var(--color-slate-100);
  padding-top: 1rem;
}

.hub-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.hub-card-features li i {
  font-size: 0.8rem;
}

.hub-card .btn-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.hub-card.orange .btn-tool { background: var(--color-primary-gradient); color: #FFF; }
.hub-card.blue .btn-tool { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #FFF; }
.hub-card.green .btn-tool { background: linear-gradient(135deg, #059669, #047857); color: #FFF; }
.hub-card.purple .btn-tool { background: linear-gradient(135deg, #7C3AED, #6D28D9); color: #FFF; }

.hub-card .btn-tool:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Other Tools Quick Navigation Bar */
.cross-tools-bar {
  background: #F8FAFC;
  border-top: 1px solid var(--color-slate-200);
  padding: 3.5rem 0;
}

.cross-tools-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Cross Tools Grid */
.cross-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .cross-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS ENHANCEMENTS (< 768px & < 575px)
   ========================================================================== */
@media (max-width: 768px) {
  .tools-hero {
    padding: 3.5rem 0 2.5rem;
  }
  .tools-hero h1 {
    font-size: 2.2rem;
  }
  .tool-header-block h2 {
    font-size: 1.85rem;
  }
  .tool-section {
    padding: 3rem 0;
  }
  .wizard-body {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 575px) {
  .tools-hero {
    padding: 3rem 0 2rem;
  }
  .tools-hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .tools-hero p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .tools-hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
  .tool-header-block {
    margin-bottom: 1.5rem;
  }
  .tool-header-block h2 {
    font-size: 1.6rem;
  }
  .tool-header-block p {
    font-size: 0.9rem;
  }
  .tool-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
  .tool-card-header {
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
  }
  .tool-card-header h3 {
    font-size: 1.15rem;
  }

  /* Etichette GS1-128 Mobile */
  .pallet-label-preview-wrapper {
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-md);
  }
  .pallet-label-box {
    max-width: 100%;
  }
  .label-company-name {
    font-size: 0.75rem;
  }
  .label-prod-title {
    font-size: 1.2rem;
  }
  .label-meta-grid {
    font-size: 0.72rem;
    gap: 0.25rem 0.5rem;
  }
  .ai-item {
    font-size: 0.82rem;
  }
  .barcode-caption {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  .label-toolbar {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .btn-label-action {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
  }

  /* Calcolatore Imballi Mobile */
  .calc-results-card {
    padding: 1.25rem 1rem;
  }
  .grand-saving-box {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
  }
  .grand-label {
    font-size: 0.8rem;
  }
  .grand-amount {
    font-size: 2.1rem;
  }
  .kpi-box {
    padding: 1rem;
  }
  .kpi-value {
    font-size: 1.35rem;
  }
  .chart-container {
    padding: 1rem 0.75rem;
  }
  .chart-bar-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    font-size: 0.78rem;
  }

  /* Fisco SDI Mobile */
  .fiscal-tabs-nav {
    display: flex;
    width: 100%;
  }
  .fiscal-tab-btn {
    flex: 1;
    padding: 0.75rem 0.35rem;
    font-size: 0.82rem;
    text-align: center;
    justify-content: center;
  }
  .fiscal-input-group {
    flex-direction: column !important;
  }
  .fiscal-input-group .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .sdi-card-actions {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .sdi-card-actions .btn-label-action {
    width: 100%;
  }
  .qr-canvas-box canvas {
    max-width: 180px;
    max-height: 180px;
  }
  .sdi-data-list {
    font-size: 0.8rem;
    padding: 0.75rem;
  }
  .sdi-data-val {
    word-break: break-all;
  }

  /* Configuratore ERP Mobile */
  .wizard-steps-header {
    padding: 0.85rem;
    gap: 0.5rem;
    overflow-x: auto;
  }
  .wizard-step-node {
    gap: 0.4rem;
  }
  .step-number {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .step-info-title {
    font-size: 0.75rem;
  }
  .step-info-sub {
    display: none;
  }
  .wizard-body {
    padding: 1.25rem 0.75rem;
  }
  .sector-card {
    padding: 1rem 0.85rem;
  }
  .sector-card h4 {
    font-size: 0.95rem;
  }
  .spec-summary-card {
    padding: 1.25rem 1rem;
  }
  .spec-headline {
    font-size: 1.35rem;
  }
  .wizard-footer {
    padding-top: 1rem;
    margin-top: 1.25rem;
  }
  .btn-wizard {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }

  /* Hub Cards */
  .hub-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hub-card {
    padding: 1.5rem 1.25rem;
  }
  .cross-tools-bar {
    padding: 2.5rem 0;
  }
}

/* ==========================================================================
   TOOL ACTION BUTTONS & SHARING POPOVER (PUNTO 5)
   ========================================================================== */
.calc-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.btn-action-outline {
  flex: 1;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-action-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-action-outline.purple {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.4);
  color: #F3E8FF;
}

.btn-action-outline.purple:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: #C084FC;
  color: #FFFFFF;
}

.share-dropdown-wrapper {
  position: relative;
  flex: 1;
  min-width: 170px;
}

.share-dropdown-wrapper .btn-action-outline {
  width: 100%;
}

.share-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 230px;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.share-popover.show {
  display: flex;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.share-popover-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #F1F5F9;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.share-popover-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Tool Toast Notification */
.tool-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Legal Disclaimer Box on Web Pages */
.calc-disclaimer-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3px solid #D97706;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #64748B;
}

.calc-disclaimer-box.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #F59E0B;
  color: #CBD5E1;
}

.calc-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D97706;
  margin-bottom: 0.4rem;
}

.calc-disclaimer-box.dark-card .calc-disclaimer-header {
  color: #FBBF24;
}

.calc-disclaimer-box p {
  margin-bottom: 0;
}

.calc-disclaimer-box strong {
  color: #1E293B;
}

.calc-disclaimer-box.dark-card strong {
  color: #F8FAFC;
}

[data-theme="dark"] .calc-disclaimer-box:not(.dark-card) {
  background: #0E172F;
  border-color: #253354;
  border-left-color: #F59E0B;
  color: #94A3B8;
}

[data-theme="dark"] .calc-disclaimer-box:not(.dark-card) strong {
  color: #F8FAFC;
}

/* ==========================================================================
   DARK MODE ADJUSTMENTS FOR B2B TOOLS (PUNTO 6)
   ========================================================================== */
[data-theme="dark"] .tools-nav-wrapper {
  background: rgba(11, 18, 38, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tool-tab-btn {
  color: #CBD5E1;
}

[data-theme="dark"] .tool-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .tool-tab-btn.active {
  background: #1E293B;
  color: var(--color-primary);
  border-color: rgba(242, 90, 36, 0.4);
}

[data-theme="dark"] .tool-card {
  background: #131E3D;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .tool-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tool-card-title {
  color: #F8FAFC;
}

[data-theme="dark"] .form-label {
  color: #CBD5E1;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select {
  background-color: #0E172F;
  border-color: #253354;
  color: #F8FAFC;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus {
  border-color: #3B82F6;
  background-color: #111C38;
}

[data-theme="dark"] .calc-range-title {
  color: #CBD5E1;
}

[data-theme="dark"] .calc-range-val {
  color: #60A5FA;
}

[data-theme="dark"] .circuit-option {
  background: #0E172F;
  border-color: #253354;
}

[data-theme="dark"] .circuit-option .circuit-name {
  color: #F8FAFC;
}

[data-theme="dark"] .circuit-option .circuit-cost {
  color: #94A3B8;
}

[data-theme="dark"] .circuit-option:hover {
  background: #172554;
  border-color: #3B82F6;
}

[data-theme="dark"] .circuit-option.active {
  background: #172554;
  border-color: #3B82F6;
  box-shadow: 0 0 0 2px #3B82F6;
}

[data-theme="dark"] .sector-card {
  background: #0E172F;
  border-color: #253354;
}

[data-theme="dark"] .sector-card h4 {
  color: #F8FAFC;
}

[data-theme="dark"] .sector-card p {
  color: #94A3B8;
}

[data-theme="dark"] .sector-card:hover {
  border-color: #7C3AED;
  background: #1A1636;
}

[data-theme="dark"] .sector-card.selected {
  border-color: #7C3AED;
  background: #1A1636;
  box-shadow: 0 0 0 2px #7C3AED;
}

[data-theme="dark"] .module-checkbox-card {
  background: #0E172F;
  border-color: #253354;
}

[data-theme="dark"] .module-checkbox-card strong {
  color: #F8FAFC;
}

[data-theme="dark"] .module-checkbox-card span {
  color: #94A3B8;
}

[data-theme="dark"] .module-checkbox-card:hover {
  border-color: #7C3AED;
  background: #1A1636;
}

[data-theme="dark"] .counter-stepper-btn {
  background: #192442;
  border-color: #253354;
  color: #F8FAFC;
}

[data-theme="dark"] .wizard-step-node {
  color: #94A3B8;
}

[data-theme="dark"] .wizard-step-node .step-info-title {
  color: #CBD5E1;
}

[data-theme="dark"] .wizard-step-node.active .step-info-title {
  color: #A78BFA;
}

[data-theme="dark"] .wizard-step-node .step-info-sub {
  color: #64748B;
}

[data-theme="dark"] .spec-summary-card {
  background: linear-gradient(145deg, #0B112C 0%, #1D153B 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hub-card {
  background: #131E3D;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hub-card h3 {
  color: #F8FAFC;
}

[data-theme="dark"] .hub-card p {
  color: #94A3B8;
}

[data-theme="dark"] .hub-card-features li {
  color: #CBD5E1;
}

[data-theme="dark"] .cross-tools-bar {
  background: #070B18;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cross-tools-title {
  color: #F8FAFC;
}

/* ==========================================================================
   PRINT MEDIA QUERY FOR LABELS, SDI & EXECUTIVE REPORTS (PUNTO 5)
   ========================================================================== */
.print-report {
  display: none;
}

@media print {
  body * {
    visibility: hidden;
  }
  .print-area, .print-area * {
    visibility: visible;
  }
  .print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    border: none !important;
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .tools-hero, .tools-nav-wrapper, .site-header, .site-topbar, .site-footer, 
  .label-toolbar, .back-to-top, .cross-tools-bar, .calc-actions-row, .wizard-footer {
    display: none !important;
  }

  /* Printable Executive Report Template */
  .print-report {
    display: block !important;
    padding: 12mm 15mm !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    color: #0F172A !important;
    background: #FFFFFF !important;
  }
  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #F25A24;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }
  .print-brand .print-logo {
    font-family: 'Times New Roman', serif;
    font-size: 2.1rem;
    font-weight: bold;
    color: #000000;
    display: block;
    line-height: 1;
  }
  .print-brand .print-sub {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    letter-spacing: 3.5px;
    color: #475569;
    display: block;
    margin-top: 2px;
  }
  .print-brand .print-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #F25A24;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
  }
  .print-meta {
    text-align: right;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
  }
  .print-meta strong {
    display: block;
    color: #0F172A;
    font-size: 1rem;
  }
  .print-title-block {
    margin-bottom: 20px;
  }
  .print-title-block h2 {
    font-size: 1.45rem;
    color: #0F172A;
    margin-bottom: 6px;
    font-weight: 800;
  }
  .print-title-block p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0;
  }
  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
  }
  .print-table th {
    background: #F1F5F9;
    color: #0F172A;
    font-weight: 700;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #CBD5E1;
  }
  .print-table td {
    padding: 8px 12px;
    border: 1px solid #CBD5E1;
    color: #1E293B;
  }
  .print-table tr.print-total-row td {
    background: #F8FAFC;
    font-weight: 700;
  }
  .print-highlight-box {
    background: #EFF6FF;
    border: 2px solid #2563EB;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  .print-hl-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E3A8A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .print-hl-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #2563EB;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .print-hl-sub {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 700;
  }
  .print-modules-box {
    margin-bottom: 24px;
  }
  .print-modules-box h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #0F172A;
  }
  .print-modules-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    font-size: 0.85rem;
    padding-left: 0;
    list-style: none;
  }
  .print-modules-list li {
    padding: 4px 0;
    border-bottom: 1px dotted #E2E8F0;
  }

  /* Printable Legal Disclaimer Card */
  .print-disclaimer-card {
    background: #FFFBEB !important;
    border: 1.5px solid #F59E0B !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
    color: #451A03 !important;
  }
  .print-disclaimer-title {
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #B45309 !important;
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .print-disclaimer-card p {
    margin-bottom: 4px !important;
    font-size: 0.7rem !important;
    color: #78350F !important;
  }
  .print-disclaimer-card p:last-child {
    margin-bottom: 0 !important;
  }
  .print-disclaimer-card strong {
    color: #451A03 !important;
  }

  .print-footer {
    border-top: 1px solid #CBD5E1;
    padding-top: 14px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.75rem;
    color: #64748B;
  }
  .print-footer-info {
    line-height: 1.5;
  }
  .print-footer-note {
    text-align: right;
    max-width: 300px;
    font-style: italic;
  }
}
