.invoice-form-section {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.invoice-form-section__header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.invoice-step {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8b46ff;
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(139, 70, 255, 0.22);
}

.invoice-card-soft {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
}

.invoice-item-row + .invoice-item-row {
  margin-top: 0.75rem;
}

.invoice-line-total {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 1rem;
  background: #f8fafc;
  font-weight: 700;
  color: #111827;
}

.invoice-row-remove {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 14px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.invoice-summary-box,
.invoice-totals-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
  padding: 1rem 1.1rem;
}

.invoice-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  color: #475569;
}

.invoice-summary-row--strong {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  border-top: 1px solid #dbe2ea;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
}

.invoice-note {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #f8fafc;
}

.en-table-left th,
.en-table-left td {
  text-align: left;
}

.invoice-storage-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.invoice-storage-table tbody tr:hover {
  background: #f8fafc;
}

.en-badge-muted {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.en-badge-info {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.en-badge-warning {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.invoice-detail-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fbf7ff 55%, #f4f8ff 100%);
}

.invoice-paper-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.invoice-meta-box {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1rem;
  background: #ffffff;
}

.invoice-meta-label {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.invoice-meta-value {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

@media print {
  .no-print,
  aside,
  .en-page-shell > aside,
  .md\:hidden,
  .en-alert,
  .swal2-container {
    display: none !important;
  }

  body.en-body,
  .en-page-main {
    background: #ffffff !important;
    padding: 0 !important;
  }

  .en-panel {
    box-shadow: none !important;
    border-color: #e2e8f0 !important;
  }

  #invoice-print-area {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
