/* Shell */
:root {
  --logo: url('./assets/custom/ista_Logo_EV-Charging_horizontal_Off-White_RGB.svg') no-repeat;
  --logo-compact: url('./assets/custom/ista_Logo_EV-Charging_horizontal_Off-White_RGB.svg') no-repeat;
  --logo-login: url('./assets/custom/ista_Logo_EV-Charging_horizontal_OceanBlue_RGB.svg');
  --logo-max-width: 20rem;
  --logo-max-height: 1rem;

  --shell-header-background: var(--surface-800);
  --shell-background: var(--surface-800);
  --shell-header-text: #00003c;
  --shell-bg-color: transparent;
  --shell-border: 1px solid #00003c;
  --shell-button-color: #CBD5E1;
  --shell-font-color: #00003c;
  --shell-content-background: #f4f7f9;

  --offCanvas-width: 100vw;
  --header-height: 70px;

  --panelmenu-color: #CBD5E1;
  --panelmenu-color-hover: #F4F7F9;
  --panelmenu-color-active: #1BEB83;
  --panelmenu-color-link-active: #1BEB83;

  --login-background: url("/assets/custom/ista_bg.png") no-repeat center center;
  --login-background-size: cover;
  --login-card-background: #fff;

  --state-available: #1beb83;
  --state-charging: #0071ff;
  --state-reserved: #f2ad00;
  --state-error: #E43E0C;
  --state-not-connected: #1E293B;

  --report-color-authorization: #0071ff;
  --report-textColor-authorization: #fff;
  --report-color-charging: #1beb83;
  --report-textColor-charging: #fff;
  --report-color-energy: #f2ad00;
  --report-textColor-energy: #fff;

  --report-authmap-color0: #fff;
  --report-authmap-color1: #00003c;
  --report-authmap-color2: #0071ff;
  --report-authmap-color3: #1beb83;
  --report-authmap-color4: #003c32;

  --report-splitline-color: #676767;

  --mega-button-color: var(--primary-color);
  --mega-button-background: var(--primary-color-text);
  --mega-button-border: 1px solid var(--border-color-dark);
  --mega-button-border-hover: 1px solid var(--border-color-darker);

  --dynamicForm-info-color: #0071ff;
  --dynamicForm-warn-color: #f2ad00;
  --dynamicForm-summary-color: #00003c;
  --dynamicForm-text-color: #00003c;
  --dynamicForm-container-background: #0000000d;

  --eum-user-enabled-color: #1beb83;
  --eum-user-disabled-color: #e73c06;
  --eum-modal-max-width: 750px;
  --eum-create-button-primary-color: #0071ff;
  --eum-create-button-secondary-color: #0071ff;
  --eum-card-background-color: #fff;
  --eum-card-border: 1px solid #fff;
  --eum-card-border-radius: 6px;
}

@media (min-width: 992px) {
  :root {
    --offCanvas-width: 320px;
  }
}

/* Typography */
:root {
  --font-family-headline: 'The Sans for ista', sans-serif;
  --font-family: 'The Sans for ista', sans-serif;
  --icon-font-family: 'EAAZE-Icons';

  --font-weight-lighter: 300;
  --font-weight-light: 300;
  --font-weight-regular: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  --h1-font-family: var(--font-family-headline);
  --h1-font-weight: 700;
  --h1-color: inherit;
  --h1-text-transform: none;
  --h1-font-size: 30px;
  --h1-line-height: 36px;
  --h1-letter-spacing: 0;
  --h1-text-align: left;
  --h1-margin: 0 0 1rem 0;

  --h2-font-family: var(--font-family-headline);
  --h2-font-weight: 600;
  --h2-color: #475569;
  --h2-text-transform: none;
  --h2-font-size: 24px;
  --h2-line-height: 30px;
  --h2-letter-spacing: 0;
  --h2-text-align: left;
  --h2-margin: 0 0 0.5rem 0;

  --h3-font-family: var(--font-family-headline);
  --h3-font-weight: 500;
  --h3-color: initial;
  --h3-text-transform: none;
  --h3-font-size: 18px;
  --h3-line-height: 30px;
  --h3-letter-spacing: 0;
  --h3-text-align: left;
  --h3-margin: 0 0 0.25rem 0;

  --h4-font-family: var(--font-family-headline);
  --h4-font-weight: 300;
  --h4-color: initial;
  --h4-text-transform: none;
  --h4-font-size: 18px;
  --h4-line-height: 30px;
  --h4-letter-spacing: 0;
  --h4-text-align: left;
  --h4-margin: 0 0 0.25rem 0;

  --h5-font-family: var(--font-family-headline);
  --h5-font-weight: 600;
  --h5-color: initial;
  --h5-text-transform: none;
  --h5-font-size: 1rem;
  --h5-line-height: auto;
  --h5-letter-spacing: 0;
  --h5-text-align: left;
  --h5-margin: 0 0 0.125rem 0;

  --h6-font-family: var(--font-family-headline);
  --h6-font-weight: 300;
  --h6-color: initial;
  --h6-text-transform: uppercase;
  --h6-font-size: 1rem;
  --h6-line-height: auto;
  --h6-letter-spacing: 1.4px;
  --h6-text-align: left;
  --h6-margin: 0 0 0.125rem 0;

  --p-font-family: var(--font-family-headline);
  --p-font-weight: normal;
  --p-color: initial;
  --p-text-transform: none;
  --p-font-size: 1rem;
  --p-line-height: auto;
  --p-letter-spacing: 0;
  --p-text-align: left;
  --p-margin: 0 0 0.5rem 0;

  --p-small-font-family: var(--font-family-headline);
  --p-small-font-weight: normal;
  --p-small-color: initial;
  --p-small-text-transform: none;
  --p-small-font-size: 12px;
  --p-small-line-height: 1rem;
  --p-small-letter-spacing: 0;
  --p-small-text-align: left;

  --a-font-family: var(--p-font-family);
  --a-font-weight: 600;
  --a-color: var(--primary-color);
  --a-text-transform: none;
  --a-text-decoration: underline;
  --a-font-size: var(--p-font-size);
  --a-line-height: var(--p-line-height);
  --a-letter-spacing: var(--p-letter-spacing);
}

@media (max-width: 576px) {
  :root {
    --h1-font-size: 24px;
    --h1-line-height: 28px;
    --h2-font-size: 20px;
    --h2-line-height: 24px;
    --h3-font-size: 16px;
    --h3-line-height: 22px;
    --h4-font-size: 16px;
    --h4-line-height: 22px;
  }
}

@media (min-width: 768px) {
  .header__logo,
  .header__logo__pic {
    height: 100% !important;
  }
}
