/* Retalia global styling */
html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: #f8f8f8;
  font-size: 14px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "avenir next", avenir,
    "segoe ui", "helvetica neue", "adwaita sans", cantarell, ubuntu, roboto, noto,
    helvetica, arial, sans-serif;
}

/* Size to label + theme padding */
.dx-button {
  min-width: 70px;
}

.dx-datagrid .dx-button {
  min-width: auto;
}

.dx-treelist .dx-button {
  min-width: auto;
}

.dx-header-title {
  float: left;
  margin-bottom: 2rem;
}

.dx-header-title h1 {
  font-weight: 700;
  font-size: 21px;
  color: #3f4444;
  margin: 0;
}

/* Analysis UI */
/* Make sure date Picker is using same font */
.md-drppicker {
  margin-top: 0 !important;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'avenir next',
    avenir,
    'segoe ui',
    'helvetica neue',
    'adwaita sans',
    cantarell,
    ubuntu,
    roboto,
    noto,
    helvetica,
    arial,
    sans-serif !important;
  input,
  button,
  select,
  textarea {
    font-family: inherit !important;
  }
  * {
    font-family: inherit !important;
  }
  .btn {
    background-color: #c9b5f0 !important;
    border-radius: 8px !important;
  }
  td.active {
    background-color: #c9b5f0 !important;
  }
  .ranges ul li button.active {
    background-color: #c9b5f0 !important;
  }
}

/* Analysis UI */
/* Make sure toggle color selector is correct */
.switch .slider:before {
  background-color: #c9b5f0;
}