/* Text inputs / textarea / select */

/* input.input-text,
    textarea,
    select {
        @apply w-full rounded border border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 outline-none placeholder:text-slate-400 focus:border-amber-400 focus:ring-2 focus:ring-amber-400/60 disabled:cursor-not-allowed disabled:bg-slate-100 disabled:text-slate-500;
    } */

/* Narrow numeric-like inputs commonly used in admin */

/* Color input (keep compact) */

/* Validation states */

/* Read-only / disabled feel for .input-inactive (legacy class) */

/* Optional wrapper if you can add a class around the select (better arrow alignment) */

/* Compact size variant (use on containers that need denser UI) */

.tw-form-compact input.input-text,
    .tw-form-compact textarea,
    .tw-form-compact select {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 13px;
}

/* Label alignment in default grid forms */

.form-list td.label label {
  display: block;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

/* Full-width field containers (legacy .field-100) */

.field-100 input.input-text,
    .field-100 textarea {
  width: 100%;
  border-width: 0px;
  padding: 0px;
}

.pointer-events-none {
  pointer-events: none;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.col-start-1 {
  grid-column-start: 1;
}

.row-start-1 {
  grid-row-start: 1;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.size-3\.5 {
  width: 0.875rem;
  height: 0.875rem;
}

.size-4 {
  width: 1rem;
  height: 1rem;
}

.size-full {
  width: 100%;
  height: 100%;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-\[100vh\] {
  height: 100vh;
}

.w-0 {
  width: 0px;
}

.w-5 {
  width: 1.25rem;
}

.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: 0.75rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.self-center {
  align-self: center;
}

.justify-self-center {
  justify-self: center;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.stroke-white {
  stroke: #fff;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-4 {
  padding: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.text-2xl\/9 {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.text-4xl\/3 {
  font-size: 2.25rem;
  line-height: .75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-sm\/6 {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

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

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.opacity-0 {
  opacity: 0;
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.outline-1 {
  outline-width: 1px;
}

.-outline-offset-1 {
  outline-offset: -1px;
}

.outline-gray-300 {
  outline-color: #d1d5db;
}

@font-face {
  font-family: 'Legend';

  font-style: normal;

  font-weight: 100 900;

  font-display: swap;

  src: url('../font/legend-bold.otf') format('opentype'),
        url('../font/legend-bold.ttf') format('truetype'),
        url('../font/legend-bold.woff') format('woff');
}

* {
  font-family: 'Roboto', sans-serif !important;
}

h1#logo {
  font-family: 'Legend', sans-serif !important;
  font-size: 3.75rem;
  line-height: 1;
}

.header,
.nav-bar {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1)) !important;
}

#nav .level0.active>a,
#nav li.level0.over>a,
#nav ul li a:hover,
#nav li.level0>a:hover {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1)) !important;
}

.wrapper {
  .middle {
    margin-left: auto;
    margin-right: auto;
  }
  .middle {
    max-width: 80rem;
  }
  .middle {
    padding: none !important;
  }
}

.content-header-floating {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1)) !important;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  .content-header {
    h3 {
      --tw-text-opacity: 1;
      color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    }
  }
}

.entry-edit:not(.main-col-inner > .entry-edit) {
  /* Apply these utility styles to .entry-edit except when it's a direct child of .main-col
       Using :not(...) with a child combinator isn't supported directly, so we negate by
       adding a higher-specificity override below for `.main-col > .entry-edit`. */
}

.entry-edit:not(.main-col-inner > .entry-edit) > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}

.entry-edit:not(.main-col-inner > .entry-edit) {
  overflow: hidden;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 0.5rem;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  .entry-edit-head {
    background: initial !important;
    border: none !important
  }
  .entry-edit-head {
    display: flex;
  }
  .entry-edit-head {
    justify-content: space-between;
  }
  .entry-edit-head {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .entry-edit-head {
    font-weight: 600;
  }
  .entry-edit-head {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  }
  .entry-edit-head {
    h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
      font-weight: 700;
    }
  }
  .fieldset,
    fieldset {
    background: initial !important;
    border: none !important;
  }
}

.section-config .entry-edit-head {
  display: block !important;
}

/* target .entry-edit elements that do NOT contain a fieldset */

.entry-edit:not(:has(fieldset, .fieldset)) {
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.address-list:not(.main-col-inner > .address-list) {
  /* Apply these utility styles to .address-list except when it's a direct child of .main-col
       Using :not(...) with a child combinator isn't supported directly, so we negate by
       adding a higher-specificity override below for `.main-col > .address-list`. */
}

.address-list:not(.main-col-inner > .address-list) > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}

.address-list:not(.main-col-inner > .address-list) {
  overflow: hidden;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 0.5rem;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  .address-list-head {
    background: initial !important;
    border: none !important
  }
  .address-list-head {
    display: flex;
  }
  .address-list-head {
    justify-content: space-between;
  }
  .address-list-head {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .address-list-head {
    font-weight: 600;
  }
  .address-list-head {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  }
  .address-list-head {
    h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
      font-weight: 700;
    }
  }
  .fieldset,
    fieldset {
    background: initial !important;
    border: none !important;
  }
}

/* target .address-list elements that do NOT contain a fieldset */

.address-list:not(:has(fieldset, .fieldset)) {
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

button {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  border-radius: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Magento 1 Adminhtml – generic inputs & selects (Tailwind @apply) */

/* Dark mode (auto) */

@media (prefers-color-scheme: dark) {
  input.input-text,
    textarea,
    select {
    --tw-border-opacity: 1;
    border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(241 245 249 / var(--tw-text-opacity, 1));
  }

  input.input-text::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder {
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1));
  }

  input.input-text::placeholder,
    textarea::placeholder,
    select::placeholder {
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1));
  }

  input.input-text:focus,
    textarea:focus,
    select:focus {
    --tw-border-opacity: 1;
    border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
    --tw-ring-color: rgb(245 158 11 / 0.5);
  }

  input.input-inactive {
    --tw-bg-opacity: 1;
    background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1));
  }

  .validation-advice {
    --tw-text-opacity: 1;
    color: rgb(248 113 113 / var(--tw-text-opacity, 1));
  }

  .form-list td.label label {
    --tw-text-opacity: 1;
    color: rgb(226 232 240 / var(--tw-text-opacity, 1));
  }
}

ul.tabs a,
ul.tabs a.active {
  /* remove bg */
  background: none !important;
}

ul.tabs a {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  padding: 0.5rem;
  padding-left: 0.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

ul.tabs a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

ul.tabs a {
  .active {
    --tw-bg-opacity: 1 !important;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)) !important;
  }
}

div.main-col {
  border-radius: 0.5rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .content-header {
    justify-content: space-between;
  }
}

.content-header {
  h2,
    h3,
    h4,
    h5,
    h6 {
    font-weight: 700;
  }
  h2,
    h3,
    h4,
    h5,
    h6 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  }
  @media (min-width: 640px) {
    h2,
    h3,
    h4,
    h5,
    h6 {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  @media (min-width: 640px) {
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-size: 1.875rem;
      line-height: 2.25rem;
    }
  }
  @media (min-width: 640px) {
    h2,
    h3,
    h4,
    h5,
    h6 {
      letter-spacing: -0.025em;
    }
  }
}

table td,
table th {
  padding: 0.5rem !important;
}

.grid {
  table {
    tr.headings {
      background: none !important;
      border: none !important
    }
    tr.headings {
      border-bottom-width: 1px !important;
    }
    tr.headings {
      --tw-border-opacity: 1 !important;
      border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)) !important;
    }
    tr.headings {
      th {
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
      }
      th {
        padding-right: 0.75rem;
      }
      th {
        padding-left: 1rem;
      }
      th {
        text-align: left;
      }
      th {
        font-weight: 600;
      }
      th {
        --tw-text-opacity: 1 !important;
        color: rgb(17 24 39 / var(--tw-text-opacity, 1)) !important;
      }
      @media (min-width: 640px) {
        th {
          padding-left: 0px;
        }
      }
      th {
        border-width: 0px;
        border-color: transparent;
        border-style: solid;
        a {
          --tw-text-opacity: 1 !important;
          color: rgb(17 24 39 / var(--tw-text-opacity, 1)) !important;
        }
      }
    }
    td {
      border: none !important;
    }
  }
  tr {
    border-bottom-width: 1px !important;
  }
  tr {
    --tw-border-opacity: 1 !important;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)) !important;
  }
  tr.even,
    tr.even td {
    background: none !important;
  }
  tr.on-mouse,
    tr.on-mouse.odd {
    --tw-bg-opacity: 1 !important;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)) !important;
  }
}

table.actions {
  padding: initial;
  background: none !important;
  border: none !important;
}

.grid tbody tr.even td.sorted,
.grid tbody tr.odd td.sorted {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)) !important;
}

.content-header {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  h2,
    h3,
    h4,
    h5,
    h6 {
    font-weight: 600;
  }
  h2,
    h3,
    h4,
    h5,
    h6 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  }
}

.footer {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: none !important;
  border-top: none !important;
}

.placeholder\:text-gray-400::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.placeholder\:text-gray-400::placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.checked\:border-orange-600:checked {
  --tw-border-opacity: 1;
  border-color: rgb(234 88 12 / var(--tw-border-opacity, 1));
}

.checked\:bg-orange-600:checked {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}

.indeterminate\:border-orange-600:indeterminate {
  --tw-border-opacity: 1;
  border-color: rgb(234 88 12 / var(--tw-border-opacity, 1));
}

.indeterminate\:bg-orange-600:indeterminate {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}

.hover\:bg-orange-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}

.hover\:text-orange-500:hover {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}

.focus\:outline:focus {
  outline-style: solid;
}

.focus\:outline-2:focus {
  outline-width: 2px;
}

.focus\:-outline-offset-2:focus {
  outline-offset: -2px;
}

.focus\:outline-orange-600:focus {
  outline-color: #ea580c;
}

.focus-visible\:outline:focus-visible {
  outline-style: solid;
}

.focus-visible\:outline-2:focus-visible {
  outline-width: 2px;
}

.focus-visible\:outline-offset-2:focus-visible {
  outline-offset: 2px;
}

.focus-visible\:outline-orange-600:focus-visible {
  outline-color: #ea580c;
}

.disabled\:border-gray-300:disabled {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.disabled\:bg-gray-100:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.disabled\:checked\:bg-gray-100:checked:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.group:has(:disabled) .group-has-\[\:disabled\]\:stroke-gray-950\/25 {
  stroke: rgb(3 7 18 / 0.25);
}

.group:has(:checked) .group-has-\[\:checked\]\:opacity-100 {
  opacity: 1;
}

.group:has(:indeterminate) .group-has-\[\:indeterminate\]\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:text-sm\/6 {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }

  .lg\:w-96 {
    width: 24rem;
  }

  .lg\:flex-none {
    flex: none;
  }

  .lg\:px-20 {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:px-24 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

@media (forced-colors: active) {
  .forced-colors\:appearance-auto {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
