  .label-preview {
    width: 100%;
    max-width: 500px;
    border: 2px solid black;
    padding: 1rem;
    background: white;
    color: black;
    font-family: Arial, sans-serif;
  }

  .label-header {
    font-size: 36px;
    font-weight: bold;
  }

  .label-subheader, .label-amounts {
    font-size: 16px;
    margin: 0.5rem 0;
  }

  .label-table {
    width: 100%;
    border-bottom: 10px solid black;
    margin-top: 1rem;
    border-collapse: collapse;
  }

  .label-table th, .label-table td {
    padding: 0.5rem;
    border-top: 2px solid black;
    vertical-align: top;
    white-space: nowrap;
  }

  .label-table th {
    text-align: left;
  }

  .label-table .name-cell {
    width: 25%;
  }

  .label-table .amount-cell {
    width: 18%;
    text-align: right;
  }

  .label-table .dri-cell {
    width: 12%;
    text-align: right;
  }

  .label-table thead {
    border-top: 10px solid black;
  }

  .label-footer {
    font-size: 14px;
    text-align: left;
    margin-top: 1rem;
  }

  .ingredients-section {
    font-size: 14px;
    margin-top: 1rem;
    color: black;
  }

  .contact-barcode-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  .contact-section {
    width: 48%;
    font-size: 14px;
    color: black;
  }

  .barcode-container {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .barcode {
    width: 100%;
    height: auto;
  }

  .collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .collapsible-content.open {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
  }

  .progress-step {
    @apply flex items-center justify-center w-8 h-8 rounded-full border-2 font-semibold text-sm;
  }

  .progress-step.active {
    @apply bg-teal-600 text-white border-teal-600;
  }

  .progress-step.completed {
    @apply bg-teal-100 text-teal-600 border-teal-600;
  }

  .progress-step.pending {
    @apply bg-gray-100 text-gray-400 border-gray-300;
  }

  .tooltip {
    @apply relative inline-block;
  }

  .tooltip .tooltiptext {
    @apply invisible absolute z-10 px-3 py-2 text-sm text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .tooltip:hover .tooltiptext {
    @apply visible opacity-100;
  }

  .ingredient-row {
    @apply flex items-center gap-4 p-4 bg-gray-50 rounded-lg border border-gray-200;
  }

  .ingredient-row:hover {
    @apply bg-gray-100 border-gray-300;
  }

  .remove-ingredient {
    @apply p-2 text-red-500 hover:text-red-700 hover:bg-red-50 rounded-full transition-colors;
  }

  .add-ingredient {
    @apply p-2 text-teal-600 hover:text-teal-700 hover:bg-teal-50 rounded-full transition-colors;
  }

  /* New professional styling for labels */
  .professional-label-preview {
    width: 100%;
    max-width: 600px;
    border: 1px solid #d1d5db;
    overflow: hidden;
    border-radius: 8px;
    padding: 10px;
    background: white;
    color: #1f2937;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
  }


  .label-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Header Section */
  .label-header-section {
    text-align: center;
    padding-bottom: 7.5px;
    border-bottom: 3px solid #000;
    margin-bottom: 10px;
  }

  .label-main-title {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 5px;
    color: #000;
    letter-spacing: -0.5px;
  }

  .label-serving-info {
    font-size: 18px;
    line-height: 1.4;
  }

  .serving-size, .servings-per-container {
    margin-bottom: 2.5px;
    font-weight: 500;
  }

  /* Nutrition Table Section */
  .nutrition-table-section {
    margin-bottom: 10px;
  }

  .nutrition-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
  }

  .nutrition-table th {
    background-color: #f9fafb;
    font-weight: 700;
    font-size: 20px;
    padding: 6px 4px;
    text-align: left;
    border-bottom: 2px solid #d1d5db;
    color: #374151;
  }

  .nutrition-table td {
    padding: 5px 4px;
    font-size: 18px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
  }

  .nutrition-table .ingredient-name-header {
    width: 35%;
  }

  .nutrition-table .amount-header,
  .nutrition-table .dri-header {
    width: 16.25%;
    text-align: right;
  }

  .nutrition-table .even-row {
    background-color: #f9fafb;
  }

  .nutrition-table .odd-row {
    background-color: #ffffff;
  }

  .nutrition-table .ingredient-name {
    font-weight: 600;
    color: #1f2937;
  }

  .nutrition-table .amount-value,
  .nutrition-table .dri-value {
    text-align: right;
    font-weight: 500;
  }

  /* Section Styling */
  .ingredients-list-section,
  .warnings-section,
  .best-before-section {
    padding-top: 7.5px;
    border-top: 1px solid #e5e7eb;
  }

  .section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1f2937;
  }

  .ingredients-text,
  .usage-text,
  .warnings-text,
  .best-before-text {
    font-size: 18px;
    line-height: 1.5;
    color: #374151;
  }

  /* Warning text styling */
  .warnings-text {
    color: #dc2626;
    font-weight: 500;
  }

  /* Footer Section */
  .label-footer-section {
    padding-top: 7.5px;
    border-top: 1px solid #e5e7eb;
  }

  .dri-definition, .dri-not-specified-definition {
    font-size: 15px;
    color: #6b7280;
    font-style: italic;
  }

  /* QR Code Section */
  .qr-section {
    padding-top: 7.5px;
    border-top: 1px solid #e5e7eb;
  }

  .qr-container {
    display: flex;
    align-items: center;
    gap: 7.5px;
    background-color: #f9fafb;
    padding: 7.5px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
  }

  .qr-code-placeholder {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .qr-info {
    flex: 1;
  }

  .qr-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2.5px;
    color: #1f2937;
  }

  .qr-description {
    font-size: 18px;
    line-height: 1.4;
    color: #6b7280;
  }

  /* Contact & Barcode Section */
  .contact-barcode-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 7.5px;
    border-top: 1px solid #e5e7eb;
  }

  .contact-barcode-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  .contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .socials-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .socials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .social-link-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    color: #374151;
  }

  .contact-text {
    font-size: 18px;
    line-height: 1.4;
    color: #374151;
  }

  .barcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 55%;
    min-width: 200px;
    padding-right: 15px;
    padding-top: 5px;
  }

  .barcode-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #374151;
    text-align: center;
  }

  .barcode-svg {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    max-width: 100%;
  }
  /* QR Placeholder Styling */
  .qr-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
  }

  .qr-placeholder-icon {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #9ca3af;
  }

  .qr-placeholder-text {
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
    color: #9ca3af;
  }

  .chip { padding: 0.375rem 0.75rem; border-radius: 9999px; border: 1px solid #D1D5DB; color: #374151; font-size: 0.875rem; line-height: 1.25rem; background: #FFFFFF; transition: color .15s ease, border-color .15s ease, background .15s ease; }
  .chip:hover { border-color: #14B8A6; color: #0F766E; }
  .chip.active { background: #0D9488; color: #FFFFFF; border-color: #0D9488; }
  .tool-card { background: #FFFFFF; border-radius: 0.5rem; padding: 1.25rem; border: 1px solid #F3F4F6; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: box-shadow .2s ease; display: block; }
  .tool-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
  .card-badge { display:inline-flex; align-items:center; gap:.25rem; font-size:.75rem; font-weight:600; padding:.25rem .5rem; border-radius:9999px; }
  .badge-new { background:#DCFCE7; color:#166534; }
  .badge-soon { background:#F3F4F6; color:#374151; }
  .badge-locked { background:#F3F4F6; color:#6B7280; }