body {
    font-family: Arial, sans-serif !important;
    max-width: 800px;
    /* font-family: Verdana, sans-serif; */
    margin: 0px auto;
    font-size: 12px;
    padding: 10px 0px;
    color: #000000;
    font-weight: bold;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
}

.logo {
    width: 55px;
    height: 55px;
    margin-bottom: 0px;
}

.bootmisocial {
    display: flex;
    gap: 5px;
    align-items: center;
}

.serial {
    font-size: 12px;
}

.company-name {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.senses-logo img {
    margin-top: 5px;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 63px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 3px 0;
    margin-bottom: 0px;
}

th,
td {
    border: 1px solid black;
    padding: 4px 6px;
    text-align: center;
    line-height: 1.2;
}

.mrp-note {
    font-size: 9px;
    font-weight: normal;
}

.center-text {
    text-align: center;
    color: #000000;
}

.font-bold {
    font-weight: 600;
    font-size: 11px;
    width: 90px;
    padding: 4px 2px;
    color: #000000;
}

.editable-input {
    width: -webkit-fill-available;
    padding: 1px;
    border: unset;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    /* font-family: Verdana, sans-serif */
    font-family: Arial, sans-serif !important;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin: 10px;
    width: 100%;
}

label,
input {
    width: 100%;
}

.centered {
    text-align: center;
    font-size: 11px;
    margin-top: 2px;
    font-weight: bold;
    justify-content: center;
    display: flex;
}

.scroll::-webkit-scrollbar {
    display: none;
}

/* input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
} */

.centered span {
    width: fit-content;
    border-bottom: 1px solid #000;
    /* padding-top: 0; */
    padding: 0px 20px 5px 20px;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #2d2d2d;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    /* Space between buttons */
    margin: 500px;
}

.print-button,
.clear-button {
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    color: white;
}

.print-button {
    background-color: #4CAF50;
}

.print-button:hover {
    background-color: #45a049;
}

.clear-button {
    background-color: red;
}

.clear-button:hover {
    background-color: #e53935;
}

/* Hide buttons in print mode */

@media print {
    body * {
        visibility: hidden;
    }
    #printableContent, #printableContent * {
        visibility: visible;
    }
    #printableContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: block !important;
    }
    .sticker {
        page-break-after: always;
        margin: 0;
        padding: 10mm;
        height: 100%;
        box-sizing: border-box;
    }
    img {
        max-width: 100%;
        height: auto;
    }
}

.quantity-table {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: #000000;
    justify-content: space-around;
}

.quantity-item {
    width: 100%;
    text-align: center;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    width: 300px;
  }

  .dropdown-button {
    background-color: #f1f1f1;
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .dropdown-item,
.select-all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}

.dropdown-item input,
.select-all input {
  margin-right: 0;
  margin-left: 5px;
  order: 2; /* Put checkbox to the right */
}

.dropdown-item label,
.select-all label {
  order: 1;
}

  .pagination {
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }

  .pagination button {
    padding: 5px 10px;
  }

  table {
    margin-top: 20px;
  }
  /* Barcode styling */
.barcode {
    display: block;
    position: relative;
    top: -2px;
    height: 40px;
    max-width: 100%;  /* Will now match serial number width */
    margin: 0.2px auto 0;
}
tr:last-child td {  /* Targets last row (Purchased by) */
    height: 50px !important;  /* Increased from 40px */
    vertical-align: center;
    padding-top: 8px !important;
}

@media print {
    .barcode {
        height: 50px;
    }
}