:root{
    --primary-base: #C9FA49;
    --primary-dark: #9bc238;
    --primary-darkest: #373737;
    --primary-light: #C9FA49;
    --primary-lightest: #212121;
    
    --negative-base: #F54A4B;
    --negative-dark: #C83739;
    --negative-darkest: #7D2223;
    --negative-light: #FEC3C4;
    --negative-lightest: #FFECED;;

    --grey-base: #666666;
    --grey-dark: #A6B0B8;
    --grey-darkest: #85919C;
    --grey-light: #303030;
    --grey-lightest: #232323;

    --attention: #F9B922;
    --background-color: #111111;
    --surface-color: #fff;

    --header-color: #999999;
    --header-font: normal 500 12px/13px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    
    --text-font: normal 400 13px/14px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --text-color: #DDDDDD;

    --subtext-font: normal 400 12px/13px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-h4: normal 500 14px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-h3: normal 500 16px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-h2: normal 500 18px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-h1: normal 500 20px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

    --border-radius: 4px;

    --label-width: 240px;
    --content-width: 240px;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;

    --base-size-xxs: 16px;
    --base-size-xs: 20px;
    --base-size-sm: 24px;
    --base-size-md: 28px;
    --base-size-lg: 32px;

    --menu-background-color: #232e3e;

    /* for new components */
    --pl-base-size: 28px;
    --pl-border-radius: 4px;

    --pl-primary-base: var(--primary-base);
    --pl-primary-dark: var(--primary-dark);
    --pl-primary-darkest: var(--primary-darkest);
    --pl-primary-light: var(--primary-light);
    --pl-primary-lightest: var(--primary-lightest);

    --pl-negative-base: #F54A4B;
    --pl-negative-dark: #C83739;
    --pl-negative-darkest: #7D2223;
    --pl-negative-light: #FEC3C4;
    --pl-negative-lightest: #FFECED;;

    --pl-grey-base: var(--grey-base);
    --pl-grey-dark: #A6B0B8;
    --pl-grey-darkest: #85919C;
    --pl-grey-light: var(--grey-light);
    --pl-grey-lightest: var(--grey-lightest);

    --pl-attention: #F2D26E;
    --pl-background-color: var(--background-color);
    --pl-surface-color: #fff;

    --pl-header-color: var(--header-color);
    --pl-header-font: normal 500 12px/13px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --pl-text-font: normal 400 13px/14px Montserrat, apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --pl-text-color: var(--text-color);

    --pl-label-width: 240px;
    --pl-content-width: 240px;

    --pl-space-xxs: 2px;
    --pl-space-xs: 4px;
    --pl-space-sm: 8px;
    --pl-space-md: 12px;
    --pl-space-lg: 16px;


    --pl-menu-background-color: #111111;
    --pl-menu-item-color: #AAAAAA;
    --pl-menu-item-background-hover: #2D2D2D;
    --pl-menu-subitem-background-hover: red;
    --pl-menu-item-color-hover: var(--primary-base);
    --scx-logo-dark: url('/static/logo_dark.svg') no-repeat;

    --scx-block-background: #1C1C1C;
    --scx-block-title-background: #333333;
}

  body {
    background-color: var(--background-color);
    overflow: hidden;
  }
  #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--background-color);
      z-index: 10000000;
  }
  #loader {
      display: block;
      position: relative;
      left: 50%;
      top: 50%;
      width: 150px;
      height: 150px;
      margin: -75px 0 0 -75px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: var(--primary-base);
      -webkit-animation: spin 2s linear infinite;
      animation: spin 2s linear infinite;
  }
  #loader:before {
      content: "";
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #BA55D3;
      -webkit-animation: spin 3s linear infinite;
      animation: spin 3s linear infinite;
  }
  #loader:after {
      content: "";
      position: absolute;
      top: 15px;
      left: 15px;
      right: 15px;
      bottom: 15px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: var(--primary-dark);
      -webkit-animation: spin 1.5s linear infinite;
      animation: spin 1.5s linear infinite;
  }
  @-webkit-keyframes spin {
      0%   {
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
      }
      100% {
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(360deg);
          transform: rotate(360deg);
      }
  }
  @keyframes spin {
      0%   {
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
      }
      100% {
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(360deg);
          transform: rotate(360deg);
      }
  }