@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 100;
  src: local("Product Sans Thin"), local("ProductSans-Thin"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxidypQkot1TnFhsFMOfGShddOeMaEw.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Product Sans Light"), local("ProductSans-Light"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxicypQkot1TnFhsFMOfGShdvPWbT2lB.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Product Sans"), local("ProductSans-Regular"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxiDypQkot1TnFhsFMOfGShVF9eO.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 500;
  src: local("Product Sans Medium"), local("ProductSans-Medium"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxicypQkot1TnFhsFMOfGShd5PSbT2lB.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Product Sans Bold"), local("ProductSans-Bold"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxicypQkot1TnFhsFMOfGShdrPKbT2lB.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Product Sans";
  font-style: normal;
  font-weight: 900;
  src: local("Product Sans Black"), local("ProductSans-Black"),
    url(https://fonts.gstatic.com/s/productsans/v9/pxicypQkot1TnFhsFMOfGShdlPCbT2lB.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

* {
  font-variant-ligatures: none;
}

:root {
  --blur: 5px;
  --md-ref-typeface-brand: "Product Sans";
  --md-ref-typeface-plain: "Product Sans";
  --md-sys-color-primary: #1f5fa9;
  --md-sys-color-surface-tint: #1f5fa9;
  --md-sys-color-on-primary: rgb(255 255 255);
  --md-sys-color-primary-container: rgb(213 227 255);
  --md-sys-color-on-primary-container: rgb(0 27 59);
  --md-sys-color-secondary: rgb(61 95 144);
  --md-sys-color-on-secondary: rgb(255 255 255);
  --md-sys-color-secondary-container: rgb(213 227 255);
  --md-sys-color-on-secondary-container: rgb(0 28 59);
  --md-sys-color-tertiary: rgb(59 96 143);
  --md-sys-color-on-tertiary: rgb(255 255 255);
  --md-sys-color-tertiary-container: rgb(212 227 255);
  --md-sys-color-on-tertiary-container: rgb(0 28 57);
  --md-sys-color-error: rgb(144 74 67);
  --md-sys-color-on-error: rgb(255 255 255);
  --md-sys-color-error-container: rgb(255 218 214);
  --md-sys-color-on-error-container: rgb(59 9 7);
  --md-sys-color-background: rgb(249 249 255);
  --md-sys-color-on-background: rgb(25 28 32);
  --md-sys-color-surface: rgb(249 249 255);
  --md-sys-color-on-surface: rgb(25 28 32);
  --md-sys-color-surface-variant: rgb(224 226 236);
  --md-sys-color-on-surface-variant: rgb(67 71 78);
  --md-sys-color-outline: rgb(116 119 127);
  --md-sys-color-outline-variant: rgb(196 198 207);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(46 48 53);
  --md-sys-color-inverse-on-surface: rgb(240 240 247);
  --md-sys-color-inverse-primary: rgb(167 200 255);
  --md-sys-color-primary-fixed: rgb(213 227 255);
  --md-sys-color-on-primary-fixed: rgb(0 27 59);
  --md-sys-color-primary-fixed-dim: rgb(167 200 255);
  --md-sys-color-on-primary-fixed-variant: rgb(36 71 119);
  --md-sys-color-secondary-fixed: rgb(213 227 255);
  --md-sys-color-on-secondary-fixed: rgb(0 28 59);
  --md-sys-color-secondary-fixed-dim: rgb(166 200 255);
  --md-sys-color-on-secondary-fixed-variant: rgb(35 71 118);
  --md-sys-color-tertiary-fixed: rgb(212 227 255);
  --md-sys-color-on-tertiary-fixed: rgb(0 28 57);
  --md-sys-color-tertiary-fixed-dim: rgb(165 201 254);
  --md-sys-color-on-tertiary-fixed-variant: rgb(32 72 118);
  --md-sys-color-surface-dim: rgb(217 218 224);
  --md-sys-color-surface-bright: rgb(249 249 255);
  --md-sys-color-surface-container-lowest: rgb(255 255 255);
  --md-sys-color-surface-container-low: rgb(243 243 250);
  --md-sys-color-surface-container: rgb(237 237 244);
  --md-sys-color-surface-container-high: rgb(231 232 238);
  --md-sys-color-surface-container-highest: rgb(225 226 233);
  --mdc-theme-green: #4caf50;
  --mdc-theme-red: #f44336;
  --mdc-theme-orange: #ff9800;
  --customer-badge-visibility: block;
  --customer-badge-margin: 0;
  --product-checkbox-display: none;
}

body {
  font-family: "Product Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1f5fa9;
  min-height: 100vh;
  /* background-image: url("assets/assets/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; */
}

#splash {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#splash md-circular-progress {
  --_active-indicator-color: #fff;
}

#splash img {
  width: 150px;
  height: 150px;
  margin-bottom: 50px;
}

#loginScreen,
#enrollTOTP {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#loginScreen img {
  height: 40px;
  margin-bottom: 5px;
}

#loginScreen .loginScreen__form__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 50px;
}

#loginScreen .loginScreen__form,
#enrollTOTP .enrollTOTP_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 28px;
  padding: 50px 80px;
}

#loginScreen #loginScreen__email,
#loginScreen #loginScreen__password {
  width: 100%;
  min-width: 300px;
}

.subtitol {
  font-size: 0.9em;
  color: #aaa;
}

.fw {
  width: 100%;
}

.ml15 {
  margin-left: 15px;
}

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

.alignSwitch {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.alignSwitch md-switch {
  margin-right: 10px;
}

md-text-button {
  cursor: pointer;
}

.title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 20px;
}

.main__header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 20px 30px;
  background-color: #fff;
  margin-bottom: 30px;
  width: calc(100% - 60px);
  position: fixed;
  z-index: 2;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.main__header img {
  height: 20px;
}

#main {
  flex-direction: column;
}

.main__content {
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  margin-top: 110px;
}

.main__content__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 28px;
  padding: 20px 50px;
  width: calc(98% - 100px);
  max-width: 1400px;
  margin-bottom: 50px;
}

.main__content__card__title {
  font-size: 1.5em;
  font-weight: 400;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}

.off {
  color: #1e5fa9;
}

.center {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.bigIcon {
  height: 40px;
  font-size: 40px;
  width: 40px;
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.minwidth {
  min-width: 350px;
}

.error {
  --md-dialog-container-color: var(--md-sys-color-error-container);
  --md-dialog-headline-color: var(--md-sys-color-error);
  --md-dialog-supporting-text-color: var(--md-sys-color-error);
  --md-filled-button-container-color: var(--md-sys-color-error);
  --md-filled-button-label-text-color: var(--md-sys-color-error-container);
  --md-focus-ring-color: var(--md-sys-color-error);
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.verticalDiv {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.sub {
  font-size: 0.8em;
  color: #555;
  font-weight: bold;
}

.listMainDiv {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.listLeftDiv {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.listRightDiv {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.listMR16 {
  margin-right: 16px;
}

.main_dialog_product_details_headline,
.main_dialog_customer_details_headline {
  justify-content: space-between;
}

.fwdialog {
  width: 95%;
  max-width: 1200px;
  min-height: 65%;
}

.fwdialognoh {
  width: 95%;
  max-width: 1200px;
  min-height: 45%;
}

.fwdialognomh {
  width: 95%;
  max-width: 1200px;
  min-height: 100px;
}

.fwdialogfullheight {
  width: 95%;
  max-width: 1200px;
  min-height: 95%;
}

.mid {
  font-size: 1.3em;
  margin-bottom: 5px;
  font-weight: 700;
  color: #1e5fa9;
}

.cardHeader {
  font-size: 1.3em;
  margin-bottom: 5px;
  font-weight: 700;
  color: #1e5fa9;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.cardHeader md-icon {
  margin-right: 10px;
}

.mr15 {
  margin-right: 15px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.clientButton,
.providerButton {
  margin: 3px;
}

.badge {
  font-size: 0.8rem;
  padding: 2px 15px;
  border-radius: 30px;
  font-weight: bold;
  filter: saturate(2);
  cursor: pointer;
  white-space: nowrap;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.badgeOutlined {
  font-size: 0.8rem;
  padding: 0px 15px;
  border-radius: 30px;
  font-weight: regular;
  filter: saturate(2);
  cursor: pointer;
  border: 2px solid #000000;
  display: var(--customer-badge-visibility);
  white-space: nowrap;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.badgeFusionLeft {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 10px;
  margin-left: var(--customer-badge-margin);
}

.badgeFusionRight {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 10px;
  border-right-width: 0;
}

.badge:hover {
  filter: brightness(0.9) saturate(2);
}

.badge2 {
  font-size: 0.8rem;
  padding: 0px 15px;
  border-radius: 30px;
  font-weight: bold;
  border: 1px solid #777;
  color: #222;
  white-space: nowrap;
}

#main_dialog_product_details_provider:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.alignTop {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.dragAndDropArea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed #aaa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  width: calc(100% - 40px);
  min-height: 200px;
}

.dragging {
  border: 2px dashed #1f5fa9;
}

:host {
  user-select: auto !important;
}

.listHeader {
  margin-top: 5px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.eLess {
  margin-top: 5px;
}

.lastItem {
  margin-bottom: 35px;
}

md-list {
  border-radius: 20px;
}

.listMainDivHeader {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.listHeaderIcon {
  margin-right: 3px;
}

.main__header__left {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.verticalSeparator {
  margin: 0px 15px;
  border-left: 2px solid #aaa;
  border-radius: 90px;
  height: 20px;
}

#main__header__left__brandedLogo {
  height: 40px;
  margin-right: 10px;
}

#main_dialog_product_details_provider_support {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  width: 100%;
}

.supportDiv {
  width: 25%;
}

.supportHeader {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
}

.supportHeaderIcon {
  margin-right: 5px;
}

a {
  color: #1e5fa9;
}

a:hover {
  color: #1e5fa9;
}

a:visited {
  color: #1e5fa9;
}

#footerDiv {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  background-color: #fff;
  margin-top: 30px;
  width: calc(100% - 60px);
}

#footerSpan {
  font-size: 0.8em;
  color: #aaa;
  text-align: center;
}

.card {
  background-color: #dee4ec;
  border-radius: 20px;
  padding: 20px;
  width: calc(100% - 40px);
}

.yellowCard {
  background-color: #f7e7b9;
}

.yellowCard .cardHeader {
  color: #b69126;
  margin-bottom: 0;
  font-weight: 400;
  flex-wrap: wrap;
  gap: 12px;
}

.yellowCard md-filled-button {
  --md-filled-button-container-color: #b69126;
  --md-filled-button-label-text-color: #f7e7b9;
}

#main_dialog_product_details.viewing-history .current-product-action {
  display: none !important;
}

.history-warning-actions,
.history-warning-admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#main_dialog_product_details.viewing-history #main_dialog_product_details_provider {
  cursor: default !important;
  pointer-events: none;
}

.destructiveCard {
  background-color: #f7e7e7;
  color: var(--mdc-theme-red);
}

.destructiveCard .cardHeader {
  color: var(--mdc-theme-red);
}

#main_dialog_product_details_history {
  background-color: #d5dee9;
}

#main__content__card__my_products__progress {
  width: 50%;
  margin: 75px 0;
}

#main_dialog_product_details_documents {
  margin: 20px 0 0 0;
}

/* Modify last #main_dialog_product_details_documents child */
#main_dialog_product_details_documents > *:last-child {
  margin-bottom: 0;
}

.fileDiv {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
}

.fileLeftDiv {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.fileIcon {
  margin-right: 5px;
  font-size: 22px;
}

.buttonIconHidden {
  padding-left: 20px;
}

.listHeader span {
  color: #1e5fa9;
}

.listHeader {
  --md-sys-color-on-surface-variant: #1e5fa9;
}

.iconManagedBy {
  height: 22px;
  width: 22px;
  margin-left: 10px;
  filter: saturate(0);
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

#main_dialog_product_details_observations {
  margin-top: 10px;
  --md-outlined-text-field-focus-outline-color: #1e5fa9;
  --md-outlined-text-field-hover-outline-color: #1e5fa9;
  --md-outlined-text-field-outline-color: #a9bbd3;
}

#main_dialog_product_details_provider_observations {
  margin-top: 10px;
  --md-outlined-text-field-focus-outline-color: #1e5fa9;
  --md-outlined-text-field-hover-outline-color: #1e5fa9;
  --md-outlined-text-field-outline-color: #a9bbd3;
}

.inactiveHeader {
  --md-sys-color-on-surface-variant: #aaa;
}

.inactiveHeader span {
  color: #aaa;
}

.historyIcon {
  font-size: 20px;
  display: flex;
  align-items: center;
  color: #777;
}

.smenu {
  display: none;
  background-color: var(--md-sys-color-surface);
  border-radius: 10px;
  padding: 15px 0;
  position: absolute;
  z-index: 100;
  width: fit-content;
  text-wrap: nowrap;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  max-height: 50vh;
  overflow-y: auto;
}

.smenu_button {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 40px);
  margin-bottom: 2px;
  text-wrap: none;
  cursor: pointer;
  padding: 12px 20px;
  user-select: none;
  font-size: 14px;
}

.smenu_button:hover {
  background-color: var(--md-sys-color-primary-container);
}

.smenu_icon {
  height: 20px;
  margin-right: 10px;
}

.smenu_search {
  padding: 10px 20px;
  width: calc(100% - 40px);
  min-width: 200px;
}

#my_products__filters__subproducts__menu,
#my_products__filters__versions__menu {
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  text-wrap: wrap;
}

#my_products__filters__subproducts__menu .smenu_button,
#my_products__filters__versions__menu .smenu_button {
  align-items: flex-start;
  white-space: normal;
  overflow-wrap: anywhere;
}

#my_products__filters__subproducts__menu .smenu_button span,
#my_products__filters__versions__menu .smenu_button span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.products-count {
  width: 100%;
  margin: 12px 0 0;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
}

.bulk-edit-names {
  padding-bottom: 6px;
}

.bulk-edit-names p {
  margin: 6px 0 12px;
}

.bulk-edit-fields {
  gap: 20px;
}

@media (max-width: 620px) {
  .bulk-edit-fields {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
}

.smenu_separator {
  margin-bottom: 10px;
}

.ml5 {
  margin-left: 5px;
}

.searchChip {
  --md-input-chip-outline-color: #1e5fa9;
  --md-input-chip-focus-outline-color: #1e5fa9;
  --md-input-chip-hover-outline-color: #1e5fa9;
  --md-input-chip-label-text-color: #1e5fa9;
  --md-input-chip-focus-label-text-color: #1e5fa9;
  --md-input-chip-hover-label-text-color: #1e5fa9;
  --md-input-chip-pressed-label-text-color: #1e5fa9;
  --md-input-chip-pressed-outline-color: #1e5fa9;
  --md-input-chip-pressed-leading-icon-color: #1e5fa9;
  --md-input-chip-leading-icon-color: #1e5fa9;
  --md-input-chip-focus-leading-icon-color: #1e5fa9;
  --md-input-chip-hover-leading-icon-color: #1e5fa9;
  --md-input-chip-trailing-icon-color: #1e5fa9;
  --md-input-chip-focus-trailing-icon-color: #1e5fa9;
  --md-input-chip-hover-trailing-icon-color: #1e5fa9;
  --md-input-chip-pressed-trailing-icon-color: #1e5fa9;
  margin-top: 10px;
}

.productsLoadMore {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 18px 12px 6px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.chipDestructive {
  --md-assist-chip-label-text-color: var(--mdc-theme-red);
  --md-assist-chip-outline-color: var(--mdc-theme-red);
  --md-assist-chip-leading-icon-color: var(--mdc-theme-red);
  --md-assist-chip-focus-leading-icon-color: var(--mdc-theme-red);
  --md-assist-chip-hover-leading-icon-color: var(--mdc-theme-red);
  --md-assist-chip-focus-label-text-color: var(--mdc-theme-red);
  --md-assist-chip-hover-label-text-color: var(--mdc-theme-red);
  --md-assist-chip-pressed-label-text-color: var(--mdc-theme-red);
  --md-assist-chip-pressed-leading-icon-color: var(--mdc-theme-red);
  --md-filled-button-container-color: var(--mdc-theme-red);
}

.destructiveButton {
  --md-filled-button-container-color: var(--mdc-theme-red) !important;
  --md-filled-button-label-text-color: #fff;
  --md-filled-button-focus-container-color: var(--mdc-theme-red)  !important;
  --md-filled-button-hover-container-color: var(--mdc-theme-red)  !important;
  --md-filled-button-pressed-container-color: var(--mdc-theme-red)  !important;
  --md-text-button-label-text-color: var(--mdc-theme-red) !important;
}

.highlight {
  background-color: yellow;
  padding: 2px 4px;
  font-weight: bold;
  border-radius: 6px;
  animation: highlightanimation 1s ease forwards;
}

.contact, .contact-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.contact-meta {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  color: #777;
  font-size: 14px;
}

.contact-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

@keyframes highlightanimation {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: transparent;
  }
  100% {
    background-color: yellow;
  }
}

.delayed1 {
  opacity: 0;
  animation: delay 1s ease forwards;
  animation-delay: 0.1s;
}

.delayed2 {
  opacity: 0;
  animation: delay 1s ease forwards;
  animation-delay: 0.25s;
}

.blb {
  --md-text-button-label-text-size: 15px;
  --md-text-button-icon-size: 16px;
}

.destructiveCheckbox {
  --md-checkbox-selected-container-color: var(--mdc-theme-red);
  --md-checkbox-selected-focus-container-color: var(--mdc-theme-red);
  --md-checkbox-selected-hover-container-color: var(--mdc-theme-red);
  --md-checkbox-selected-pressed-container-color: var(--mdc-theme-red);
}

.destructiveTextField {
  --md-outlined-text-field-focus-outline-color: var(--mdc-theme-red);
  --md-outlined-text-field-hover-outline-color: var(--mdc-theme-red);
  --md-outlined-text-field-outline-color: var(--mdc-theme-red);
  --md-outlined-text-field-label-text-color: #000;
  --md-outlined-text-field-focus-label-text-color: #000;
  --md-outlined-text-field-hover-label-text-color: #000;
}

@keyframes delay {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.sensitive {
  filter: blur(var(--blur)) !important;
}

.renewal-history-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
}

.header {
  font-weight: bold;
}

.cardTitle {
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 10px;
}

.blueDialog {
  --md-dialog-container-color: #1e5fa9;
}

.blueDialog span {
  color: #eee;
}

.blueDialog md-text-button {
  --md-text-button-label-text-color: #eee;
}

.blueDialog md-filled-button {
  --md-filled-button-container-color: #eee;
  --md-filled-button-label-text-color: #1e5fa9;
}

.shadow {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

#main_dialog_manage_users_progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding-top: 50px;
}

.user div,
.user-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

div.user-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

div.user-right {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  min-width: 30%;
}

.blue2 {
  background-color: #d5dee9;
}

.contactPersonsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.contact_person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  background-color: #d5dee9;
  cursor: pointer;
}

.contact_person span {
  color: #777;
}

.contact_person :first-child {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 3px;
  color: #111;
}

#main_dialog_product_details_documents_upload_dropdown_area {
  width: 100%;
  height: 300px;
  background-color: #a9bbd3;
  border-radius: 40px;
  border-width: 0;
  border-color: #1f5fa9;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main_dialog_product_details_documents_upload_dropdown_area.dragover {
  border-width: 3px;
  width: calc(100% - 6px);
  height: calc(300px - 6px);
}

.ai {
  color: #008080;
  --md-outlined-text-field-leading-icon-color: #008080;
  --md-outlined-text-field-focus-outline-color: #008080;
  --md-outlined-text-field-hover-outline-color: #008080;
  --md-outlined-text-field-outline-color: #008080;
  --md-outlined-text-field-label-text-color: #008080;
  --md-outlined-text-field-focus-label-text-color: #008080;
  --md-outlined-text-field-hover-label-text-color: #008080;
  --md-outlined-text-field-focus-leading-icon-color: #008080;
  --md-outlined-text-field-hover-leading-icon-color: #008080;
  --md-filled-tonal-icon-button-container-color: #008080;
  --md-filled-tonal-icon-button-icon-color: #ffffff;
  --md-filled-tonal-icon-button-pressed-icon-color: #ffffff;
  --md-filled-tonal-icon-button-selected-icon-color: #ffffff;
  --md-filled-tonal-icon-button-hover-icon-color: #ffffff;
  --md-filled-tonal-icon-button-focus-icon-color: #ffffff;
  --md-filled-tonal-icon-button-focus-outline-color: #008080;
  --md-filled-tonal-icon-button-hover-outline-color: #008080;
  --md-filled-tonal-icon-button-pressed-outline-color: #008080;
  --md-filled-tonal-icon-button-selected-outline-color: #008080;
  --md-text-button-label-text-color: #008080;
  --md-text-button-focus-label-text-color: #008080;
  --md-text-button-hover-label-text-color: #008080;
  --md-text-button-pressed-label-text-color: #008080;
  --md-text-button-hover-state-layer-color: #008080;
  --md-text-button-pressed-state-layer-color: #008080;
  --md-text-button-focus-state-layer-color: #008080;
  --md-filled-button-container-color: #008080;
  --md-filled-button-label-text-color: #ffffff;
  --md-filled-button-pressed-container-color: #008080;
  --md-filled-button-hover-container-color: #008080;
  --md-filled-button-focus-container-color: #008080;
  --md-filled-button-focus-label-text-color: #ffffff;
  --md-filled-button-hover-label-text-color: #ffffff;
  --md-filled-button-pressed-label-text-color: #ffffff;
  --md-filled-button-hover-state-layer-color: #008080;
  --md-filled-button-pressed-state-layer-color: #008080;
  --md-filled-button-focus-state-layer-color: #008080;
  --md-filled-button-focus-outline-color: #008080;
}

.aiprocessing {
  animation: aiprocessing 1.5s infinite ease-in-out;
}

@keyframes aiprocessing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.error.ai {
  --md-dialog-container-color: #042e2e;
  --md-dialog-headline-color: #008080;
  --md-dialog-supporting-text-color: #008080;
  --md-filled-button-container-color: #008080;
  --md-filled-button-label-text-color: #042e2e;
  --md-focus-ring-color: #008080;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --md-sys-color-on-surface: #eee;
    --md-sys-color-on-surface-variant: #aaa;
    --md-sys-color-secondary-container: #eee;
    --md-sys-color-surface-container-high: #061221;
  }
  body {
    background-color: #061221;
    background-image: none;
    color: #eee;
  }
  #splash {
    background-color: #0f2f54;
  }
  #loginScreen,
  #enrollTOTP {
    background-color: #0f2f54;
  }
  #loginScreen .loginScreen__form,
  #enrollTOTP .enrollTOTP_form {
    background-color: #0f2f54;
  }
  #main__header {
    background-color: #0f2f54;
  }
  .main__content__card {
    background-color: #0f2f54;
  }
  .main__content__card__title {
    color: #fff;
  }
  .main_dialog_product_details_headline,
  .main_dialog_customer_details_headline {
    color: #fff;
  }
  .main_dialog_product_details_history {
    background-color: #0f2f54;
  }
  .card {
    background-color: #0f2f54;
  }
  #main_dialog_product_details_documents {
    background-color: #0f2f54;
  }
  .fileDiv {
    color: #fff;
  }
  #footerDiv {
    background-color: #0f2f54;
  }
  #footerSpan {
    color: #fff;
  }
  .off {
    color: #eee;
  }
  md-list {
    background-color: #0e2743;
  }
  .sub {
    color: #aaa;
  }
  .main__header {
    background-color: #0f2f54;
  }
  dialog {
    color: #eee;
  }
  md-text-button {
    color: #eee;
  }
} */

.language-tool-extension,
.lt-toolbar__wrapper {
  position: relative; /* Assegura't que tingui un context posicionat */
  z-index: 10000 !important;
}

.product-add-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  --md-dialog-container-shape: 0;
  --md-dialog-container-color: #f8fbff;
}

.product-add-dialog::part(container) {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
}

.product-add-dialog::part(headline),
.product-add-dialog::part(content),
.product-add-dialog::part(actions) {
  padding: 0;
}

.product-add-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 12px 28px;
  box-sizing: border-box;
  border-bottom: 1px solid #dbe4ee;
  background: #ffffff;
}

.product-add-topbar__left,
.product-add-topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-add-topbar__left {
  min-width: 0;
}

.product-add-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0d2a4d;
}

.product-add-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.35;
  color: #596a7d;
}

.product-add-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 0;
  background: #f8fbff;
}

.product-add-main {
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-width: 0;
  padding: 34px 44px 60px;
  overflow-y: auto;
  box-sizing: border-box;
}

.product-add-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 44px;
  border-bottom: 1px solid #dbe4ee;
}

.product-add-section:last-child {
  border-bottom: none;
}

.product-add-section__heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.product-add-section__heading > md-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e4f0ff;
  color: #0f4f99;
}

.product-add-section h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0d2a4d;
}

.product-add-section p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #596a7d;
}

.product-add-name-field {
  position: relative;
  max-width: 720px;
}

.product-add-name-field.fw {
  max-width: none;
}

.product-add-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid #c6d6e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(13, 42, 77, 0.14);
}

.product-add-suggestion {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eef3f8;
  padding: 11px 14px;
  background: #ffffff;
  color: #0d2a4d;
  cursor: pointer;
  font: inherit;
  font-size: 0.93rem;
  text-align: left;
}

.product-add-suggestion:last-child {
  border-bottom: 0;
}

.product-add-suggestion:hover,
.product-add-suggestion--active {
  background: #eaf4ff;
  color: #0f4f99;
}

.product-subproducts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.product-subproducts-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  margin: 8px 0 12px;
}

.product-subproduct-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(120px, 1fr) minmax(100px, .6fr) minmax(130px, .8fr) auto;
  gap: 12px;
  align-items: center;
}

.product-subproduct-field {
  position: relative;
  min-width: 0;
}

.product-subproduct-field md-outlined-text-field {
  width: 100%;
}

.product-subproduct-remove {
  color: var(--mdc-theme-red);
}

.product-subproducts-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-right: 20px;
}

.product-subproducts-details__row {
  display: grid;
  grid-template-columns: minmax(140px, 2fr) minmax(70px, 1fr) minmax(80px, 1fr) minmax(90px, 1fr);
  gap: 10px;
}

.product-subproducts-details__row span:not(:first-child) {
  color: var(--md-sys-color-on-surface-variant, #666);
}

.product-subproducts-details__total {
  font-weight: 700;
  margin-top: 4px;
}

.product-add-columns-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-add-columns-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-add-relation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  gap: 14px;
  align-items: stretch;
}

.product-add-selector {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1.2fr);
  gap: 12px;
}

.product-add-create-card {
  width: 100%;
  min-height: 56px;
  justify-content: flex-start;
  text-align: left;
  --md-filled-tonal-button-container-shape: 8px;
}

.product-add-inline {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid #bed6f4;
  border-radius: 8px;
  background-color: #eff6ff;
}

.product-add-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-add-summary {
  padding: 28px 24px;
  border-left: 1px solid #dbe4ee;
  background: #ffffff;
  overflow-y: auto;
  box-sizing: border-box;
}

.product-add-summary__header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 20px;
}

.product-add-summary__header > md-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e4f0ff;
  color: #0f4f99;
}

.product-add-summary h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2a4d;
}

.product-add-summary p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #596a7d;
}

.product-add-summary__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 24px;
}

.product-add-summary__list > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e4ebf3;
}

.product-add-summary__list dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #596a7d;
  text-transform: uppercase;
}

.product-add-summary__list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  color: #0d2a4d;
}

.product-add-validation {
  padding: 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.product-add-validation--warning {
  border: 1px solid #f0b64d;
  background: #fff8ea;
  color: #6a4300;
}

.product-add-validation--ready {
  border: 1px solid #69b487;
  background: #effaf3;
  color: #155b31;
}

.product-add-validation__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.product-add-validation ul {
  margin: 10px 0 0 21px;
  padding: 0;
}

@media (max-width: 1180px) {
  .product-add-content {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .product-add-columns-three,
  .product-add-relation-row,
  .product-add-selector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .product-add-content {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .product-add-main,
  .product-add-summary {
    overflow: visible;
  }

  .product-add-summary {
    border-left: none;
    border-top: 1px solid #dbe4ee;
  }
}

@media (max-width: 780px) {
  .product-subproduct-row {
    grid-template-columns: 1fr 1fr;
  }

  .product-subproduct-remove {
    justify-self: end;
  }

  .product-subproducts-details__row {
    grid-template-columns: 1fr 1fr;
  }
  .product-add-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }

  .product-add-topbar__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .product-add-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 126px);
    overflow-y: auto;
  }

  .product-add-main,
  .product-add-summary {
    overflow: visible;
    padding: 22px 16px;
  }

  .product-add-summary {
    border-left: none;
    border-top: 1px solid #dbe4ee;
  }

  .product-add-columns-two,
  .product-add-columns-three {
    grid-template-columns: 1fr;
  }
}

.product-field-two-column {
  gap: 16px;
  align-items: flex-end;
}

.product-subclient-edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-subclient-edit__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: flex-end;
}

.product-subclient-edit .product-add-inline {
  margin-top: 0;
}

.product-add-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-add-switch label {
  font-size: 0.95rem;
}

.tag-chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background-color: var(--tag-bg-color, rgba(0, 0, 0, 0.08));
  color: var(--tag-text-color, #000);
  transition: opacity 0.2s ease;
  cursor: default;
  user-select: none;
}

.tag-chip:hover {
  opacity: 0.9;
}

.tag-chip button.tag-chip-remove {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.tag-chip button.tag-chip-remove:hover {
  opacity: 0.75;
}

.tag-placeholder {
  font-size: 12px;
  color: var(--md-sys-color-outline-variant, #666);
  margin: 4px 0 8px;
}

.product-add-inline-color {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-left: 12px;
}

.product-add-inline-color input[type="color"] {
  width: 48px;
  height: 36px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.product-details-tags-section {
  margin-top: 10px;
}

.tag-section {
  border: 1px solid var(--md-sys-color-outline-variant, #d6dadd);
  border-radius: 8px;
  background-color: rgba(30, 95, 169, 0.05);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.tag-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-section__header span {
  font-weight: 600;
  font-size: 0.95rem;
}

.tag-section__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-section__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-section__body .tag-placeholder {
  margin: 0;
}

.tag-section--compact {
  border: none;
  background: transparent;
  padding: 0;
  gap: 8px;
}

.tag-section--compact .tag-section__header {
  justify-content: flex-start;
}

.tag-section--compact .tag-chip-container {
  gap: 8px;
  margin-left: 8px;
}

.tag-menu-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.smenu_empty {
  padding: 8px 12px;
  color: var(--md-sys-color-outline-variant, #666);
  font-size: 0.85rem;
}

.contract-import-dialog { box-sizing: border-box; width: min(1280px, calc(100vw - 32px)); max-width: none; height: min(880px, calc(100dvh - 32px)); max-height: none; padding: 24px; border: 1px solid var(--md-sys-color-outline-variant, #aaa); border-radius: 24px; background: var(--md-sys-color-surface, #fff); color: var(--md-sys-color-on-surface, #222); }
.contract-import-dialog::backdrop { background: #0008; }
.contract-import-dialog header, .contract-import-toolbar, .contract-review-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contract-import-dialog header { justify-content: space-between; }
.contract-import-dialog h2 { margin: 0 0 16px; }
.contract-import-dialog button, .contract-import-dialog input, .contract-import-dialog select { box-sizing: border-box; font: inherit; color: inherit; border: 1px solid var(--md-sys-color-outline, #888); background: transparent; border-radius: 8px; padding: 10px; min-height: 44px; }
.contract-import-dialog button { cursor: pointer; }
.contract-import-dialog button:disabled { opacity: .6; cursor: wait; }
.contract-import-dialog :focus-visible { outline: 3px solid var(--md-sys-color-primary, #006cff); outline-offset: 2px; }
.contract-import-dialog .contract-primary { background: var(--md-sys-color-primary, #006cff); color: var(--md-sys-color-on-primary, #fff); border-color: transparent; }
.contract-import-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
.contract-import-layout section { min-width: 0; }
.contract-import-item { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--md-sys-color-outline-variant, #ddd); overflow-wrap: anywhere; }
.contract-import-item small { opacity: .8; }
.contract-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.contract-import-dialog label { display: grid; gap: 6px; font-size: 14px; }
.contract-import-dialog label input, .contract-import-dialog label select { width: 100%; min-width: 0; }
.contract-line-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; gap: 8px; margin-bottom: 12px; }
.contract-import-dialog .contract-price-confirm { display: flex; align-items: center; margin: 20px 0; }
.contract-price-confirm input { width: 20px !important; min-height: 24px; }
.contract-import-dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; }
.contract-import-dialog details { margin: 12px 0; padding: 12px; border: 1px solid var(--md-sys-color-outline-variant, #ddd); border-radius: 8px; }
.contract-import-dialog summary { cursor: pointer; }
.contract-missing { padding: 16px 16px 16px 32px; border-left: 4px solid #b57900; background: #b5790010; }
.contract-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contract-comparison > div { min-width: 0; padding: 16px; border: 1px solid var(--md-sys-color-outline-variant, #ddd); border-radius: 12px; }
@media (max-width: 760px) { .contract-import-dialog { padding: 16px; } .contract-import-layout, .contract-comparison { grid-template-columns: 1fr; } .contract-import-layout > section:first-child { max-height: 240px; overflow-y: auto; border-bottom: 1px solid #aaa; } .contract-field-grid { grid-template-columns: 1fr; } .contract-line-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 16px; border-bottom: 1px solid #aaa; } }
.contract-relationship-dialog { width: min(760px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 32px); }
.contract-relationship-dialog textarea { font: inherit; padding: 12px; color: inherit; background: transparent; border: 1px solid var(--md-sys-color-outline, #888); border-radius: 8px; resize: vertical; width: 100%; box-sizing: border-box; }
.contract-import-dialog > header { position: sticky; top: -24px; background: var(--md-sys-color-surface, #fff); z-index: 2; padding: 12px 0; }
@media (max-width: 760px) { .contract-import-dialog > header { top: -16px; } }

#contract_imports_open[hidden], #product_relationship_open[hidden] { display: none !important; }

.contact-directory-dialog header,.contract-relationship-dialog header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.contact-directory-layout { display:grid; grid-template-columns:minmax(180px,1fr) minmax(0,3fr); gap:24px; }
.contact-directory-layout nav { display:flex; flex-direction:column; gap:8px; max-height:60vh; overflow:auto; }
.contact-directory-layout nav button { text-align:left; }
.contact-directory-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--md-sys-color-outline-variant); }
.contact-directory-row span { flex:1; overflow-wrap:anywhere; }
.contact-editor { padding:20px 0; }
.product-contact-form { display:grid; gap:20px; }
.product-contact-form fieldset { min-width:0; border:1px solid var(--md-sys-color-outline-variant); border-radius:12px; padding:16px; }
.product-contact-option { display:flex; align-items:flex-start; gap:10px; padding:10px 0; overflow-wrap:anywhere; }
.product-contact-option input { width:auto; flex:0 0 auto; }
.product-contact-form select,.product-contact-form textarea { width:100%; box-sizing:border-box; }
@media(max-width:700px) { .contact-directory-layout { grid-template-columns:minmax(0,1fr); } .contact-directory-layout nav { max-height:180px; } .contact-directory-dialog .contract-import-toolbar { flex-wrap:wrap; } }
.contract-import-dialog label.product-contact-option { display:flex; align-items:center; }
.contract-import-dialog label.product-contact-option input[type="checkbox"] { width:18px; height:18px; min-height:18px; margin:0; padding:0; accent-color:var(--md-sys-color-primary); }
#product_relationship_summary { overflow-wrap:anywhere; font-size:14px; line-height:1.6; }
.product-contacts-section { margin:16px 0; padding:24px; border:1px solid var(--md-sys-color-outline-variant); border-radius:20px; background:var(--md-sys-color-surface-container-low,#f7f9fc); }
.product-contacts-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.product-contacts-heading h3 { margin:0; font-size:20px; }
.product-contact-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; margin-top:16px; }
.product-contact-card { display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:16px; background:var(--md-sys-color-surface,#fff); border:1px solid var(--md-sys-color-outline-variant); border-top:4px solid var(--contact-accent); min-width:0; }
.contact-type-customer { --contact-accent:#315da8; --contact-tint:#e8f0ff; }
.contact-type-manufacturer { --contact-accent:#725098; --contact-tint:#f1eafa; }
.contact-type-supplier { --contact-accent:#226957; --contact-tint:#e3f3eb; }
.contact-type-badge { align-self:flex-start; display:inline-flex; border-radius:20px; padding:5px 12px; color:var(--contact-accent); background:var(--contact-tint); font-size:12px; font-weight:600; }
.product-contact-name { font-size:18px; }
.product-contact-card a { display:flex; align-items:center; gap:8px; color:var(--md-sys-color-on-surface); text-decoration:none; overflow-wrap:anywhere; font-size:14px; }
.product-contact-card a:hover { text-decoration:underline; }
.product-contact-card md-icon { flex-shrink:0; font-size:20px; }
.product-contact-card p { margin:0; overflow-wrap:anywhere; font-size:14px; }
.product-contact-editor { margin-top:24px; border-top:1px solid var(--md-sys-color-outline-variant); padding-top:20px; }
.product-contact-editor .product-contact-option { display:flex; align-items:center; gap:12px; padding:8px 0; }
.contact-directory-dialog md-outlined-text-field,.contact-editor md-outlined-text-field { width:100%; min-width:0; }
.contact-directory-layout nav md-outlined-button { text-align:left; }
.contact-editor md-outlined-text-field { --md-outlined-text-field-container-shape:12px; }
@media(max-width:600px) { .product-contacts-section { padding:16px; } .product-contact-cards { grid-template-columns:1fr; } }
.contact-directory-dialog .contract-import-toolbar > md-outlined-text-field { flex:1; min-width:180px; width:auto; }
.product-contact-editor md-outlined-text-field { width:100%; }
.product-contact-editor .contact-editor { padding:20px; background:var(--md-sys-color-surface-container-low,#f7f9fc); border-radius:16px; }
/* Match the spacing of the other product detail cards. */
#product_relationship_summary { box-sizing:border-box; width:100%; margin:24px 0; padding:24px; }
.product-contact-editor > header { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.product-contact-editor > header h2 { margin:0; font-size:20px; font-weight:500; }
.product-contact-editor > [role="status"]:empty { display:none; }
.product-contact-editor .product-contact-form { gap:28px; }
.product-contact-form > label:first-child { display:grid; gap:12px; max-width:480px; font-weight:500; }
.product-contact-form md-outlined-select { width:100%; }
.product-contact-form .contact-assignment-group { margin:0; padding:24px; border-radius:16px; background:var(--md-sys-color-surface,#fff); }
.contact-assignment-group legend { padding:0 10px; color:var(--contact-accent); font-size:16px; font-weight:600; }
.contact-assignment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:8px 0 20px; }
.product-contact-editor .product-contact-option { margin:0; padding:12px; border:1px solid var(--md-sys-color-outline-variant,#d8dee6); border-radius:12px; cursor:pointer; align-items:center; gap:12px; transition:background .15s,border-color .15s; }
.product-contact-editor .product-contact-option:hover { background:var(--md-sys-color-surface-container-low,#f4f7fc); }
.product-contact-editor .product-contact-option[data-selected="true"] { background:var(--contact-tint); border-color:var(--contact-accent); }
.contact-option-info { display:flex; flex-direction:column; gap:4px; min-width:0; overflow-wrap:anywhere; }
.contact-option-info strong { font-size:15px; }
.contact-option-info > span { font-size:13px; opacity:.8; }
.contact-assignment-notes { display:grid; gap:12px; }
.contact-assignment-actions { display:flex; justify-content:flex-end; gap:12px; padding-top:20px; border-top:1px solid var(--md-sys-color-outline-variant); }
.contact-assignment-actions md-filled-button,.contact-assignment-actions md-outlined-button { min-width:110px; }
@media(max-width:650px) { #product_relationship_summary { padding:16px; } .contact-assignment-options { grid-template-columns:1fr; } .product-contact-form .contact-assignment-group { padding:16px; } .product-contact-editor > header { gap:12px; } }

/* Keep product names, ownership and customer metadata readable at every width. */
#main_list_my_products .listMainDiv {
  gap: 12px;
  align-items: flex-start;
}

#main_list_my_products .listLeftDiv {
  flex: 1;
  min-width: 0;
  align-items: flex-start;
}

#main_list_my_products .listLeftDiv > md-icon {
  flex: 0 0 24px;
  margin-top: 4px;
}

#main_list_my_products .listRightDiv {
  flex: 0 0 auto;
}

.product-list-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.product-list-content .verticalDiv {
  gap: 4px;
  min-width: 0;
}

.product-list-title,
.product-list-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.product-list-title > span:first-child,
.product-list-origin {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-list-origin {
  color: #665438;
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-provisional-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid #dfbd73;
  border-radius: 20px;
  background: #fff4d9;
  color: #775006;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.product-provisional-badge md-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

#main_list_my_products .product-list-item-provisional {
  border-inline-start: 3px solid #dfbd73;
}

.product-list-customer {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
}

.product-list-customer > span {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-list-badges > .ml15,
.product-list-customer > .ml15 {
  margin-left: 0;
}

.product-origin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e2ce9e;
  border-radius: 12px;
  background: #fffbf1;
}

.product-origin[hidden],
.product-origin p[hidden] {
  display: none;
}

.product-origin p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #665438;
}

@media (max-width: 600px) {
  #main_list_my_products .listMainDiv { gap: 4px; }
  #main_list_my_products .listLeftDiv > md-icon { margin-right: 10px; }
  .product-origin { padding: 12px; }
}

.product-list-badges > .iconManagedBy,
.product-list-badges > .tag-chip-container {
  margin-left: 0;
}

#main_dialog_product_edit .product-origin {
  margin-block: 16px;
}

.product-bulk-origin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 16px;
}

@media (max-width: 600px) {
  .product-bulk-origin-row { grid-template-columns: 1fr; }
}
.product-list-title .product-list-customer { flex: 0 1 auto; }
.product-list-badges:empty { display: none; }
md-outlined-text-field[hidden] { display: none; }

/* Icons and tags share the product heading flow, without a separate metadata row. */
.product-list-title > .product-list-badges {
  display: contents;
}

.product-list-title > .product-list-badges > md-icon,
.product-list-title > .product-list-badges > .iconManagedBy {
  flex-shrink: 0;
}

.product-offer-badge {
  background: #e8f1ff;
  border-color: #a8c5ef;
  color: #174a8b;
}

#main_list_my_products .product-list-item-offer {
  border-inline-start: 3px solid #a8c5ef;
}

/* Internal product communications and independent waiting indicators. */
.product-followup-section { box-sizing: border-box; width: 100%; margin: 24px 0; }
.product-followup-section [hidden] { display: none !important; }
.followup-status:empty { display: none; }
.followup-status { color: var(--md-sys-color-on-surface-variant); overflow-wrap: anywhere; }
.followup-pending { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--md-sys-color-outline-variant); border-radius: 16px; }
.followup-pending legend { padding: 0 8px; font-weight: 500; }
.followup-hint { margin: 0; color: var(--md-sys-color-on-surface-variant); font-size: 13px; line-height: 1.5; }
.followup-pending > p { flex-basis: 100%; }
.followup-pending-option { display: flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 12px; background: var(--md-sys-color-surface-container, #eef1f6); cursor: pointer; }
.followup-pending-option md-checkbox { flex-shrink: 0; }
.followup-history-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 28px 0 16px; }
.followup-history-heading h4 { margin: 0 0 4px; font-size: 18px; font-weight: 500; }
.followup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; margin-bottom: 24px; border-radius: 16px; border: 1px solid var(--md-sys-color-outline-variant); background: var(--md-sys-color-surface); }
.followup-form md-outlined-text-field, .followup-form md-outlined-select { width: 100%; min-width: 0; }
.followup-form-wide { grid-column: 1 / -1; }
.followup-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.followup-timeline { list-style: none; margin: 0; padding: 0; }
.followup-entry { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--md-sys-color-outline-variant); }
.followup-channel-icon { flex-shrink: 0; color: var(--md-sys-color-primary); background: var(--md-sys-color-primary-container); padding: 10px; border-radius: 50%; }
.followup-entry-content { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.followup-entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--md-sys-color-on-surface-variant); }
.followup-channel { font-weight: 600; }
.followup-summary { margin: 8px 0; font-size: 15px; line-height: 1.5; }
.followup-participants { margin: 0 0 12px; font-size: 13px; color: var(--md-sys-color-on-surface-variant); }
.followup-entry a { display: inline-flex; align-items: center; gap: 6px; color: var(--md-sys-color-primary); font-size: 13px; text-decoration: none; }
.followup-entry a:hover { text-decoration: underline; }
.followup-entry a md-icon { font-size: 16px; width: 16px; height: 16px; }
.followup-empty { padding: 24px 0; color: var(--md-sys-color-on-surface-variant); }
@media (max-width: 650px) { .followup-form { grid-template-columns: minmax(0, 1fr); padding: 16px; } .followup-pending-option { flex: 1 1 100%; } .followup-history-heading > md-filled-tonal-button { width: 100%; } .followup-entry { gap: 12px; } }

#subcustomer_directory_open[hidden], #my_products__filters__suppliers_wrapper[hidden], #my_products__filters__pending_wrapper[hidden] { display: none !important; }
.subcustomer-directory-dialog { width: min(900px, calc(100vw - 32px)); }
.subcustomer-directory-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subcustomer-directory-toolbar { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin: 20px 0; }
.subcustomer-directory-toolbar > * { width: 100%; min-width: 0; }
.subcustomer-directory-list { display: flex; flex-direction: column; gap: 10px; background: transparent; }
.subcustomer-directory-item { border: 1px solid var(--md-sys-color-outline-variant); border-radius: 12px; overflow: hidden; --md-list-item-container-color: var(--md-sys-color-surface-container-low); --md-list-item-top-space: 14px; --md-list-item-bottom-space: 14px; }
.subcustomer-directory-dialog { height: fit-content; min-height: 0; max-height: calc(100dvh - 32px); }
@media (max-width: 650px) { .subcustomer-directory-toolbar { grid-template-columns: minmax(0, 1fr); } .subcustomer-directory-dialog { padding: 16px; } }


/*# sourceMappingURL=main.dbe7ae2a42df669c6d1c.css.map*/