/* @import './_resets.css';
@import './globals.css';
@import './_typography.css';
@import './_buttons.css';
@import './_card.css';
@import './_accordion.css';
@import './_table.css';
@import './_shipment-card.css';
@import './table-configure-modal.css'; */
@import './_sidebar.css';
@import './_tab.component.css';
@import "./_lookup-input.component.css";

body {
  background: var(--navigation-colors-dashboard-bg, #f8f8f8);
  overflow: hidden;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(1);
  cursor: not-allowed;
}

.app {
    display: flex;
    background: transparent;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    inset: 0;
}

.content {
    outline: none !important;
    padding: 16px;
    max-height: calc(100vh - var(--top-nav-height)) !important;
    height: calc(100vh - var(--top-nav-height)) !important;
    overflow-y: auto;
}

.content-wrapper {
  display: contents;
  padding: 16px;
  margin: 0 !important;
  width: 100%;
  z-index: 1;
}

.content-wrapper:not(:has(#map, .canvas-wrapper)) {
  /* padding-bottom: 10vh; */
}

.content-wrapper .grid {
  padding: 0;
}

p-config-modal .backdrop {
  position: fixed;
  width: 100vw;
  height: 100vh;
  inset: 0;
  z-index: 0;
}

.inline-lookup-wrapper{
    position: relative;
    padding: 0 !important;
}

.inline-lookup-wrapper [data-lookup-trigger] {
    position: absolute !important;
    top: 50% !important;
    right: .5em !important;
    transform: translateY(-50%);
    padding: .8em;
    border: none;
    outline: none;
    z-index: 2;
}

.inline-lookup-wrapper .text-field {
    border-radius: 0;
    border: none;
    padding: 0 .5em;
}

.sidebar {
    position: relative;
    display: grid;
    grid-template: 1fr auto / 1fr;
    width: var(--sidebar-width);
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    border-right: 1px solid var(--grey-100);
    padding: 0;
    padding-bottom: var(--gap-small);
    background: var(--dashboard-bg);
    z-index: 10;
    /*  overflow-y: auto;*/

    will-change: width, contents;
    transition: 0.3125s ease-out width;
}

.nav-tag {
  display: flex;
  height: 16px;
  padding: 0px 4px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--badge-new-badge-new-label-text-color, #fff);
  border-radius: 2px;
  background-color: var(--badge-new-badge-new-label-bg, #4473d4) !important;
}

is-line {
  display: table-row !important;
}

main {
  width: 100%;
  height: 100%;
  /*    overflow-y: auto;*/
  overflow-y: hidden;
}

.brand {
  display: flex;
  height: var(--top-nav-height);
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  padding: 8px;
  border-bottom: 1px solid var(--grey-100);
  padding-left: var(--padding-left);
}

.brand+.block-card {
  /*  margin-bottom: 20px;*/
  border-top: none;
}

.brand img {
  width: 150px;
  height: 32px;
  object-fit: contain;
  margin-right: var(--gap-small);
  mix-blend-mode: multiply;
}

.nav-toggle {
  padding: 0;
  transition: 0.25s ease-out;
  transition-property: transform, background-color;
  will-change: transform, background-color;
  margin: auto;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--navigation-button-bg-hover);
}

.nav-collapsed .nav-toggle {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-180deg);
}

.sidebar__item {
  --_pl: 25px;
  position: relative;
  display: flex;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: var(--border-radius);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

/* [data-parent-sidebar-item] {
  --_pl: 18px;
} */

.sidebar__item:hover {
  background: var(--navigation-button-bg-hover);
}

.sidebar-group {
  /* display: content; */
}

.sidebar-group--active:has(.group-items) {
  margin-bottom: calc(var(--gap-small) * var(--active-group-margin-bottom));
}

.sidebar-group--active .sidebar__title {
  background: var(--navigation-button-bg-active);
}

.sidebar__title .action {
  opacity: 1 !important;
}

p-sidebar-item:not([title]) .sidebar__label {
  font-weight: 500;
}

p-sidebar-item:has(p-sidebar-item) {
  display: flex;
  flex-direction: column;
}

p-sidebar-item>p-sidebar-item {
  display: flex;
  flex-direction: column;
  margin-left: 1em;
}

.sidebar__nested-list {
  position: relative;
  margin: 0;
  margin-left: 1em;
  height: 0;
  overflow: hidden;
  transition: 0.25s ease-out;

  border-color: var(--_border-color);
  border-bottom: 1px solid var(--_border-color);
  border-left: 1px solid var(--_border-color);
  border-bottom-left-radius: 1em;
}

.sidebar__nested-list.expanded {
  --_border-color: var(--grey-100);
  height: max-content;
  overflow: visible;
  padding-bottom: 0.5em;
}

.sidebar__label .icon-expand {
  transform: rotate(0deg) !important;
  opacity: 0.7;
  transition: var(--transition);
}

.expanded > .sidebar__label .icon-expand {
    transform: rotate(0deg) !important;
}

/* TREE LINE */

.sidebar__nested {
  padding-left: 2em;
}

.action {
  padding: 1px;
  display: inline-block;
  box-sizing: content-box;
}

.sidebar__title::before {
  --navigation-button-indicator-active: #5bbd8a;
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  left: 0;
  background: var(--navigation-button-indicator-active);
  transform: translateX(-100%);
  transition: transform 0.145s ease-in-out;
}

.sidebar__item.active {
  background: rgba(0 0 0 / 0.054);
}

.sidebar__item.active::before {
  --navigation-button-indicator-active: #5bbd8a;
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  left: 0;
  background: var(--navigation-button-indicator-active);
  transition: transform 0.145s ease-in-out;
}

.sidebar-group--active .sidebar__title::before {
  transform: translateX(0);
}

.icon-expand::before {
  display: inline-block;
  transition: rotate 0.4s ease-in-out;
}

.sidebar-group--active .icon-expand::before {
  rotate: -180deg;
}

.sidebar__label {
  display: flex;
  gap: var(--gap-small);
  line-height: 1.5;
  align-items: center;
  font-weight: 600;
}

.sidebar__label span:not(.icon) {
  max-width: 21ch;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 12px;
}

.group-items {
  display: none;
  margin-top: var(--gap-small);
  animation: fadeIn 0.4s ease-out;
  will-change: opacity, transform, margin-bottom;
}

.sidebar-group--active .group-items {
  display: initial;
}

.group-items .sidebar__item {
  padding-left: var(--_pl);
}

.group-items .sidebar__label {
  gap: var(--gap-small);
}

.sidebar__item:not(:hover) .action {
  opacity: 0;
  pointer-events: none;
}

.dot {
  position: relative;
  --_size: 16px;
  --_color: var(--grey-400, #aaa);
  width: var(--_size);
  height: var(--_size);
}

.dot::before {
  --_size: 10px;
  content: '';
  position: absolute;
  width: var(--_size);
  height: var(--_size);
  border-radius: 50%;
  background: var(--_color);
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sidebar__top,
.sidebar__bottom {
  width: 100%;
  overflow: hidden;
}

.sidebar__top {
  --shadow-height: 6em;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.sidebar__top {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.user-header {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.product-navigation {
  width: 100%;
}

.product-navigation::before {
  content: '';
  width: 100%;
  height: var(--shadow-height);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      var(--dashboard-bg) 100%);
  pointer-events: none;
  z-index: 10;
}

.product-navigation::after {
  content: '';
  display: block;
  height: var(--shadow-height);
}

/* nav-block CARD */
.block-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: calc(var(--gap-small) * 2);
  border-bottom: 1px solid var(--grey-100);
  border-top: 1px solid var(--grey-100);
  cursor: pointer;
}

.block-card:hover {
  background: var(--navigation-button-bg-hover);
}

.emblem {
  --_size: 40px;
  display: flex;
  width: var(--_size);
  height: var(--_size);
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  vertical-align: middle;
  line-height: 1.2;
  padding: calc(var(--gap-small) / 2);
  background: var(--color-white, #fff);
  border-radius: 8px;

  font-size: 1.5em;
  font-weight: bold;
  color: var(--color-brand-accent) !important;
}

.emblem-round {
  --_size: 32px;
  border-radius: 50% !important;
  background: var(--prompt-colors-accent-1);
  padding: 0;
}

.emblem img {
  width: 100%;
}

.block-card :is(.left, .right) {
  display: flex;
  gap: var(--gap-small);
  align-items: center;
}

.block-card__content {
  height: 100%;
}

.block-card__title {
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  max-width: 14ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.block-card__title:only-child {
  font-weight: 400;
}

.block-card__subtitle {
  color: var(--grey-600);
  font-weight: 400;
  line-height: 1.5;
  font-size: 12px;
  margin: 0;
  padding: 0;

  width: 100%;
  max-width: 17ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings {
  display: grid;
  padding-top: 16px;
  padding-bottom: 20px;
  gap: 2px;
  align-self: stretch;
}

/* nav-block CARD */

.powered-badge {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 116px;
}

/* TOP NAVIGATION */

p-header {
  position: sticky;
  top: 0;
  display: grid;
  height: var(--top-nav-height);
  max-height: var(--top-nav-height, 46px);
  overflow: hidden;
  width: 100%;
  z-index: 2;

  grid-template-columns: [left] 1fr [center] 1fr [right];

  align-items: center;

  gap: 10px;
  align-self: stretch;
  padding: 0 20px;
  background: #eaeaea !important;
}

p-header :is(.left, .center, .right) {
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: calc(var(--gap-small));
  height: inherit;
}

p-header .left {
  grid-column: left;
  width: max-content;
}

p-header .center {
  grid-column: center;
}

p-header .right {
  grid-column: right;
}

.btn {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
}

.product-navigation {
  overflow-y: auto;
  padding-top: 16px;
}

.form-footer .card {
  height: auto;
}

.config-modal {
  --config-x: 200px;
  --config-y: 200px;
  width: var(--config-modal-width, 300px);
  position: fixed;
  display: block;
  top: var(--config-y);
  left: var(--config-x);
  /* transform: var(--transform, translate(-70%, 1.2em)); */
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-context-menu);
  transition: none;
}

.config-modal--active {
  display: block;
}

.config-modal--filter {
  width: max-content;
  max-height: 60vh;
}

.config-modal--filter i {
  display: none;
}

.config-modal--filter select {
  width: 100%;
}

.config-modal {
  width: var(--config-modal-width, 260px);
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 0;
  border-radius: 2px;
  border: 1px solid var(--grey-100, #eaeaea);
  background: #fff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.config-modal:empty {
  display: none;
}

.config-modal>*:not(.toggle-list) {
  padding: 0px var(--padding-modal-right-left-padding, 16px);
}

.config-modal--filter .config-modal {
  --config-modal-width: 500px;
  overflow: hidden;
  border-radius: 6px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
}

.config-modal form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: column;
  gap: var(--gap-small);
  padding: 0 !important;
  margin: 0;
}

.config-modal--filter :is(.list-item) {
  padding: 0 !important;
  grid-column: span 2;
  background: transparent !important;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}

.config-modal--filter :is(input, select) {
  width: 100%;
  background: var(--dashboard-bg);
  border: 1px solid rgb(0 0 0 / 0.1);
  grid-column: span 5;
  height: 2.5em;
  padding: 2px;
}

.config-modal--filter button {
  flex-basis: 40%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
}

.config-modal--filter .icon-button {
  grid-column: span 1;
  height: 100%;
  width: 100%;
  margin: auto !important;
  justify-content: center;
  color: var(--color-grey-400);
  opacity: 0;
  pointer-events: none;
}

.config-modal--filter :is(label, label + *) {
  grid-column: span 5;
  width: 100%;
  background: var(--dashboard-bg);
  border: 1px solid rgb(0 0 0 / 0.1);
  height: 2.5em;
  padding: 6px;
  border-radius: 2px;
  overflow: hidden;
  margin: 0;
}

p-config-modal {
  isolation: isolate;
  z-index: var(--z-context-menu);
}

.dynamic-config-modal {
  display: block;
  opacity: 1;
  pointer-events: all;
  translate: 0 1em;
  z-index: 12 !important;
  isolation: isolate;
}

p-config-modal .search-wrapper {
  display: none;
}

p-config-modal[data-cell-options] {
  --config-modal-width: max-content;
  padding: 0.5em;
  position: fixed;
}

/* p-config-modal[data-cell-options] .icon {
  display: none;
} */
p-config-modal[data-cell-options] .search-wrapper {
  display: block;
  border-radius: 4px;
  min-width: 120px;
  width: -webkit-fill-available;
  width: -moz-available;
}

p-config-modal[data-cell-options] .dynamic-config-modal {
  padding: 0.25em;
}

p-config-modal[data-cell-options] .search-wrapper::before {
  display: none !important;
}

p-config-modal[data-cell-options] .search-input {
  width: 100%;
  margin-left: 0;
  transform: none;
  left: 0;
}

p-config-modal[data-cell-options] .search-wrapper::after {
  content: '\E089';
  font-family: 'prompt-icons';
  position: absolute;
  right: 1em;
  font-size: 16px;
  color: var(--gray-600);
  z-index: 1;
  pointer-events: none;
}

.app:has([data-config-target]) .dynamic-config-modal {
  opacity: 1;
  pointer-events: all;
  translate: 0 0;
}

.config-modal-form-footer {
    padding: 0 3em;
    display: flex;
    width: 100%;
    grid-column: -1 / 1;
    gap: 8px;
    position: sticky;
    bottom: 0;
    background: rgb(255 255 255 / 0.2);
    z-index: var(--z-context-menu);
}

.config-modal-form-footer>* {
  display: flex;
  flex: 1;
  width: 100%;
  margin: 0;
}

.nav-collapsed-only {
  --_size: 32px !important;
  display: none;
  transition: 0.25s ease-out;
  transition-property: opacity, transform;
}

.nav-collapsed .nav-collapsed-only {
  display: block;
  opacity: 1;
  transform: scaleY(1);
}

.nav-collapsed .sidebar :is(.block-card__content,
  .right,
  .icon + span,
  .sidebar__label + .action,
  .icon-expand,
  .brand-img,
  .powered-badge) {
  display: none;
}

.nav-collapsed .nav-collapsed-only :is(img) {
  display: block !important;
}

.nav-collapsed :is(.product-navigation, .settings) {
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto !important;
}

.nav-collapsed .sidebar {
  --nav-width: 48px;
  width: var(--nav-width, min-content);
}

.nav-collapsed .sidebar__title::before {
  display: none;
}

.nav-collapsed .sidebar .icon {
  --_size: 18px;
}

.nav-collapsed .sidebar .group-items {
  display: none !important;
}

.nav-collapsed .emblem {
  --_size: 32px;
  aspect-ratio: 1 / 1;
}

.nav-collapsed .brand {
  padding: 8px;
}

:host span {
  background-color: red;
}

.nav-collapsed .sidebar .sidebar__item {
  padding: 6px;
  width: min-content;
}

.nav-collapsed .sidebar .block-card {
  padding: 8px;
}

.nav-collapsed .sidebar .sidebar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: bottom;
  width: 100%;
}

.powered-badge--small {
  display: none;
  width: var(--nav-width);
}

.nav-collapsed :is(.powered-badge--small) {
  display: block !important;
}

section {
  padding-bottom: 0;
}

.grid {
  --spacing: var(--gap-small, calc(var(--gap-small) * 2));
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing);
  padding: var(--spacing);
}

.grid-col-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-small);
  grid-column: span 12;
}

.grid-col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-small);
  grid-column: span 12;
}

.grid-col-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-small);
  grid-column: span 12;
}

.span-1 {
  grid-column: span 1 !important;
}

.span-2 {
  grid-column: span 2;
}

.span-6 {
  grid-column: span 6;
}

.span-12 {
  grid-column: span 12;
}

.cards-wrapper {
  display: flex;
  gap: var(--gap-small);
  width: 100%;
  grid-column: span 12;
}

main {
  display: none;
}

main.active {
  display: block;
}

#globe {
  width: 100%;
  height: 700dvh;
  border-radius: 4px;
  background: var(--grey-100);
  overflow: hidden;
  margin-bottom: 10vh;
}

.list-item {
  display: flex;
  padding: 6px var(--padding-modal-right-left-padding, 16px) !important;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  gap: var(--gap-small);
  width: 100%;
  cursor: pointer;
  transition: background 0.145s ease-in-out;

  .state-label {
    font-size: 12px;
  }

  .secondary-action-button {
    margin-left: auto !important;
    justify-self: flex-end;
  }

}


.list-item:hover {
  background: var(--button-bg-hover);
}

.list-item:not(:has(.left)) {
  justify-content: flex-start;
}

.list-item :where(.right, .left) {
  display: flex;
  gap: var(--gap-small);
  align-items: center;
}

hr {
  border: 0;
  border-top: 1px solid var(--grey-100, #eaeaea);
  width: 100%;
  margin: 8px 0;
  grid-column: -1 / 1;
}

label {}

.toggle-list {
  width: 100%;
}

.list-summary {
  color: var(--grey-600, #808080);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

.danger {
  color: var(--navigation-delete-text-icon, #bb2a2a);
}

.success{
    color: var(--color-main-accent);
}

#colorPicker {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  right: -50px;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.blurred::before {
  content: '';
  position: absolute;
  width: calc(100% - var(--sidebar-width));
  height: 100%;
  z-index: 999;
  pointer-events: none;
  backdrop-filter: none;
  will-change: backdrop-filter;
  animation: 0.215s ease-out fade;
  cursor: default;
}

.blurred::before {
  pointer-events: all;
  cursor: zoom-out;
  background: #00000062;
  backdrop-filter: blur(2px);
}

.danger {
  color: var(--navigation-delete-text-icon, #bb2a2a);
}

.wrapper-link {
  flex: 1;
}

.flex-header {
  display: flex;
  justify-content: space-between;
  padding: var(--gap-small);
  background: var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  grid-column: span 12;
}

.flex-header>* {
  display: flex;
  gap: var(--gap-small);
}

.view-toggler-wrapper {
  display: flex;
}

.active-sort-badge,
.active-filter-badge {
  border-radius: 100px;
  background: var(--active-field-color, #6094ff);
  padding: 2px 4px;
  font-size: 12px;
  align-items: center;
  padding-left: 12px;
  white-space: nowrap;
}

.active-filter-badge::before {
  content: '\e0d7';
  font-family: 'prompt-icons';
}

.active-sort-badge::before {
  content: '\e080';
  font-family: 'prompt-icons';
}

/*FORM STYLES*/
.form-footer {
  display: flex;
  justify-content: space-between;
}

.form-footer .btn {
  width: 120px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.form-footer :is(.left, .right) {
  display: flex;
  gap: var(--gap-small);
}

form>fieldset.group-box {
  background: var(--dashboard-bg);
  margin-bottom: calc(var(--gap-small) * 2) !important;
  border-radius: 6px !important;
}

input {
  border-radius: 6px !important;
  border: 1px solid var(--dashboard-bg);
}

.box-footer {
  display: flex;
  justify-content: flex-start;
  gap: var(--gap-small);
}

.box-footer .btn {
  min-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

label {}

input[type='file'] {
  background: var(--dashboard-bg);
}

input[type='color'] {
  padding: 2px !important;
  height: 3em;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

a {
  font-family: var(--font-family)
}

.tab-header {
  padding: 0.5em 1em;
  height: max-content;
  display: inline-flex;
}

form .widget-body {
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 12px !important;
  margin-bottom: 0.5em;
}

.form-footer .jarviswidget .widget-body {
  border: none !important;
  border-radius: 6px !important;
  padding: 0 !important;
}

.dataTables_info {}

form .jarviswidget {
  border: 1px solid var(--dashboard-bg) !important;
  border-radius: 6px !important;
  background: var(--dashboard-bg);
}

form .row {
  padding: 1em !important;
}

/*FORM STYLES*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*THROW AWAY CODE*/
.loader {
  height: 8px;
  width: 36px;
}

.loader-box {
  display: inline-block;
  height: 8px;
  width: 8px;
  margin: 0px 2px;
  background-color: rgb(255, 255, 255);
  animation-name: fadeOutIn;
  animation-duration: 500ms;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.loader-box:nth-child(1) {
  animation-delay: 250ms;
}

.loader-box:nth-child(2) {
  animation-delay: 500ms;
}

.loader-box:nth-child(3) {
  animation-delay: 750ms;
}

@keyframes fadeOutIn {
  0% {
    background-color: rgba(255, 255, 255, 1);
  }

  100% {
    background-color: rgba(255, 255, 255, 0);
  }
}

/*GRID OVERRIDES*/

.dragable-container {
  background: red;
}

.dashboard-viewer :is(.card, .wrapper-link, figure) {
  height: 100%;
  width: 100%;
}

/* OVERRIDE */

form :is([class*='p-'], [class='p'], [class^='p-']):not(.icon, .icon-button) {
  font-family: var(--font-family);
  font-size: 14px;
}

#ParameterList {
  display: grid;
  gap: 4px;
}

.group-header {
  display: flex;
  width: 100%;
  background: transparent;
  padding: 0;
  margin-bottom: 0.5em;
}

.gap-0 {
  gap: 0 !important;
}

.parameter-fieldset .select-wrapper {
  display: flex;
  min-width: 240px;
  height: 100%;
}

.parameter-fieldset .select-wrapper::after {
  display: none !important;
}

.parameter-item {
  display: flex;
  gap: var(--gap-small);
  align-items: center;
}

.parameter-item input {
  height: 2.5em;
  padding: 6px;
  border: 1px solid var(--grey-400);
  border-radius: 2px !important;
}

.parameter-item .tag {
  height: max-content;
}

.overflow-padding {
  height: 6em;
}

.max-screen {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 1%;
  isolation: isolate;
}

.page-context {
  position: fixed;
  translate: 20px calc(-120%);
  z-index: 999;
}

.page-title {
  display: flex;
  gap: var(--gap-small);
  align-items: center;
}

.page-title .title {
  margin: 0;
}

/*.content {
  min-height: max-content !important;
  height: max-content !important;
}*/

.content-wrapper:has(.max-screen) {
  overflow: hidden;
  padding: 0 !important;
}

.content-wrapper:has(.max-screen) .grid {
  overflow: auto;
}

.content-wrapper:has(.max-screen) .content {
  overflow: auto;
}

.content .content {
  display: contents;
}

/* QUOTE SCREEN */
/* *:is(button, td):has([title]){
  outline: 1px solid;
}
#frmQuoteBreakdown *  {
  outline: 1px solid;
}
 */

/* LOGIC FOR SLIDE SWITCH */

:has(.slide-switch :nth-child(1):has(:checked)) .page-view:not(:nth-child(1)) {
  display: none;
}

:has(.slide-switch :nth-child(2):has(:checked)) .page-view:not(:nth-child(2)) {
  display: none;
}

.details-header {
  display: flex;
  border-radius: 8px;
  background: var(--neutrals-white, #fff);
  /* max-width: calc(100vw - var(--computed-sidebar-width) - var(--padding, 1em) * 5); */
  gap: 1em;
  margin-bottom: 1em;
}

.details-header .detail-group {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0 32px;
  gap: 0.5em;
}

.details-header .field {
  margin: 0;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-group:focus-within,
.detail-group:has(.show) {
  position: relative;
  z-index: 999;
}

:is(.details-header, .typed-form) .field .value {
  font-weight: 700;
}

.details-header .detail-group:not(:last-child) {
  border-right: 1px solid var(--lines-color, #eaeaea);
}

.details-header .base-info-group {
  width: var(--config-modal-width, min-content);
  padding: 0 16px;
}

.customer {
  display: flex;
  align-items: center;
  height: 6em;
  gap: var(--gap-small);
}

.customer-details {
  display: grid;
}

.customer-logo {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 4px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border-radius: 8px;
  background: var(--neutrals-white, #fff);

  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.customer-name {
  color: var(--navigation-button-text-button-text-color, #2c2c2c);

  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  min-width: 20ch;
  max-width: 25ch;
  width: max-content;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;

  margin: 0;
  padding: 0;
}

.customer-branch {
  color: var(--grey-600, #808080);

  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  width: 100%;

  margin: 0;
  padding: 0;
}

:is(.details-header, .typed-form) button:is(.history-toggle) {
  padding: 8px var(--padding-modal-right-left-padding, 16px) !important;

  border-radius: 4px;
  /* border: 1px solid var(--typo-text-color, #2c2c2c) !important; */
  outline: none;

  color: var(--navigation-button-text-button-text-color, #2c2c2c);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;

  white-space: nowrap;
  width: max-content;
  height: max-content;

  justify-self: flex-end;
  margin-left: 40px;
}

.form-group :is(.select2-container,
  input[type='text'],
  input[type='number'],
  input[type='date'],
  input[type='datetime']) {
  --_border: 1px solid var(--lines-color, #eaeaea);
  --_radius: 4px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  padding: 0 !important;
  min-height: 40px;
  width: 100%;

  border-radius: var(--_radius) !important;
  border: var(--_border) !important;
  background: var(--neutrals-white, #fff) !important;
  text-indent: 8px;
}

.form-group .selection {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;

  display: flex;
  align-items: center;
}

.form-group :has(.select2-container) :is(.selection) {
  border: none;
  width: 100% !important;
  height: 100% !important;
  /* padding: 8px var(--padding-modal-right-left-padding, 16px) !important; */
}

.form-group [role='combobox'] {
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  border: none;
}

:is(.select2-selection__arrow) {
  top: 50% !important;
  right: 4px !important;
  transform: translateY(-50%);
  --_size: 20px !important;
  width: var(--_size);
  height: var(--_size);
}

.form-group .input-group {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr auto;
}

.form-group .input-group>* {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  display: flex;
  flex-grow: 1;
  grid-column: span 1;

  background: transparent;
  border: none;
}

.route-group {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  grid-column: -1 / 1;
  margin-bottom: 0;
}

.value:is(.toggle-value) {
  display: flex !important;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 2px;
  width: max-content !important;
  min-width: 0 !important;
  max-width: max-content !important;
  flex-direction: row;
  cursor: pointer;
}

.toggle-value:hover {
  background: var(--button-bg-hover);
}

.typed-form {
  max-width: 768px;
  gap: 8px;

  margin: 0 auto;
  animation: fadeIn 250ms ease-in-out;
}

.advanced-view {
  animation: fadeIn 250ms ease-in-out;
}

.typed-form .detail-group {
  width: 100%;

  --display: grid;
  display: var(--display);
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  padding: 8px;
  background: var(--neutrals-white, #fff);

  display: flex;
  padding: 8px var(--padding-modal-right-left-padding, 16px);

  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 4px;

  margin-bottom: 1em;
}

.typed-form .detail-group:first-of-child {
  border-bottom: 1px solid var(--lines-color, #eaeaea);
}

.typed-form .detail-group .grid-col-2:nth-of-type(even) {
  background: green;
  text-align: right;
  justify-self: end;
}

.typed-form .detail-group>div:nth-of-type(even) {
  text-align: right;
  justify-self: start;
}

.typed-form .detail-group>.align-right * {
  text-align: right;
  justify-self: start;
}

.typed-form .base-info-group {
  margin: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 0;

  border-bottom: 1px solid var(--lines-color, #eaeaea);
}

.group-title {
  grid-column: span 2;

  color: var(--navigation-button-text-button-text-color, #2c2c2c);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-top: 0.5em;
}

.group-title::after {
  content: '\e056';
  font-family: 'prompt-icons';
  display: inline-block;
  margin-left: 0.5em;
}

.form-section {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-section .form-group {
  width: 100%;
  text-align: left !important;
}

.form-section label {
  overflow: hidden;
  color: var(--neutrals-grey-600, #808080);
  text-overflow: ellipsis;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
}

.wide {
  grid-column: -1 / 1;
}

.input-group:has(.input-group-prepend) input:last-of-type {
  display: none !important;
}

.options-count-wrapper .input-group-sm input:last-of-type {
  display: none;
}

.input-group-prepend .fa-search::before {
  content: '\e02b';
  font-family: 'prompt-icons';
}

.options-count-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  width: max-content;
  width: 100%;

  gap: var(--gap-small, 8px);
}

.form-group .form-group {
  display: content;
  margin: 0;
}

.input-group-sm {
  grid-template-columns: 1fr auto !important;
  border: 1px solid var(--lines-color, #eaeaea) !important;
  border-radius: 4px;
}

.input-group-sm input.form-control {
  border: none !important;
}

.options-count {
  color: var(--neutrals-grey-600, #808080);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0 !important;
  transform: none;
  width: 46px;
  text-align: center;
}

.select2-selection__arrow b {
  display: none;
}

.select2-selection__arrow::before {
  content: '\e02b';
  font-family: 'prompt-icons';
  display: inline-block;
  translate: -1.5em 0.25em;
}

.typed-form footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.wide {
  width: 100%;
}

.btn-outline {
  width: max-content;
  height: max-content;
  border: 1px solid var(--color-brand-accent) !important;
}

.typed-form .group-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.quote-line {
  grid-column: -1 / 1;
}

.dataTables_processing {
  display: none !important;
}

.modal-dialog {
  border-radius: 4px;
  overflow: hidden;
}

.modal-dialog:not(:has(.modal-content)) {
  min-height: 60vh;
  background: #fff;
  padding: 1em;
  pointer-events: all;
}

.jarvis-modal-content {
  height: 100%;
}

.lookup-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  background: var(--neutrals-white, #fff) !important;
}

.lookup-footer .btn {
  padding: 0 1em;
  pointer-events: all;
}

.accordion__header {
  cursor: pointer;
}

.accordion__header:hover {
  background: var(--button-bg-hover);
}

.right fieldset {
  display: flex;
  height: 80%;
  gap: var(--gap-small);
}

.typed-form .route-group select {
  width: 100%;
}

.typed-form .route-group .p-arrow-right {
  translate: 0 50%;
}

.tight-group {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--lines-color, #eaeaea);
  border-radius: 4px;
  background: var(--lines-color, #eaeaea);
  overflow: hidden;
  gap: 1px;
}

.form-group .tight-group :is(input.form-control[type='text'],
  input.form-control[type='number'],
  select.form-control) {
  --_border: none !important;
  --_radius: 0;
  margin: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  text-indent: 0 !important;
}

input.form-control[type='number'] {
  border: var(--_border, none);
  margin: 0 !important;
}

.line-accord-header {
  display: flex;
  height: 50px;
  padding: 8px var(--padding-modal-right-left-padding, 16px);
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 4px;
  background: var(--prompt-colors-primary, #5bbd8a);

  margin-bottom: 1em;
  cursor: pointer;
}

.line-accord-header :is(label, .icon-button) {
  color: var(--neutrals-white, #fff);
  font-size: 14px;
  font-style: normal;
  line-height: 150%;
  display: flex;
  align-items: center;
  gap: var(--gap-small);
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.line-accord-header label::before {
  content: '\e02b';
  font-family: 'prompt-icons';
  display: inline-block;
  margin-left: 0.5em;
}

.quote-line {
  max-height: max-content;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.quote-line--active {
  max-height: 999000px;
}

.quote-line>*:not(.line-accord-header) {
  display: none !important;
}

.quote-line--active>*:not(.line-accord-header) {
  display: var(--display, block) !important;
  /* animation: fadeIn 0.25s ease-out; */
}

.quote-line:only-child>*:not(.line-accord-header) {
  display: var(--display, block) !important;
}

.quote-line--active label::before {
  rotate: -180deg;
  translate: 0 -15%;
}

.modal-header {
  display: flex;
  align-items: center;
}

.form-group :has(label + input[type='checkbox'], input[type='checkbox'] + label) {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
}

.form-group :has(label + input[type='checkbox'], input[type='checkbox'] + label) label {
  margin: 0;
}

.routes-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
  padding: 16px 0;
  grid-column: -1 / 1;
}

.routes-wrapper:empty {
  display: none !important;
}

.typed-form .field .value {
  font-size: 14px;
  color: var(--typo-text-color, #2c2c2c);
}

/* MOVE TO INPUTS, ALSO TAKE ICON OVERRIDE ON OVERRIDE FILE */
.form-group:has(input[type='date'], input[type='datetime']) {
  position: relative;
  font-size: 14px;
  color: var(--typo-text-color, #2c2c2c);
}

.form-group:has(input[type='date'], input[type='datetime'])::after {
  content: '\e03a';
  font-family: 'prompt-icons';
  position: absolute;
  right: 2em;
  bottom: 50%;
  translate: 0 85%;
  font-size: 16px;
  color: var(--color-subtext, #808080);
  pointer-events: none;
}

select.unit-selection {
  padding: 2px;
  height: max-content !important;
  min-width: max-content;
  background: transparent;
  color: var(--typo-sub-text, #808080) !important;
  font-size: 12px;
  cursor: pointer;
}

select.unit-selection option {
  color: var(--typo-sub-text, #808080) !important;
  padding: 8px;
}

.debug-window {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: #fff;
  border: 1px solid var(--grey-100, #eaeaea);
  border-radius: 6px;
  overflow: auto;
  padding: 1em;
}

.action-footer .add-new-line {
  background-color: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.debug-window .string {
  color: green;
}

.debug-window .number {
  color: darkorange;
}

.debug-window .boolean {
  color: blue;
}

.debug-window .null {
  color: magenta;
}

.debug-window .key {
  color: red;
}

span[data-toggle-rows] {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #49976e;
}

.group-toggle {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
  cursor: pointer;
  color: #49976e;

  border-radius: 4px;
  background: var(--prompt-colors-primary-light, #def2e8);

  display: flex;
  padding: 2px 4px;
  align-items: center;
  gap: 4px;
}

span[data-toggle-rows] .triangle-down {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #49976e;
}

[data-parent-id] {
  /* animation: fadeDown 0.15s ease-out forwards; */
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.copilot-wrapper {}

.rules-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 40px;
  background-color: var(--color-white, #fff);
}

.selection-rules,
.markup-rules {
  width: 100%;
  height: 100%;
}

.markup-rules {
  display: grid;
  grid-template: repeat(3, min-content) / auto auto;
}

.rules-container .btn-primary {
  margin-left: auto;
  margin-top: auto;
  grid-column-end: -1;
  height: max-content;
  padding-inline: 1em !important;
}

.rules-wrapper {
  grid-column: -1 / 1;
  display: grid;
  grid-template: repeat(3, min-content) / auto auto;
  column-gap: 40px;
}

.copilot-wrapper h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.preference-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  counter-reset: preferences;
}

.preference-list li {
  counter-increment: preferences;

  display: flex;
  padding: 2px 4px;
  justify-content: flex-start;
  align-items: center;
  align-self: stretch;
  gap: 0;

  border-radius: 4px;
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%),
    var(--neutrals-grey-50, #f4f4f4);
}

.preference-list li::after {
  /*  content: ""counter(preferences)"";
  color: #666;
  font-weight: bold;
  margin-left: auto;

  border-radius: 50%;*/
}

.preference-list li span:first-child {
  cursor: move;
  border-radius: 4px;
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%),
    var(--neutrals-grey-50, #f4f4f4);
}

.copilot-wrapper .input-group {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  grid-gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  height: min-content;
}

.copilot-wrapper .input-group select,
.copilot-wrapper .input-group input {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.copilot-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.copilot-wrapper .input-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.copilot-wrapper .input-group input::placeholder {
  color: #ccc;
}

.margin-summary {
  display: flex;
  padding: var(--padding-modal-right-left-padding, 16px);
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  width: 100%;

  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
}

.copilot-wrapper .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.copilot-wrapper .title .group-title {
  margin-top: 0;
  margin-bottom: 0 !important;
}

.toggle-button {
  margin-left: 0.5em;
}

.toggle-button::before {
  display: none;
  border: none;
  outline: none;
}

.qrs-stats-container {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  background: #fff;
  width: 100%;
  gap: var(--gap-small);
  height: min-content;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 0;
}

.qrs-stat-box {
  display: flex;
  padding: 8px;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: max-content;
  gap: 4px;

  border-radius: 4px;
  background: var(--neutrals-grey-50, #f4f4f4);
  border: none !important;
  box-shadow: none !important;
}

.qrs-stat-box:first-child {
  margin-left: 0;
}

.qrs-stat-box:last-child {
  margin-right: 0;
}

.stat-label {
  color: #666;
  font-size: 14px;

  overflow: hidden;
  color: var(--typo-text-color, #2c2c2c);
  text-overflow: ellipsis;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.stat-value {
  color: var(--prompt-colors-primary, #5bbd8a);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  margin: 0;
}

.copilot-wrapper .btn-primary {
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copilot-wrapper :is(select, input) {
  min-height: 2.5em !important;
  height: 2.5em !important;
  padding: 0 1em !important;
  background: transparent;
  font-size: 12px !important;
  border-radius: 4px !important;
}

.copilot-wrapper .filters-container {
  display: flex;
  width: 70%;
  gap: 0.5em;
  grid-column: -1 / 1;
  align-items: center;
  margin-top: 1em;
}

.copilot-wrapper .filters-container .group-title {
  width: max-content;
  white-space: nowrap;
  margin: 0;
  margin-right: 1em;
  padding-left: 3em;
}

.copilot-wrapper .filters-container select,
.filter-facade {
  position: relative;
  width: 100%;
  border: 1px solid var(--lines-color, #eaeaea);
  text-align: center;
  cursor: pointer;

  color: var(--typo-text-color, #2c2c2c);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

.filter-facade {
  padding: 0.5em 1em;
  border-radius: 4px;
  text-align: left;
}

.filter-facade::after {
  font-family: prompt-icons;
  content: '\e02b';
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 1em;
}

.micro-fields-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  margin-top: 0.5em;
}

.micro-select {
  position: relative;
  padding: 2px !important;
  border-radius: 4px;
  font-size: 12px;
  background-color: color-mix(in srgb, var(--button-bg-hover), #fff 70%);
  color: var(--text-color, #2c2c2c);
  width: 8em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.micro-select:hover {
  background-color: var(--button-bg-hover);
}

.micro-select::before {
  content: '\e02b';
  font-family: prompt-icons;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 1em;
}

.input-group-sm>.custom-select,
.input-group-sm>.form-control:not(textarea),
.skin-helios .form-control:not(textarea),
#QuoteHeader_ContainerType {
  min-height: 3em !important;
  height: 3em !important;
}

.copilot-wrapper .flex:has(img) {
  grid-column: -1 / 1;
  margin-top: 1em;
}

.copilot-wrapper .flex img {
  width: 60%;
  display: none;
  object-fit: contain;
}

footer.action-footer.add-new-line {
  background-color: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

footer.action-footer.add-new-line:not(:last-of-type) {
  display: none;
}

.controlled-table:not(:last-of-type) {
  margin-bottom: 1em;
}

.only-sibling-empty {
  display: none;
}

*:empty+.only-sibling-empty {
  display: var(--display, block);
}

.customer-name {
  appearance: none !important;
  background: none !important;
}

.customer-name,
.false-input {
  appearance: none !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: max-content !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-color) !important;

  margin-right: 0.5em;
  align-items: center;
  vertical-align: middle;
  display: flex;
}

.false-input::placeholder {
  color: var(--text-color) !important;
}

.false-input:hover {
  background: var(--button-bg-hover) !important;
}

.false-input:empty::before {
  display: none;
}

:is(.details-header, .typed-form, .advanced-view) .field label:is(.toggle-value) {
  position: relative;
  width: 100% !important;
  min-width: 4em !important;
  max-width: 9em !important;
  min-height: 2.5em !important;
  cursor: pointer;
}

:is(.details-header, .typed-form, .advanced-view) .field label:is(.toggle-value) select {
  position: absolute;
  inset: 0;
  background: none;
  appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;

  font-size: 14px !important;
  font-weight: 700 !important;
}

.value.toggle-value {
  margin: 0 !important;
}

.value.toggle-value>.icon {
  z-index: 1;
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  transition: transform 0.25s ease-in-out;
}

.value.toggle-value:hover>.icon {
  transform: rotateY(1turn);
}

.field:has(.toggle-value) {
  width: 60%;
}

.customer-details .false-input {
  width: 60% !important;
  background: red;
}

.false-input {
  display: flex !important;
  border-radius: 4px;
  overflow: hidden;
  min-width: max-content !important;
  padding: 0px !important;
}

.value:has(.false-input) {
  overflow: visible;
  padding-inline: 2px;
  width: max-content !important;
  min-width: 8em !important;
}

.line-tables-wrapper .detail-group {
  background: #fff;
  padding: 1em;
  margin-bottom: 1em;
  grid-template-columns: repeat(3, 1fr);
}

.line-tables-wrapper .form-group {
  grid-column: span 1 !important;
  margin: 0;
  padding: 0;
}

.line-tables-wrapper hr {
  display: none;
}

.line-tables-wrapper .grid-col-2 {
  grid-template-columns: repeat(3, 1fr);
}

.line-tables-wrapper .form-group {
  height: max-content;
  margin: 0;
}

.line-tables-wrapper .form-group input {
  height: 100%;
}

.line-tables-wrapper .group-title {
  grid-column: span 3;
}

.line-tables-wrapper .detail-group.form-section:not(:nth-of-type(1), :nth-of-type(2)) {
  display: none !important;
}

.detail-group:has(p-select) {
  position: sticky;
  isolation: isolate;
  z-index: 1;
}

/* * {
  outline: 1px solid rgba(0 0 0 / .1);
  background:  rgba(0 0 0 / .012);
} */

.visibility-false,
.no-see {
  opacity: 0 !important;
  pointer-events: none !important;
}

p-clone {
  display: contents;
}

p-select {
  display: contents;
}

.p-select-wrapper {
  position: relative;
  width: 100%;
  height: 2.5em;
}

p-select .p-select-wrapper:nth-child(2) {
  display: none;
}

[data-template-name] {
  display: none;
}

.btn-dropdown-toggle {
  display: inline-block;
  margin-left: 0.5em;
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background-color: var(--button-bg-hover);
  cursor: pointer;
}

:is(select,
  input[type='text'],
  input[type='date'],
  input[type='time'],
  input[type='datetime']) {
  min-height: 2.5em !important;
}

.calc-table {
  margin-top: 1em;
  flex-direction: column;
}

.nested-tables {
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.nested-tables .flex {
  gap: 0.5em;
}

.nested-tables svg {
  height: max-content;
  background-color: #fff;
  padding: 0.5em;
  border-radius: 4px;
}

.nested-tables svg * {
  pointer-events: none;
}

.nested-tables svg rect {
  cursor: pointer;
  pointer-events: all;
}

.nested-tables svg>rect:hover {
  background-color: var(--button-bg-hover);
  filter: brightness(0.5) grayscale(1);
}

.options-list {
  position: fixed;
  top: var(--top, 200px);
  left: var(--left, 200px);
  width: var(--width, 200px);
  min-height: 6em;
  display: none;
  flex-direction: column;
  height: max-content;
  max-height: 12em;
  overflow: auto;
  background-color: var(--color-white);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;

  box-shadow: 0 4px 8px rgba(0 0 0 / 0.03);
  animation: fade 125ms ease-in-out;
  isolation: isolate;
  z-index: 9999;
}

.options-list:not(:empty) {
  min-height: max-content;
}

.options-list:empty::before {
  content: 'No results found';
  margin: auto;
  font-size: 12px;
}

.p-select-wrapper .options-list.show {
  display: flex;
  flex-direction: column;
}

#statusMessage {
  position: absolute;
  z-index: 999;
}

.options-list li.option {
  --_height: 3em;
  --_padding: 0.5em;

  display: flex !important;
  width: 100%;
  height: var(--_height) !important;
  max-height: var(--_height) !important;
  padding-block: 8px;
  padding-inline: 16px;
  cursor: pointer;
  transition: background-color 125ms ease-in-out;
  align-items: center;
}

.options-list label {
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.options-list li:hover {
  background-color: var(--button-bg-hover);
}

/* COPILOT PAGE */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop, 997);
  background-color: rgba(0 0 0 / 0);
  transition: background-color 450ms ease-in-out;
}

:has(p-drawer:hover) .backdrop {
  pointer-events: none;
}

:has(p-drawer:hover) .backdrop {
  background-color: rgba(0 0 0 / 0.2);
  pointer-events: all;
}

p-drawer {
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: calc(100vh - var(--top-nav-height));
  width: var(--_width, 60vw);

  position: fixed;
  right: 0;
  bottom: 0;

  background-color: var(--color-white);

  border: 1px solid var(--lines-color, #eaeaea);

  animation: slideInFromRight 450ms ease-in-out;

  will-change: transform, opacity, width;
  transition: 450ms ease-in-out;

  z-index: var(--z-floating-content, 998);
}

p-drawer .side-drawer>* {
  padding-inline: 1em;
}

.side-drawer__header {
  padding: 1em;
}

p-drawer.side-drawer--maximized {
  --_width: calc(100vw - var(--computed-sidebar-width));
}

p-drawer.side-drawer--minimized {
  --_width: 60vw;
  width: var(--_width);
}

p-drawer.side-drawer--maximized .btn-maximize {
  display: none;
}

p-drawer.side-drawer--minimized .btn-minimize {
  display: none;
}

p-drawer .line-accord-header {
  margin-top: 0.5em;
  padding: 8px 10px !important;
  border-radius: 0;
}

p-drawer .line-accord-header label {
  display: flex;
}

p-drawer .line-accord-header label::before {
  order: 2;
  margin: 0;
}

p-drawer .table-wrapper {
  border: 1px solid var(--lines-color, #eaeaea) !important;
}

p-drawer table {
  border: none !important;
}

p-drawer .grid-actions {
  display: none;
}

.side-drawer__content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--top-nav-height) - 4em);
  overflow: auto;
}

/* 
.side-drawer__content h3 {
  margin: 0;
  margin-top: 1em ;
  font-size: 18px;
}
.side-drawer__content h3 + .accordion__header {
  margin: 0;
} */

.side-drawer__header-actions {
  display: flex;
}

.filters-container select {
  text-align: left !important;
}

.line-accord-header+.quotings-wrapper-grid {
  display: none;
  max-height: 0;
  transition: max-height 0.5s ease-out;
}

.line-accord-header.active+.quotings-wrapper-grid {
  display: var(--display, grid);
  max-height: 100%;
}

p-drawer .line-accord-header.active label::before {
  transform: rotate(-180deg);
}

tr:has(.footer-cell-content) {
  background-color: transparent !important;
}

.footer-cell-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 4px;
  background-color: transparent !important;
}

.footer-cell-content button {
  color: var(--prompt-colors-primary, hsl(149, 43%, 46%)) !important;
}

.additional-content img {
  width: 100%;
  height: 60vh;
  display: none;
}

.route-context-table-wrapper {
  margin-bottom: 0.5em;
  animation: fadeIn 250ms ease-in-out;
}

.route-title {
  color: var(--prompt-colors-primary, hsl(149, 43%, 46%));
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
  margin: 0;
  margin: 0.124em 0;
}

.leg-title {
  font-size: 14px;
  margin-top: 0.125em !important;
  opacity: 0.86;
  height: 100%;
}

.side-drawer--minimized .route-context-table-wrapper {
  display: none;
}

.side-drawer--maximized .route-context-table-wrapper {
  display: block;
}

.align-center {
  align-items: center;
}

#OrganizationLookupFilters .form-group {
  min-width: 200px;
}

.side-drawer__padding {
  height: 20vh;
}

/* AUTH PAGES */
.auth-page-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #1c575d;
}

.auth-page-wrapper .auth-page-content {
    position: relative;
    width: 480px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    padding: 32px;
    z-index: 1;
}

.auth-page-wrapper .auth-page-content .auth-page-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-page-wrapper .auth-page-content .auth-page-header .left,
.auth-page-wrapper .auth-page-content .auth-page-header .right {
    width: min-content;
}

.auth-page-wrapper .auth-page-content .auth-page-header .logo {
    width: 120px;
}

.auth-page-wrapper .auth-page-content .auth-main-content {
    height: max-content;
}

.auth-page-wrapper .auth-page-content .auth-main-content .auth-page-title {
    font-size: 36px;
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
}

.auth-page-wrapper .auth-page-content .auth-main-content .form-group {
    position: relative;
    border-radius: 6px;
    --text-indent: 4em;
}

.auth-page-wrapper .auth-page-content .auth-main-content .form-group .icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #808080;
}

.auth-page-wrapper .auth-page-content .auth-main-content .form-group label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: var(--text-indent);
    display: none;
}

.auth-page-wrapper .auth-page-content .auth-main-content .form-group:focus-within {
    box-shadow: 0 0 0 0 #fff, 0 0 4px 2px color-mix(in oklab, #fff 50%, var(--prompt-colors-accent-1));
}

    .auth-page-wrapper .auth-page-content .auth-main-content .form-group:focus-within .icon {
        color: var(--prompt-colors-accent-1) !important;
    }

.auth-page-wrapper .auth-page-content .auth-main-content .form-group input.form-control {
    height: 45px;
    width: 100%;
    border-radius: 8px;
    text-indent: var(--text-indent);
    padding-left: 0;
}

.auth-page-wrapper .auth-page-content .auth-main-content .btn-forgot-password {
color: #808080;
font-size: 12px;
padding: 4px;
border-radius: 4px;
}

.auth-page-wrapper .auth-page-content .auth-main-content .btn-forgot-password:hover {
    background-color: var(--button-bg-hover);
}

.auth-page-wrapper .auth-page-content .auth-main-content .btn-primary {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center !important;
height: 45px;
padding: 8px 16px;
margin-top: 32px;
}

.auth-page-wrapper .auth-page-content .auth-page-footer {
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
gap: 8px;
}

.auth-page-wrapper .auth-page-content .auth-page-footer .btn {
    padding: 8px;
    width: max-content;
}

.auth-page-wrapper .auth-page-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    inset: 0;
    z-index: 0;
}

.shipment-filters {
    padding: 4px;
    border: 1px solid var(--lines-color, #eaeaea);
    border-radius: 4px;
    width: max-content;
    display: flex;
    align-items: center;
}

    .shipment-filters .active-filter-badge::before {
        display: none;
    }


.shipment-filters, .filter-chips-wrapper {
  display: flex;
  gap: 4px;
}

.container-page {
  --p-grid-height: 80vh;


}

.search-container-form {
  position: relative;
  border-radius: 4px;
  height: 3.5em;
  --search-bar-width: clamp(16em, 25vw, 600px);
  margin: 0 auto;
  margin-bottom: 2em;
}

.search-container-form {
  border: 1px solid var(--border-lines, rgba(0 0 0 / .1));
  box-shadow: 0 4px 8px rgba(0 0 0 / .02);
}

.disabled .empty-state {
  display: none;
}

.search-container-form .search-button {
  position: absolute;
  right: 1em;
  top: 50%;
  translate: 0 -50%;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
}

.search-container-form .reset-button {
    position: absolute;
    right: calc(6em + 2px);
    top: 50%;
    translate: 0 -50%;
    height: calc(100% - 8px);
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
}

.validation-summary-errors ul {
  display: grid
}

.shipment-filters {
  padding: 4px;
  border: 1px solid var(--lines-color, #eaeaea);
  border-radius: 4px;
  width: max-content;
  display: flex;
  align-items: center;

  .active-filter-badge::before {
    display: none;
  }
}

.shipment-filters, .filter-chips-wrapper {
  display: flex;
  gap: 4px;
}

#additionalOptionsForm {
  --active-color: var(--grey-100);

  h6 {
    margin-top: 1em;
  }

  .line-charge-list {
    /* background-color: #f1f1f179; */
    list-style: none;
    padding: .5em;
    color: rgba(0 0 0 / .76);
    width: 58vw;
    border-radius: 4px;
    margin-top: 0.5em;
    border-top: 1px solid #ccccccd5;
    border-radius: 0;
    /* display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 1fr;

    h6 {
      grid-column: -1 / 1;
      margin: 0;
    } */

    .line-charge-item {
      /* white-space: preserve-breaks;
      display: flex;
      flex-direction: column;
      align-items: flex-start; */
    }


  }


  .card:has(:checked) {
    --active-color: var(--color-brand-accent);
    background: rgba(0 0 0 / .05);
    border: 1px solid var(--active-color);

  }

  .charges-table {
    width: max(100%, 55vw);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;

    td, th {
      padding: .25em;
    }
  }
}

#additionalOptionsForm .card::before {
  --size: 8px;

  content: '';
  position: absolute;
  right: 2em;
  top: 2em;
  /* transform: translate(-50%, -50%); */
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1 / 1;
  background-color: var(--active-color);
  border-radius: 50%;

}

#additionalOptionsForm .card::before {
  --size: 3em;

  content: '';
  position: absolute;
  right: 0;
  top: 2em;
  /* transform: translate(-50%, -50%); */
  width: 4px;
  height: var(--size);
  /* aspect-ratio: 1 / 1; */
  background-color: var(--active-color);
  border-radius: 0;

}


@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}