﻿/* inmediQ variables */
:root {
  /* Primary colours */
  --primary-color-1: #1C3968;
  --primary-color-2: #0076C0;
  --primary-color-3: #575757;
  --primary-color-4: #B6A310;
  --primary-color-1-light1: #465380;
  --primary-color-2-light1: #008DCE;
  --primary-color-3-light1: #878787;
  --primary-color-4-light1: #C5B348;
  --primary-color-1-light2: #71769B;
  --primary-color-2-light2: #6BA8DC;
  --primary-color-3-light2: #B2B2B2;
  --primary-color-4-light2: #D2C479;
  --primary-color-1-light3: #9FA0BB;
  --primary-color-2-light3: #A4C3E8;
  --primary-color-3-light3: #DADADA;
  --primary-color-4-light3: #E3D9A8;
  --primary-color-1-light4: #CECDDD;
  --primary-color-2-light4: #D3E1F4;
  --primary-color-3-light4: #EDEDED;
  --primary-color-4-light4: #F0EBD4;
  /* Secondary colours */
  --secondary-color-1: #E53B11;
  --secondary-color-2: #820B20;
  --secondary-color-3: #F39200;
  --secondary-color-4: #FECC00;
  --secondary-color-5: #009982;
  --secondary-color-6: #00567C;
  --secondary-color-1-light1: #EB6739;
  --secondary-color-2-light1: #9A373D;
  --secondary-color-3-light1: #F7A941;
  --secondary-color-4-light1: #FED633;
  --secondary-color-5-light1: #0AAB9A;
  --secondary-color-6-light1: #357996;
  --secondary-color-1-light2: #F19267;
  --secondary-color-2-light2: #B46563;
  --secondary-color-3-light2: #FAC075;
  --secondary-color-4-light2: #FEE066;
  --secondary-color-5-light2: #68C0B4;
  --secondary-color-6-light2: #6699AF;
  --secondary-color-1-light3: #F8B999;
  --secondary-color-2-light3: #CD9692;
  --secondary-color-3-light3: #FDD5A5;
  --secondary-color-4-light3: #FFEB9A;
  --secondary-color-5-light3: #A6D6CE;
  --secondary-color-6-light3: #99BBCB;
  --secondary-color-1-light4: #FCDECD;
  --secondary-color-2-light4: #E6C9C6;
  --secondary-color-3-light4: #FEEAD3;
  --secondary-color-4-light4: #FFFFC0;
  --secondary-color-5-light4: #D6E8E7;
  --secondary-color-6-light4: #CCDDE5;
  /* Limbs */
  --color-left-limb: #F39200;
  --color-right-limb: #009982;
  --color-left: #F39200;
  --color-right: #009982;
  --color-left-arm: #9A373D;
  --color-right-arm: #9A373D;
  --color-left-ankle: #0076C0;
  --color-right-ankle: #0076C0;
  --color-left-wrist: #575757;
  --color-right-wrist: #575757;
}

.users-page {
  --users-scrollbar-compensation: 5px;
  --users-row-padding-y: 0.28rem;
  --users-row-padding-x: 0.2rem;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  background-color: white;
  --users-editor-height: 40px;
}
.users-page .users-list-surface {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.users-page .users-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.users-page .users-header .title-header-text {
  flex: 0 0 auto;
  vertical-align: middle;
  color: #B6A310;
  font-size: 1.5rem;
}
.users-page .active-app-users-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: #0076C0;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding: 0rem 0.5rem;
  margin-bottom: 0px;
  -webkit-tap-highlight-color: transparent;
}
.users-page .active-app-users-refresh-button:hover {
  background: transparent;
}
.users-page .active-app-users-refresh-button:active {
  background: #0076C0;
  color: #fff;
}
.users-page .active-app-users-refresh-button:focus-visible {
  outline: none;
}
.users-page .active-app-users-refresh-button:disabled {
  cursor: default;
  opacity: 0.55;
}
.users-page .active-app-users-refresh-button .text {
  font-size: 1rem;
  line-height: 20px;
  font-weight: 400;
}
.users-page .active-app-users-refresh-icon {
  display: inline-block;
  width: 23px;
  height: 23px;
  background-color: currentColor;
  -webkit-mask-image: url("/images/refresh.svg");
  mask-image: url("/images/refresh.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}
@media (max-width: 640px) {
  .users-page .users-header {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .users-page .users-header .title-header-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .users-page .active-app-users-refresh-button {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .users-page .active-app-users-refresh-button .text {
    display: none;
  }
}
.users-page.active-app-users-page .users-header {
  margin-bottom: -0.55rem;
}
.users-page .filter-wrapper {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
}
.users-page .filter-wrapper .filter-textbox {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 4px;
  background: #E3D9A8;
  min-height: var(--users-editor-height);
}
.users-page .filter-wrapper .filter-textbox .search-image {
  height: 16px;
  width: auto;
  padding-left: 8px;
}
.users-page .filter-line {
  flex: 0 0 auto;
  display: block;
  height: 2px;
  margin: 0.5rem 0;
  width: 100%;
  background: #D2C479;
}
.users-page .active-app-users-refresh-note,
.users-page .active-analyses-refresh-note {
  flex: 0 0 auto;
  color: #B6A310;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.2;
  margin: -0.15rem 0 0.45rem;
}
.users-page .users-list {
  list-style: none;
  margin: 0;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.users-page .users-list .tile {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  color: #575757;
  border-bottom: 1px solid #B2B2B2;
  overflow: visible;
  padding: var(--users-row-padding-y) var(--users-row-padding-x);
}
.users-page .users-list .tile.selected {
  background: rgb(246.5948275862, 243.7931034483, 230.9051724138);
}
.users-page .tile-content {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.users-page .details {
  flex: 0 1 auto;
  min-width: 16rem;
  max-width: min(100%, 30rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  gap: 0.15rem;
  padding-right: 1rem;
}
.users-page .details .line1,
.users-page .details .line2,
.users-page .details .line3,
.users-page .details .line4 {
  width: 100%;
  min-width: 0;
}
.users-page .details .line1 {
  color: #575757;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.users-page .users-meta-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}
.users-page .users-data-inline-text {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  color: #575757;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.users-page .users-data-inline-label {
  color: #878787;
  font-size: 0.72rem;
  line-height: 1.25;
  flex: 0 0 auto;
}
.users-page .users-data-inline-separator {
  color: #878787;
  flex: 0 0 auto;
}
.users-page .users-data-value {
  min-width: 0;
  font-size: 12px;
  color: #575757;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.users-page .users-username-value {
  font-size: 14px;
  font-weight: 600;
}
.users-page .users-row-actions {
  flex: 0 0 auto;
  min-width: auto;
  display: flex;
  margin-left: auto;
  align-self: stretch;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  white-space: nowrap;
  overflow: visible;
}
.users-page .users-row-actions .users-row-actions-inline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.users-page .users-row-actions .users-row-actions-menu {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  align-self: stretch;
  overflow: visible;
}
.users-page .users-row-actions .users-row-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 11rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem;
  border: 1px solid #DADADA;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
}
.users-page .users-row-actions .users-row-menu .divider {
  height: 1px;
  width: 95%;
  background-color: #B2B2B2;
  margin-left: 0.5rem;
}
@media (max-width: 980px) {
  .users-page .users-row-actions .users-row-actions-inline {
    display: none;
  }
  .users-page .users-row-actions .users-row-actions-menu {
    display: flex;
  }
}
.users-page .users-list-empty {
  color: #575757;
  cursor: default;
  padding: 0.4rem 0.2rem;
}
.users-page .icon-only-button-wrapper {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 850;
}
.users-page .icon-only-button-wrapper.hidden {
  visibility: hidden;
  pointer-events: none;
}
.users-page .icon-only-button-wrapper .icon-button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.1s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.users-page .icon-only-button-wrapper .icon-button:hover .icon-button-icon {
  filter: brightness(0.85);
  transform: scale(1.1);
}
.users-page .icon-only-button-wrapper .icon-button:active .icon-button-icon {
  filter: brightness(0.75);
  transform: scale(0.9);
}
.users-page .icon-only-button-wrapper .icon-button:focus {
  outline: none;
}
.users-page .icon-only-button-wrapper .icon-button .icon-button-icon {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  transition: transform 0.1s ease, filter 0.2s ease;
}
.users-page.active-app-users-page .tile-content {
  gap: 0.55rem;
}
.users-page.active-app-users-page .details {
  min-width: 0;
}
.users-page.active-app-users-page .active-app-users-activity-led {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: calc(0.32rem - 2px);
  border-radius: 50%;
}
.users-page.active-app-users-page .active-app-users-activity-led-recent {
  background-color: #009982;
}
.users-page.active-app-users-page .active-app-users-activity-led-warm {
  background-color: #F39200;
}
.users-page.active-app-users-page .active-app-users-activity-led-active {
  background-color: #B2B2B2;
}
.users-page.active-app-users-page .active-app-users-activity-led-idle {
  background-color: #B2B2B2;
}
@media (max-width: 820px) {
  .users-page.active-app-users-page .tile-content {
    grid-template-columns: 16px minmax(0, 1fr);
    grid-template-areas: "icon details";
  }
  .users-page.active-app-users-page .active-app-users-activity-led {
    grid-area: icon;
  }
}
.users-page.active-analyses-page .tile-content {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.users-page.active-analyses-page .details {
  min-width: 0;
}
.users-page.active-analyses-page .active-analysis-node-indicator {
  flex: 0 0 auto;
  width: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translateY(2px);
}
.users-page.active-analyses-page .active-analysis-running-icon,
.users-page.active-analyses-page .active-analysis-idle-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 22px;
  background-color: #575757;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.users-page.active-analyses-page .active-analysis-running-icon {
  -webkit-mask-image: url("/images/bar-chart-animated.svg");
  mask-image: url("/images/bar-chart-animated.svg");
}
.users-page.active-analyses-page .active-analysis-idle-icon {
  -webkit-mask-image: url("/images/bar-chart.svg");
  mask-image: url("/images/bar-chart.svg");
}
.users-page.active-analyses-page .active-analysis-availability-led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.users-page.active-analyses-page .active-analysis-availability-led-available {
  background-color: #009982;
}
.users-page.active-analyses-page .active-analysis-availability-led-unavailable {
  background-color: #E53B11;
}
.users-page.active-analyses-page .active-analysis-availability-led-disabled {
  background-color: #B2B2B2;
}
.users-page.active-analyses-page .users-row-actions-inline {
  gap: 0.4rem;
}
.users-page.active-analyses-page .pool-node-toggle {
  width: 5.4rem;
  min-height: 3.6rem;
  padding: 0.25rem 0.35rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(0.15rem - 2px);
  color: #575757;
  line-height: 1;
}
.users-page.active-analyses-page .pool-node-toggle .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.users-page.active-analyses-page .pool-node-toggle .text {
  min-height: 1rem;
  padding-top: 0;
  font-size: 12px;
  line-height: 1rem;
  text-align: center;
}
.users-page.active-analyses-page .pool-node-toggle:not(:disabled):active {
  background: transparent;
  color: #575757;
}
.users-page.active-analyses-page .pool-node-toggle:not(:disabled):hover, .users-page.active-analyses-page .pool-node-toggle:focus, .users-page.active-analyses-page .pool-node-toggle:focus-visible {
  background: transparent;
  box-shadow: none;
  outline: none;
}
.users-page.active-analyses-page .btn.enable-node .icon {
  -webkit-mask-image: url("/images/toggle-on.svg");
  mask-image: url("/images/toggle-on.svg");
}
.users-page.active-analyses-page .btn.disable-node .icon {
  -webkit-mask-image: url("/images/toggle-off.svg");
  mask-image: url("/images/toggle-off.svg");
  color: #B2B2B2;
}
.users-page.active-analyses-page .row-menu-item.enable-node .icon,
.users-page.active-analyses-page .row-menu-item.disable-node .icon {
  color: inherit;
  transform: translateY(2px);
}
.users-page.active-analyses-page .row-action.delete,
.users-page.active-analyses-page .row-menu-item.delete {
  color: #E53B11;
}
@media (max-width: 820px) {
  .users-page.active-analyses-page .tile-content {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "icon details actions";
  }
  .users-page.active-analyses-page .active-analysis-node-indicator {
    grid-area: icon;
  }
}
.users-page .users-status {
  margin-top: 0.35rem;
  color: #1C3968;
  font-size: 0.9rem;
}
.users-page .users-card-view-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0.25rem;
  margin-right: var(--users-scrollbar-compensation);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
@media (max-width: 820px) {
  .users-page .users-card-view-wrapper {
    margin-right: 0;
  }
  .users-page .tile-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "details actions";
    align-items: start;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
  }
  .users-page .details {
    grid-area: details;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
  }
  .users-page .users-row-actions {
    grid-area: actions;
    width: auto;
    min-width: auto;
    margin-left: 0;
    justify-content: flex-end;
    align-self: stretch;
  }
}

.users-detail-drawer {
  --users-actions-bottom-space: 24px;
  --users-more-hint-space: 26px;
  overflow-x: hidden;
}
.users-detail-drawer .rd-header {
  display: none;
}
.users-detail-drawer .users-drawer-title {
  color: #B6A310;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}
.users-detail-drawer .right-drawer-body {
  padding: 12px 0 0 0 !important;
  overflow-x: hidden !important;
}
.users-detail-drawer .users-drawer-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 0.65rem 0 1.2rem;
  overflow-x: hidden;
}
.users-detail-drawer .users-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0 1.9rem 0;
  flex: 0 0 auto;
}
.users-detail-drawer .users-drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 8px;
  padding-right: 14px;
}
.users-detail-drawer .users-drawer-form,
.users-detail-drawer .users-fields {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.users-detail-drawer .users-drawer-note {
  color: #575757;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.users-detail-drawer .users-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.users-detail-drawer .users-field-label {
  color: #878787;
  font-size: 0.75rem;
  font-weight: 350;
  line-height: 1.25;
}
.users-detail-drawer .users-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #B2B2B2;
  border-radius: 0.375rem;
  background: #fff;
  color: #303030;
  padding: 0.45rem 0.65rem;
  box-sizing: border-box;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.users-detail-drawer .users-input:focus {
  border-color: #0076C0;
  box-shadow: 0 0 0 1px rgba(0, 118, 192, 0.15);
}
.users-detail-drawer .users-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #575757 50%), linear-gradient(135deg, #575757 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.users-detail-drawer .users-input.readonly,
.users-detail-drawer .users-input[readonly] {
  background-color: #f9fafb;
  color: #878787;
  cursor: default;
}
.users-detail-drawer .users-drawer-actions {
  display: flex;
  align-items: center;
  column-gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #DADADA;
  margin-bottom: var(--users-actions-bottom-space);
}
.users-detail-drawer .users-drawer-actions .ok,
.users-detail-drawer .users-drawer-actions .invite,
.users-detail-drawer .users-drawer-actions .cancel {
  color: #0076C0;
}
.users-detail-drawer .users-drawer-actions .ok .icon,
.users-detail-drawer .users-drawer-actions .invite .icon,
.users-detail-drawer .users-drawer-actions .cancel .icon {
  color: inherit;
  background-color: currentColor;
}
.users-detail-drawer .users-drawer-more-space {
  height: var(--users-more-hint-space);
}
.users-detail-drawer .validation-message {
  color: #E53B11;
  font-size: 0.8rem;
  line-height: 1.25;
}

.users-detail-drawer .icon,
.users-page .icon {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.users-detail-drawer .btn,
.users-page .btn {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #575757;
  gap: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.users-detail-drawer .btn .text,
.users-page .btn .text {
  padding-top: 2px;
}
.users-detail-drawer .btn:disabled,
.users-page .btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.users-detail-drawer .btn:not(:disabled):hover,
.users-page .btn:not(:disabled):hover {
  background: rgb(249.75, 249.75, 249.75);
}
.users-detail-drawer .btn:not(:disabled):active,
.users-page .btn:not(:disabled):active {
  background: #0076C0;
  color: #fff;
}
.users-detail-drawer .btn.edit .icon,
.users-page .btn.edit .icon {
  -webkit-mask-image: url("/images/person-edit.svg");
  mask-image: url("/images/person-edit.svg");
}
.users-detail-drawer .btn.ok .icon,
.users-page .btn.ok .icon {
  -webkit-mask-image: url("/images/check.svg");
  mask-image: url("/images/check.svg");
}
.users-detail-drawer .btn.invite .icon,
.users-page .btn.invite .icon {
  -webkit-mask-image: url("/images/invite.svg");
  mask-image: url("/images/invite.svg");
}
.users-detail-drawer .btn.cancel .icon,
.users-page .btn.cancel .icon {
  -webkit-mask-image: url("/images/cancel.svg");
  mask-image: url("/images/cancel.svg");
}
.users-detail-drawer .btn.close .icon,
.users-page .btn.close .icon {
  width: 14px;
  height: 14px;
  -webkit-mask-image: url("/images/close.svg");
  mask-image: url("/images/close.svg");
}
.users-detail-drawer .btn.delete .icon,
.users-page .btn.delete .icon {
  -webkit-mask-image: url("/images/delete-red.svg");
  mask-image: url("/images/delete-red.svg");
}
.users-detail-drawer .btn.more .icon,
.users-page .btn.more .icon {
  margin-top: 5px;
  -webkit-mask-image: url("/images/more-vert.svg");
  mask-image: url("/images/more-vert.svg");
}
