@font-face {
    font-family: 'LemonMilk-Light';
    src: url('../fonts/LEMONMILK-Light.ttf');
}
@font-face {
    font-family: 'LemonMilk-Regular';
    src: url('../fonts/LEMONMILK-Regular.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --main-text-color: rgb(51, 51, 51);
}

html { scroll-behavior: smooth }

body {
  background-color: #f6f6f6;
  transition: background 0.4s ease;
}

.container {
    flex: 1;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.alert_banner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    font-family: 'DM Sans', sans-serif; 
    background-color: #b00000;
    text-shadow: #000000 1px 1px 3px;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    z-index: 3;
}

.btn {
  border-radius: 10px;
  font-family: 'SF Pro Text', 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  color: #111;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 2px 8px rgba(0,0,0,0.06);
  appearance: none;
  cursor: pointer;
  outline: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 16px rgba(0,0,0,0.08);
}

.btn:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 6px rgba(0,0,0,0.08);
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,122,255,0.2), inset 0 1px 0 rgba(255,255,255,0.55);
  border-color: rgba(0,122,255,0.7);
}
/* Accents */
.btn-red {
  color: #fff;
  border: 1px solid rgba(232, 0, 0, 0.65);
  background: linear-gradient(180deg, rgba(255, 79, 79, 0.85), rgba(232, 0, 0, 0.9));
  box-shadow: 0 6px 14px rgba(232, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-red:hover {
  background: linear-gradient(180deg, rgba(255, 92, 92, 0.9), rgba(193, 0, 0, 0.95));
  border-color: rgba(193, 0, 0, 0.85);
}

.btn-green {
  color: #fff;
  border: 1px solid rgba(34, 166, 69, 0.65);
  background: linear-gradient(180deg, rgba(96, 220, 115, 0.85), rgba(34, 166, 69, 0.9));
  box-shadow: 0 6px 14px rgba(34, 166, 69, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-green:hover {
  background: linear-gradient(180deg, rgba(112, 232, 130, 0.9), rgba(34, 150, 64, 0.95));
  border-color: rgba(34, 150, 64, 0.85);
}

.btn-yellow {
  color: #111;
  border: 1px solid rgba(210, 180, 0, 0.6);
  background: linear-gradient(180deg, rgba(255, 233, 109, 0.9), rgba(221, 215, 60, 0.95));
  box-shadow: 0 6px 14px rgba(210, 180, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-yellow:hover {
  background: linear-gradient(180deg, rgba(255, 240, 130, 0.95), rgba(198, 193, 48, 0.98));
  border-color: rgba(198, 193, 48, 0.85);
}

/* Active/Selected outline */
.btn-active {
  border-color: rgba(0,122,255,0.9) !important;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.22), inset 0 1px 0 rgba(255,255,255,0.5) !important;
}

/* Utilities */
.btn-right { float: right; }
.btn-small { font-size: 12px; padding: 6px 10px; }
.rounded { border-radius: 10px; }

/* Disabled */
.btn:disabled, 
.btn[disabled] {
  cursor: not-allowed;
  background: rgba(255,255,255,0.12);
  border-color: rgba(0,0,0,0.08);
  color: rgba(17,17,17,0.45);
  box-shadow: none;
  transform: none;
}

.btn:disabled:hover, 
.btn[disabled]:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: none;
  transform: none;
}

.btn-red:disabled,
.btn-red:disabled:hover,
.btn-red[disabled] {
  background: rgba(232,0,0,0.3);
  border-color: rgba(232,0,0,0.25);
  color: rgba(255,255,255,0.7);
}

.space {
    margin-top: 10px;
}

a:link {
    color: var(--main-text-color);
    text-decoration: none;
    font-weight: normal;
}

a:visited {
    color: var(--main-text-color);
}

a:hover {
    color: var(--main-text-color);
    text-decoration: underline;
}

a:active {
    color: var(--main-text-color);
}

a:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}

h1, h2, h3, h4, h5 {
    color: var(--main-text-color);
    font-family: 'DM Sans', sans-serif; 
    font-weight: 600;
}

p {
    color: var(--main-text-color);
    font-family: 'DM Sans', sans-serif;
    font-size: medium;
    font-weight: 400;
}

label {
    color: var(--main-text-color);
    font-family: 'DM Sans', sans-serif;
    font-size: small;
    font-weight: 500;
}

#textSelected, #textSelected_confirm {
    font-family: 'DM Sans', sans-serif; 
    margin-bottom: 5px;
    font-size: small;
}

#loading {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    transition: opacity 0.5s ease;
    opacity: 1;
}
    
#loading img {
    width: 100px;
    height: 100px;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}


.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
  color: red;
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.1))
          drop-shadow(0 0 16px rgba(255, 0, 0, 0.2));
  animation: redGlowPulse 2s ease-in-out infinite;
}

@keyframes redGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.2))
            drop-shadow(0 0 12px rgba(255, 0, 0, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 0, 0, 0.55))
            drop-shadow(0 0 30px rgba(255, 0, 0, 0.35));
  }
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.itemsperpage-container{
    font-family: 'DM Sans', sans-serif; 
    font-size: medium;
    font-weight: 700;
    text-align: center;
}

a{
    text-decoration: none;
}


.container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding: 0 20px;
}

th:visited, a:visited { text-decoration: none; color:rgb(0, 0, 0); }

/* Table Container */
  .table-container td, .table-container th {
  color: var(--main-text-color);
  padding: 6px 12px;
  font-size: 0.775rem;
  box-sizing: border-box;
}

.table-container th {
  color: var(--main-text-color);
  font-weight: 600;
  text-align: center;
  position: relative;
  background: rgba(0,0,0,0.02);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
}

.table-container button, .table-container input[type="text"], .table-container input[type="number"] {
  font-size: 0.813rem;
}

.table-container tr:nth-child(even) {
  background-color: rgba(0,0,0,0.03);
}

.table-container tr:not(:first-child):hover {
  background-color: rgba(0,0,0,0.06);
  transition: background-color .2s ease;
}

.table-container {
  border: 1px solid rgba(0,0,0,0.08);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  width: 100%;
  max-width: 1500px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
  overflow-x: auto;
}

.table-container tr.highlighted-row {
  background-color: rgba(0,122,255,0.12) !important;
}

.table-container tr.highlighted-row-dark {
  background-color: rgb(19, 75, 93) !important;
  color: white;
}
/* Base resizer handle */
.th-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default thin divider (macOS-style translucent) */
.th-resizer::before {
  content: "";
  width: 1px;
  height: 70%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  transition: all 0.2s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Hover effect – a soft highlight and stronger contrast */
th:hover .th-resizer::before {
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  transform: scaleY(1.05);
  opacity: 0.9;
}

/* Active (dragging) state – glowing Apple blue accent */
th.resizing .th-resizer::before {
  background: #0a84ff;
  box-shadow:
    0 0 4px rgba(10, 132, 255, 0.7),
    0 0 10px rgba(10, 132, 255, 0.5);
  transform: scaleY(1.1);
}

.col-resize-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #db02c1;
  pointer-events: none;
  display: none;
  z-index: 3;
}

.table-container.resizing .col-resize-guide {
  display: block;
}

.table-container th:last-child .th-resizer {
  display: none;
}

/* Table Container END */

.pagination {
    font-family: 'DM Sans', sans-serif;
    text-align: right; 
    margin-top: 10px; 
}

.pagination a {
    padding: 5px 5px;
    text-decoration: none;
    color: black;
    transition: transform 0.2s ease; 
}

.pagination a:hover {
    transform: scale(1.2); 
}

.pagination a.current-page {
    border: 1px solid black;
    padding: 0px 5px; 
    border-radius: 4px; 
    font-weight: bold;
    color: black;
    background-color: #f0f0f0; 
}

button,
li,
table,
th,
td {
    color: var(--main-text-color);
    font-family: 'DM Sans', sans-serif;
    font-size: medium;
    font-weight: 400;
}

.passed {
    font-family: 'DM Sans', sans-serif;
    color: green;
    font-weight: bold;
}

.failed {
    font-family: 'DM Sans', sans-serif;
    color: red;
}

.button-container{
  display:flex;
  flex-wrap: wrap; 
  gap: 4px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.button-container a,
.button-container form { margin: 0; }

.button-container button{
  float: none;
  white-space: nowrap;
}

.user-licenses-container{
            font-family: 'DM Sans';
        }

.profile-content {
    margin: 0 auto; 
    max-width: 1200px;
    padding: 20px; 
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.user-profile-container, .user-licenses-container {
    margin-bottom: 20px; 
}

.user-profile-container h3, .user-licenses-container h3 {
    margin-top: 0; 
}

.license-item {
    background-color: #f9f9f9; 
    padding: 10px; 
    border-radius: 5px;
    margin-top: 10px;
    list-style-type: none;
}

.license-info {
    min-width: 800px;
    margin: 0;
}

.license-info input[type="text"], .license-info input[type="password"] {
    color: rgb(0, 0, 0);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.106);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: fadeIn 0.3s ease;
  overflow: auto;
}

.modal-content {
  background: rgba(255, 255, 255, 0.708);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  border-radius: 12px;
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

  @keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

  .modal-form {
    text-align: left;
    padding: 10px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: 0.2s ease;
  }
  
  .close:hover,
  .close:focus {
    transform: scale(1.1);
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

.modal-content input[type="date"],
.modal-content input[type="datetime"],
.modal-content input[type="datetime-local"] {
    font-family: 'DM Sans', sans-serif;
    font-size: smaller;
    display: inline-block;
}

 .license-key {
    font-family: 'DM Sans', sans-serif;
    font-size: larger;
    width: 280px;
    display: inline-block;
    border: none;
    background: transparent;
    outline: none;
    cursor: default;
 }

 /*  ADMIN    */

.user-info {
    margin-bottom: 20px;
}

.user-details {
    background-color: rgb(239, 239, 239);
    padding: 20px;
}

.user-license{
    background-color: rgb(228, 228, 228);
    margin-bottom: 20px;
    padding: 20px;
}

.modify-button {
    float: right;
    margin-right: 5px;
}

.tab {
    overflow: hidden;
    background-color: #f1f1f1;
    max-width: 80%;
    margin: auto;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    padding: 6px 12px;
    border-top: none;
    max-width: 80%;
    margin: auto;
}

.url-cell {
    max-width: 300px; 
    word-wrap: break-word;
}

.top-bar {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .rev {
  display:flex;
    justify-content:flex-end;
}

.search-bar {
    display: flex;
}

.search-bar .reset-button {
  font-family: "SF Pro Text", "DM Sans", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  margin-left: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, #f9f9f9 0%, #e9e9eb 100%);
  color: #1d1d1f;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.search-bar .reset-button:hover {
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdf 100%);
  transform: translateY(-1px);
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-bar .reset-button:active {
  background: linear-gradient(180deg, #e5e5e7 0%, #cfcfd1 100%);
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-bar .search-button {
  font-family: "SF Pro Text", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  margin-left: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  background: linear-gradient(180deg, #ff3b30 0%, #d70015 100%);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 2px 6px rgba(255, 59, 48, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.search-bar .search-button:hover {
  background: linear-gradient(180deg, #ff453a 0%, #b40012 100%);
  transform: translateY(-1px);
  box-shadow:
    0 4px 10px rgba(255, 59, 48, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.search-bar .search-button:active {
  background: linear-gradient(180deg, #d70015 0%, #a0000f 100%);
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.right-buttons .recycling-bin {
    font-size: x-large;
    transition: font-size 0.2s ease;
}

.right-buttons .recycling-bin:hover {
    font-size: xx-large;
}

.trash-button{
    display: inline-block;
}

@keyframes shake {
    0% { transform: translateX(0); }
    10% { transform: translateX(-3px); }
    20% { transform: translateX(3px); }
    30% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    50% { transform: translateX(-3px); }
    60% { transform: translateX(3px); }
    70% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
    90% { transform: translateX(-3px); }
  }
  
  .shake {
    animation: shake 0.5s;
  }

  drop-area {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.uploaded-image {
    max-width: 20%;
    padding: 2%;
}

input::placeholder, textarea::placeholder { 
    font-size: small;
}

input[type="text"],
textarea,
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  font-size: 15px;
  font-family: 'SF Pro Text', 'DM Sans', sans-serif;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.088);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: #111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4),
              0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
}



/* ---- FOCUS STATE ---- */
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 122, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.18);
  background: rgba(255, 255, 255, 0.2);
}

.table-device-container {
    border-collapse: collapse;
    width: 100%;
    max-width: 1500px;
    overflow-x: auto;
}

.table-device-container td {
    padding: 5px;
}

.left-text p, .left-text a {
    font-size: small;
}

.left-text a:hover {
    text-decoration: underline;
}

.table-modal {
    width: 100%;
}

.table-modal label {
    font-size: small;
    float:inline-end;
}

.table-modal textarea {
    height: 100px;
}

.images-table {
    width: 100%;
    table-layout: fixed; /* Fix table layout */
    border-collapse: separate; /* Allows for border-spacing */
    border-spacing: 10px; /* Space between cells */
}

.images-table td {
    width: 20%;
    max-width: 140px;
    padding: 10px;
}

.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container .loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.image-container .loading-overlay.active {
    display: flex;
}

.image-container .loading-overlay span {
    color: white;
    font-size: 10px;
}

.image-container img {
    width: 120px;
    height: auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.image-container:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-container .loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5; /* lower than buttons */
    justify-content: center;
    align-items: center;
}

/* common button base (optional but recommended) */
.delete-button,
.edit-button,
.rembg-button {
    position: absolute;
    top: 5px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    z-index: 10; /* above overlay */
}

/* individual positions */
.delete-button {
    right: 5px;
}

.edit-button {
    right: 35px;
}

.rembg-button {
    right: 65px;
}

/* hover reveals all three */
.image-container:hover .delete-button,
.image-container:hover .edit-button,
.image-container:hover .rembg-button {
    display: flex;
}

.delete-button:hover,
.edit-button:hover,
.rembg-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.image-count {
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

.report-container {
    width: 80%;
    max-width: 1300px;
    margin: auto;
    transition: background 0.4s ease;
}

.section-row {
    max-width: 1500px;
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap;
    gap: 20px;
}

.section {
  flex: 1;

  margin-bottom: 30px;
  max-width: 1500px;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
  position: relative;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 32px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.section a {
    color: black;
 }

.section a:hover {
    text-decoration: underline;
 }

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.actions button {
    margin-right: 10px;
    margin-bottom: 20px;
}

.section-row .section:last-child {
    margin-right: 0;
}

.addItemToSO {
    padding: 10px;
    margin: 0;
}

.addItemToSO input[type="number"] {
    width: 100px;
}

.tdhover {
    font-weight: 900;
}

.tdhover:hover {
    background-color: rgb(191, 244, 181);
}

#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background-color: rgba(0, 170, 0, 0.65);
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
    font-size: 16px;
    min-width: 200px;
    max-width: 90%;
    font-size: 12px;
    opacity: 1;
    animation: fadeOut 5s ease-out forwards;
    font-family: 'DM Sans', sans-serif; 
    text-align: center;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.notification:hover {
    transform: translateY(-2px) scale(1.02);
}

.error {
    background-color: rgba(131, 26, 7, 0.65);
    color: rgb(251, 146, 146);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
    font-size: 16px;
    width: 300px;
    max-width: 90%;
    opacity: 1;
    animation: fadeOut 8s ease-out forwards;
    font-family: 'DM Sans', sans-serif; 
    font-size: 12px;
    text-align: center;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.error:hover {
    transform: translateY(-2px) scale(1.02);
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.table-controls {
    font-family: 'DM Sans', sans-serif; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    max-width: 1400px;
}

.table-filters {
    display: flex;
    align-items: right;
    gap: 10px;
}


@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
    @font-face {
    font-family: 'LemonMilk-Light';
    src: url('fonts/LEMONMILK-Light.ttf');
}
@font-face {
    font-family: 'LemonMilk-Regular';
    src: url('fonts/LEMONMILK-Regular.ttf');
}
.banner {
    /* background-color: #f0f0f0; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 0;
    position: relative;
    transition: background 0.4s ease;
}

.banner-search {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  padding: 0px 30px;
}

.bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.profile-logout{
    font-family: 'DM Sans', sans-serif;
    display: flex; /* Display links in a row */
    align-items: center; /* Align items vertically */
}

/* Styles for logo */
.logo {
    width: 80px;
    max-width: 90px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* Styles for profile and logout links */
.profile-logout a {
    font-size: 14px; /* Adjust font size as needed */
    padding: 10px;
    text-decoration: none; /* Remove underline */
    color: #333; /* Set link color */
    transition: font-size 0.2s ease;
}
.hamburger-menu {
    display: none; /* Hide the container by default */
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px; /* Adjust margin as needed */
}

.hamburger-menu-button {
    display: none; /* Hide the button by default */
    cursor: pointer;
}

.hamburger-menu-button .bar {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

.menu-option a {
    color: var(--main-text-color);
    text-decoration: none;
}

.menu-option a:hover {
    font-size: 16px;
    text-decoration: none !important;
}

@media (max-width: 990px) {
    .profile-logout a {
        font-size: 20px;
    }

    .hamburger-menu-button {
        display: block;
    }

    .profile-logout {
        display: none;
    }

    .profile-logout.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px;
        right: 8px;
        background-color: #ffffff;
        padding: 20px;
        z-index: 1;
    }

    .profile-logout div {
        margin-bottom: 20px;
    }
}

.sm-text th, .sm-text td {
    font-size: 12px;
}

.qr-container {
    display: flex;         
    justify-content: center;
    align-items: center;    
    height: 100%;           
    width: 100%;
    text-align: center;     
    margin-top: 10px;
    margin-bottom: 5px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.wide {
    max-width: 90%;
}

.footer {
    background-color: #f5f5f7;
    color: #fff;
    padding-top: 10px;
    margin-top: 20px;
    transition: background 0.4s ease;
}


.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    color: rgb(0, 0, 0);
    font-size: small;
}

.footer-column h4 {
    color: rgb(0, 0, 0);
}

.footer-logo img {
    width: 100px;
    height: auto;
    padding-right: 80px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: small;
}

.footer-column-container {
    display: flex;
}

.footer-column {
    margin-right: 50px;
}

.footer-column h4 {
    margin-bottom: 10px;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    line-height: 0.8;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #000000;
    text-decoration: none;
    font-size: small;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.refer-friend {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 40px 32px;
  margin: 30px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.refer-friend:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.refer-content {
  max-width: 700px;
  padding: 10px 24px;
  text-align: center;
  color: #1c1c1e;
  font-family: "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.refer-content h2 {
  font-size: 1.9em;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.refer-content p {
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 15px;
  font-size: 1.05em;
  line-height: 1.5;
}

.refer-content h3 {
  display: inline-block;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 1px;
  color: #007aff;
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 12px;
  padding: 12px 28px;
  margin: 10px 0 15px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.refer-content h3:hover {
  background: rgba(0, 122, 255, 0.18);
  border-color: rgba(0, 122, 255, 0.35);
}

.refer-content .highlight {
  color: #007aff;
  font-weight: 600;
}

.refer-svg {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.support-section {
    margin-top: 15px;
}

.large {
    min-width: 1000px;
}

.x-large {
    max-width: 90%;
}

#confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.confetti {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: random;
    animation: fall 5s linear infinite, moveAndRotate 5s ease-in-out infinite;
    transition: opacity 1s ease-out;
}

.fade-out {
    opacity: 0;
}

.fade-out-container {
    opacity: 0;
    transition: opacity 1s ease-out;
}

@keyframes fall {
    0% {
        top: -10px;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes moveAndRotate {
    0% {
        transform: translateX(0px) rotateX(0deg);
    }
    25% {
        transform: translateX(-20px) rotateX(90deg);
    }
    50% {
        transform: translateX(20px) rotateX(180deg);
    }
    75% {
        transform: translateX(-10px) rotateX(270deg);
    }
    100% {
        transform: translateX(10px) rotateX(360deg);
    }
}

.days-green {
  color: #16a34a; /* green-600 */
  font-weight: bold;
}
.dark-mode .days-green {
  color: #22c55e; /* green-500 on dark */
}

.days-yellow {
  color: #ca8a04; /* yellow-600 */
  font-weight: bold;
}

.addDeviceToLocation {
    width: 100%;
    padding: 10px 10px;
}

.addDeviceToLocation td {
    padding: 0px 5px;
}

.addDeviceToLocation table {
    margin: auto;
}

tr.sold-text {
    background-color: rgb(231, 255, 232) !important;
}

tr.notreceived-text {
    background-color: rgb(255, 235, 231) !important;
}

tr.picked-text {
    background-color: rgb(255, 212, 127) !important;
}

.log-color {
    color: red;
}

.hidden-row {
    display: none;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  width: 270px;
  padding: 20px 18px 60px; /* extra space for the pinned button */
  text-align: center;
  box-shadow: 0 18px 46px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.65);
}

.card h2 {
  margin: 8px 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #000;
}

.card p {
  color: #2c2c2c;
  font-size: .95rem;
  margin: 8px 0;
  padding: 0;
}

.card .price {
  font-size: 1.35rem;
  font-weight: 700;
}

.card .devices-allowed {
  color: #1c1c1e;
  font-size: .975rem;
}

.class-savings {
  color: #26d200;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
  transform: translateY(-2px);
}

.card-button {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,122,255,0.6);
  background: linear-gradient(180deg, #0a84ff, #007aff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,122,255,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}

.card-button:hover {
  transform: translate(-50%, -1px);
  box-shadow: 0 16px 32px rgba(0,122,255,0.32), inset 0 1px 0 rgba(255,255,255,0.4);
  filter: saturate(1.05);
}

.card-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.2) brightness(.95);
  box-shadow: none;
  transform: translateX(-50%);
}
.th-hover:hover {
    cursor: pointer;
}

.changeprofileForm {
    text-align: left;
}

.required {
    color: red;
}

.skuaffecting {
    color: rgb(47, 120, 246);
}

.tabs {
    display: flex;
}
.tab-button {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Hover interaction */
.tab-button:hover {
  background: linear-gradient(180deg, #fafafa 0%, #e9e9eb 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Active / selected tab */
.tab-button.active {
  background: linear-gradient(180deg, #0a84ff 0%, #007aff 100%);
  color: #fff;
  border: 1px solid rgba(0, 122, 255, 0.4);
  box-shadow:
    0 4px 12px rgba(0, 122, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

#lockButton {
    background: none; 
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem; 
    transition: transform 0.2s ease;
  }
  
  #lockButton:focus {
    outline: none; 
  }
  
  #lockButton:hover {
    transform: scale(1.1);
  }

/* Checkbox Start */

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
.checkbox-wrapper-14 input[type=checkbox] {
    --active: #02b12b;
    --active-inner: #fff;
    --focus: 2px rgba(39, 94, 254, .3);
    --border: #BBC1E1;
    --border-hover: #02b12b;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
}
.checkbox-wrapper-14 input[type=checkbox]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
}
.checkbox-wrapper-14 input[type=checkbox]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
}
.checkbox-wrapper-14 input[type=checkbox]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled + label {
    cursor: not-allowed;
}
.checkbox-wrapper-14 input[type=checkbox]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
}
.checkbox-wrapper-14 input[type=checkbox]:focus {
    box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
    width: 21px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
    opacity: var(--o, 0);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
    --o: 1;
}
.checkbox-wrapper-14 input[type=checkbox] + label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 4px;
}

.checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
    border-radius: 7px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
}
.checkbox-wrapper-14 input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
}
.checkbox-wrapper-14 input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
}
}

.checkbox-wrapper-14 * {
box-sizing: inherit;
}
.checkbox-wrapper-14 *:before,
.checkbox-wrapper-14 *:after {
box-sizing: inherit;
}

/* Checkbox End */

/* Dropdown Start */
/* ---- LIGHT MODE ---- */
.drpdwn {
  width: 100%;
  font-size: 14px;
  font-family: 'SF Pro Text', 'DM Sans', sans-serif;
  padding: 8px 36px 8px 12px;
  color: #111;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15)
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpolygon points="0,0 10,0 5,6" fill="%23555"/%3E%3C/svg%3E')
    no-repeat right 12px center;
  background-size: 10px 6px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
              0 2px 6px rgba(0, 0, 0, 0.08);
}

.drpdwn:hover {
  border-color: rgba(0, 122, 255, 0.6);
}

.drpdwn:focus {
  border-color: rgba(0, 122, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
  outline: none;
  background: rgba(255, 255, 255, 0.25)
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpolygon points="0,0 10,0 5,6" fill="%23007AFF"/%3E%3C/svg%3E')
    no-repeat right 12px center;
  background-size: 10px 6px;
}

.drpdwn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: #a0a0a0;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Dropdown End */

.spec-table {
  table-layout: fixed;
  width: 100%;
}

.spec-table td {
  padding: 10px;
  vertical-align: top;
}

.spec-table tr:nth-child(odd) {
  background-color: rgba(243, 243, 243, 0.5);
}

.hardware-test {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;      
  overflow: hidden;
}

.hardware-test thead th {
  background: #f6f6f6;
  color: #000000;
  padding: 8px 12px;
  text-align: left;
  font-size: 1.1em;
  border-radius: 8px;
}

.hardware-test td {
  padding: 8px 12px;
  border-top: 1px solid #e4e4e4;
  color: #000000;
}

.hardware-test td:first-child {
  width: 30%;
}

.hardware-test td.passed  { color: rgb(0, 192, 0); }
.hardware-test td.failed  { color: #f33; }
.hardware-test td.not-tested { color: #595959; }

.inline-table {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
}
.inline-table td {
    font-size: 0.8em;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-align: center;
    width: 25%;
}

.inline-table td:nth-child(odd) {
  text-align: right;
}

.inline-table td:nth-child(even) {
  text-align: left;
}

#inbound-order-container {
    display: flex;
    gap: 1rem;
    border-radius: 16px;
}

/* ===== LIGHT MODE ===== */
#inbound-order-container .left-panel,
#inbound-order-container .right-panel {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 12px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 1.25rem;
  transition: all 0.25s ease;
  color: #1c1c1e;
  font-family: "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* Subtle hover lift for both panels */
#inbound-order-container .left-panel:hover,
#inbound-order-container .right-panel:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 40px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

/* Layout adjustments */
#inbound-order-container .left-panel {
  flex: 1;
  max-width: 18%;
  min-width: 280px;
}

#inbound-order-container .right-panel {
  flex: 2;
  margin-left: 1.5rem;
}

#inbound-order-container .devices-table-wrapper {
    overflow-y: auto;
    max-height: 500px;
}

#inbound-order-container table {
    width: 100%;
    border-collapse: collapse;
}

#inbound-order-container th,
#inbound-order-container td {
    padding: 0.5rem;
    border-bottom: 1px solid #dddddd2d;
    text-align: left;
}

#inbound-order-container thead {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

#inbound-order-container tr:hover {
    background: #f1f1f1;
}

#attachments-table,
  #attachments-table th,
  #attachments-table td {
    font-size: 10px !important;
  }

.inline-center-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inline-center-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: auto;
}

.font-bold {
  font-weight: bold;
}

.text-xs {
  font-size: 0.5rem;
  line-height: 1;
}

.highlight-row {
  background-color: #a5f3a1 !important;
  transition: background-color 1s ease;
}

.fade-out-highlight {
  background-color: transparent !important;
}

.notify-user {
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #b30000;
  text-align: center;
  padding: 12px 18px;
  margin: 0 auto 14px;
  border-radius: 12px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 20px rgba(255, 59, 48, 0.08);
  font-family: "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  width: fit-content;
  max-width: 90%;
  animation: fadeSlideIn 0.35s ease;
}

.notify-user strong {
  color: #ff3b30;
}

.notify-user:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 24px rgba(255, 59, 48, 0.12);
  transition: all 0.25s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#settingsModal h4 {
  text-align: center;
}

.settings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 3px;
  margin-bottom: 30px;
  backdrop-filter: blur(5px) saturate(140%);
  -webkit-backdrop-filter: blur(5px) saturate(140%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

.settings-table th,
.settings-table td {
  padding: 3px 3px; 
  text-align: left;
  vertical-align: middle;
}

.settings-table th {
  font-weight: 600;
}

.settings-table tr {
  border-radius: 6px;
  margin-bottom: 6px;
  display: table-row;
}
.settings-table tr:not(:last-child) {
  border-bottom: 6px solid transparent;
}

.notes-indicator{
    position:relative;
    display:inline-flex;
    align-items:center;
    margin-left:.35rem;
    cursor:pointer;
    vertical-align:middle;
    font-family: 'DM Sans', sans-serif; 
}

.notes-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.55) transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.05));
}

.notes-indicator:hover .notes-tooltip,
.notes-indicator:focus .notes-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

.notes-tooltip {
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  color: #1c1c1e;
  padding: 10px 14px;
  min-width: 300px;
  max-width: 700px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: center;
  line-height: 1.3;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  font-family: "SF Pro Text", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.notes-block {
  margin: 0;
  padding: 15px 15px;
  backdrop-filter: inherit;
}

.notes-block + .notes-block {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.notes-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.notes-title,
.notes-text {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 1.2;
}

@media (max-width: 998px) {
    .container {
        padding: 0 10px;
    }
    .table-container {
        max-width: 90%; 
    }
    .hide-on-mobile {
        display: none; 
    }

    .top-bar .left-text, .left-text p, .left-text a {
        font-size: 10px;
    }

    .inline-table td {
        font-size: 0.7em;
        padding: 0.2rem 0.4rem;
    }


    .report-container {
        width: 95%;
    }

    .large {
        min-width: 600px;
    }

    #inbound-order-container {
    flex-direction: column;
  }

  .left-panel {
    margin: auto;
    max-width: 98%;
    min-width: 500px;
  }

  .right-panel {
    width: 100%;
  }
}

.dsu-badge-glow {
  width: 40px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6))
          drop-shadow(0 0 5px rgba(255, 255, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dsu-badge-glow:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 8px rgba(255, 220, 60, 0.8))
          drop-shadow(0 0 16px rgba(255, 255, 200, 0.5));
}

@keyframes shine {
  0% { left: -40%; }
  50% { left: 130%; }
  100% { left: 130%; }
}

.flash-updated {
  animation: flashUpdated 2500ms ease-out;
}

@keyframes flashUpdated {
  0% {
    background-color: rgba(52, 199, 89, 0.22);   
    box-shadow:
      0 0 0 0 rgba(52,199,89,0),               
      inset 0 0 0 2px rgba(52,199,89,0.35);   
  }
  60% {
    background-color: rgba(52, 199, 89, 0.10);
    box-shadow:
      0 0 0 0 rgba(52,199,89,0),
      inset 0 0 0 1px rgba(52,199,89,0.25);
  }
  100% {
    background-color: initial;              
    box-shadow: none;
  }
}

.table-user-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-family: "SF Pro Text", "DM Sans", "Segoe UI", sans-serif;
  color: #222;
}

.table-user-details th {
  width: 200px;
  text-align: left;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  padding: 10px 14px;
  border-radius: 10px 0 0 10px;
  vertical-align: middle;
  font-size: 0.9rem;
  white-space: nowrap;
}

.table-user-details td {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: 0 10px 10px 0;
  padding: 10px 16px;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4),
              0 1px 4px rgba(0,0,0,0.05);
  transition: background 0.2s ease, transform 0.2s ease;
}

.table-user-details tr:hover td {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.01);
}

.table-user-details tr:hover th {
  background: rgba(0,0,0,0.06);
}

/* subtle divider look */
.table-user-details tr + tr th,
.table-user-details tr + tr td {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.report-toc {
  position: fixed;
  left: 10px;
  top: 180px;
  width: 110px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  z-index: 2;
}
.report-toc-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: .2px;
  font-family: 'SF Pro Text', 'DM Sans', Arial, sans-serif;
  text-align: center;
}
.report-toc-list { list-style: none; margin: 0; padding: 0 }
.report-toc-list li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #111;
  text-align: center;
}
.report-toc-list li a:hover { background: rgba(0,0,0,0.04); text-decoration: none; }
.report-toc-list li a.active { background: rgba(0,0,0,0.08) }
@media (max-width: 1200px) { .report-toc { display: none } }
[id] { scroll-margin-top: 90px }
.dark-mode .report-toc {
  background: rgba(20,20,20,0.3);
  border-color: rgba(255,255,255,0.08);
}

.img-muted {
    filter: grayscale(100%);
    opacity: 0.6;
}


/* Ebay Default Images */

  .ebay-images-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
  }

  .ebay-image-slot {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,0.2);
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .ebay-image-slot-label {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 4px;
    pointer-events: none;
  }

  .ebay-image-slot.has-image {
    border-style: solid;
    background: #f7f7f7;
  }

  .ebay-image-tile {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    cursor: grab;
  }

  .ebay-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .ebay-image-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  .ebay-image-tile:hover .ebay-image-delete-btn {
    opacity: 1;
  }

  .ebay-image-slot.drag-over {
    outline: 2px solid #007bff;
    outline-offset: 2px;
  }


/*************************/