/* Style for disabled MAC Address radio button */
.mac-radio-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require application.tailwind
 *= require_tree .
 *= require_self
 */
  ::-webkit-scrollbar {
    width: 5px;
  }
  ::-webkit-scrollbar {
    width: 5px;
  }

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #0d2126;
    border-radius: 2px;
    margin-bottom: 60px;
    box-shadow: inset 0 0 5px #0d2126;
    border-radius: 2px;
    margin-bottom: 60px;
  }
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #0d2126;
    border-radius: 2px;
    margin-bottom: 60px;
    box-shadow: inset 0 0 5px #0d2126;
    border-radius: 2px;
    margin-bottom: 60px;
  }

  ::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 2px;
    margin-bottom: 60px;
    background: white;
    border-radius: 2px;
    margin-bottom: 60px;
  }
  ::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 2px;
    margin-bottom: 60px;
    background: white;
    border-radius: 2px;
    margin-bottom: 60px;
  }

  @-moz-document url-prefix() {
    .scroll-container {
      .scroll-container {
        scrollbar-width: thin;
        scrollbar-color: white #0d2126;
        scrollbar-color: white #0d2126;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
      }
    }
  }
  @-moz-document url-prefix() {
    .scroll-container {
      .scroll-container {
        scrollbar-width: thin;
        scrollbar-color: white #0d2126;
        scrollbar-color: white #0d2126;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
      }
    }
  }

  .hidden {
    display: none !important;
  }

  .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 70px;
    height: 70px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 70px;
    height: 70px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
  }

  /* Safari */
  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  /* Safari */
  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

.rotate-0 {
  transform: rotate(0deg);
}

.w-96 {
  width: 24rem;
}

.w-16 {
  width: 4rem;
}

#drop-zone {
  position: relative;
  cursor: pointer;
}

#drop-zone.dragover {
  background-color: rgba(255, 255, 255, 0.1);
}

#file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Custom scrollbar for WebKit-based browsers */
.custom-scrollbar::-webkit-scrollbar {
  width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Custom scrollbar for Firefox */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.progress-container {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-bar {
  height: 20px;
  background-color: #4caf50;
  width: 0;
  transition: width 0.3s;
}

 .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    vertical-align: middle;
  }
  .switch input { display: none; }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  input:checked + .slider {
    background-color: #2563eb;
  }
  input:checked + .slider:before {
    transform: translateX(26px);
  }

/* Global table palette for data tables only (avoid form/layout tables). */
table.table th,
table.table-wide th,
table.table-full-wide th,
table[class*='-table']:not(.product-typeid-table):not(.vusion-table) th {
  background-color: #F3F5F5 !important;
}

table:is(.table, .table-wide, .table-full-wide, [class*='-table'], [class~='bg-white']):not(.product-typeid-table):not(.vusion-table) > tbody > tr > td {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  background-color: #E2E5E6;
}

table.table td:first-child a[href]:hover,
table.table td:first-child button:hover,
table.table td:first-child input[type='submit']:hover,
table.table td:first-child input[type='button']:hover,
table.table-wide td:first-child a[href]:hover,
table.table-wide td:first-child button:hover,
table.table-wide td:first-child input[type='submit']:hover,
table.table-wide td:first-child input[type='button']:hover,
table.table-full-wide td:first-child a[href]:hover,
table.table-full-wide td:first-child button:hover,
table.table-full-wide td:first-child input[type='submit']:hover,
table.table-full-wide td:first-child input[type='button']:hover,
table[class*='-table']:not(.product-typeid-table):not(.vusion-table) td:first-child a[href]:hover,
table[class*='-table']:not(.product-typeid-table):not(.vusion-table) td:first-child button:hover,
table[class*='-table']:not(.product-typeid-table):not(.vusion-table) td:first-child input[type='submit']:hover,
table[class*='-table']:not(.product-typeid-table):not(.vusion-table) td:first-child input[type='button']:hover,
table tr[class*='hover:bg-vusion-gold10'] td:first-child a[href]:hover,
table tr[class*='hover:bg-vusion-gold10'] td:first-child button:hover,
table tr[class*='hover:bg-vusion-gold10'] td:first-child input[type='submit']:hover,
table tr[class*='hover:bg-vusion-gold10'] td:first-child input[type='button']:hover,
button.products-table-description-link:hover {
  color: #0D2126 !important;
  border-color: #FDCD38 !important;
  background-color: #FEE187 !important;
  font-weight: 700 !important;
}
