.unico-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  margin: 0;
}

.unico-toggle.is-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.unico-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.unico-toggle-slider {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #bdbdbd;
  transition: background-color 0.2s ease;
}

.unico-toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.unico-toggle-input:checked + .unico-toggle-slider {
  background: #449d44;
}

.unico-toggle-input:checked + .unico-toggle-slider::before {
  transform: translateX(16px);
}

.unico-toggle-label {
  font-size: 12px;
  line-height: 1;
}

.unico-save-bar {
    border-radius: 8px;
    background-color: white;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.unico-save-bar-buttons{
    display: flex;     
    align-items: flex-start;    

    gap: 10px;
}
.unico-lookup-autocomplete{
    position: absolute;
    top: 59px;
    left: 0px;
    z-index: 3;
    padding: none;
    background-color: white;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.unico-lookup-autocomplete ul{
    list-style: none;
    outline: none;
    padding-left: 0px;
    margin-bottom: 0px;
}

.unico-lookup-autocomplete ul li{
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;

    border-top: 1px solid #ccc;
}

.unico-lookup-autocomplete ul li:first-of-type{
    border:none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.unico-lookup-autocomplete ul li:last-of-type{
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.unico-lookup-autocomplete ul li:hover, .unico-lookup-autocomplete .selected{
    background-color: #3d8ab8;
    color:white;
    cursor: pointer;
}
.unico-lookup-selected{
    padding: 6px 12px;
    border: 1px solid #ccc;
    height: 34px;
}
.unico-lookup-search-div{
    width: 100%;
}
.product-detail-header-container{
    display: flex;    
    justify-content: space-between;

    height: 100%;
    padding: 15px;
    gap: 5px;
}

.product-detail-header-container > div{
    padding: 8px;
}

.product-detail-header-info{
    max-width: 500px;
}
.lookup-wrapper{
    position:relative;
    margin-bottom: 10px;
}
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.action-button{
    padding-top: 22px;
}

.separator{
    border-left: 1px solid #eee;
}

.alert-margin-top{
    margin-top: 8px;
}
.data-table-wrapper {
    position: relative;
}

.data-table-scroll {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.data-table thead th {
    background-color: #f5f5f5;
    border-bottom: 1px solid #dddddd;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody td {
    border-bottom: 1px solid #eeeeee;
    color: #333333;
    padding: 10px 12px;
    vertical-align: middle;
}

.data-table tbody tr.is-selected {
    background-color: #eef6ff;
}

.data-table tbody tr:hover {
    background-color: #fafafa;
}

.data-table__selection-cell {
    text-align: center;
    width: 44px;
}

.data-table__empty {
    color: #777777;
    padding: 24px 12px;
    text-align: center;
}

.data-table__error {
    background-color: #fff2f2;
    border: 1px solid #f0caca;
    color: #a94442;
    margin-bottom: 12px;
    padding: 10px 12px;
}

.data-table__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding-top: 12px;
}

.data-table__summary {
    color: #555555;
    font-size: 13px;
}

.data-table__pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.data-table__pagination button {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333333;
    cursor: pointer;
    min-width: 36px;
    padding: 6px 10px;
}

.data-table__pagination button:hover:not(:disabled) {
    background-color: #f5f5f5;
}

.data-table__pagination button:disabled {
    color: #999999;
    cursor: not-allowed;
    opacity: 0.7;
}

.data-table__pagination button.is-active {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #ffffff;
}

.data-table__checkbox {
    cursor: pointer;
}

.print-billing-modal-backdrop {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1050;
}

.print-billing-modal {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    width: 100%;
}

.print-billing-modal__header,
.print-billing-modal__footer {
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 20px;
}

.print-billing-modal__footer {
    border-bottom: 0;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.print-billing-modal__body {
    padding: 20px;
}

.print-billing-modal__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.print-billing-modal__text {
    color: #555555;
    margin-bottom: 16px;
}

.print-billing-process-status {
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #555555;
    margin-top: 12px;
    padding: 10px 12px;
}

.print-billing-hidden-iframe {
    border: 0;
    display: block;
    height: 0 !important;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: -9999px;
    top: -9999px;
    width: 0 !important;
}

