/* Shell */
:root {
  --logo: url('./assets/custom/logo-pbw-2025.png') no-repeat;
  --logo-compact: url('./assets/custom/PBW_LOGO_small.svg');
  --logo-login: url('/assets/custom/logo-pbw-2025.png');
  --logo-max-width: 20rem;
  --logo-max-height: 3rem;

  --shell-header-background: #fff;
  --shell-background: var(--primary-color);
  --shell-header-text: var(--text-color);
  --shell-bg-color: transparent;
  --shell-border: 1px solid var(--primary-color);
  --shell-button-color: var(--text-color);
  --shell-font-color: var(--text-color);
  --shell-content-background: #e6e6e6;

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

  --panelmenu-color: #fff;
  --panelmenu-color-hover: var(--gray-500);
  --panelmenu-color-active: #a9afc8;
  --panelmenu-color-link-active: #a9afc8;

  --login-background: url('/assets/custom/background.jpg');
  --login-background-size: cover;
  --login-card-background: #fff;

  --state-available: #8dc63f;
  --state-charging: #06357a;
  --state-reserved: #9c27b0;
  --state-error: #b00020;
  --state-not-connected: #999;

  --report-color-authorization: #00bcd4;
  --report-textColor-authorization: #fff;
  --report-color-charging: #8dc63f;
  --report-textColor-charging: #fff;
  --report-color-energy: #fbc02d;
  --report-textColor-energy: #fff;

  --report-authmap-color0: #fff;
  --report-authmap-color1: #6392cb;
  --report-authmap-color2: #206fa8;
  --report-authmap-color3: #28a86e;
  --report-authmap-color4: #8dc63f;

  --report-splitline-color: #ccc;

  --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: #009fe3;
  --dynamicForm-warn-color: #faad00;
  --dynamicForm-summary-color: #001017;
  --dynamicForm-text-color: #404040;
  --dynamicForm-container-background: #0000000d;

  --eum-user-enabled-color: #8dc63f;
  --eum-user-disabled-color: #b00020;
  --eum-modal-max-width: 750px;
  --eum-create-button-primary-color: #06357a;
  --eum-create-button-secondary-color: #8dc63f;
  --eum-card-background-color: #fff;
  --eum-card-border: 1px solid #fff;
  --eum-card-border-radius: 2px;
}

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

/* Typography */
:root {
  --font-family-headline: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --icon-font-family: 'EAAZE-Icons';

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

  --h1-font-family: var(--font-family-headline);
  --h1-font-weight: 300;
  --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: normal;
  --h2-color: initial;
  --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: 400;
  --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;
  }
}
