/*
 * SPDX-FileCopyrightText: 2026 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
@use 'theme/core/common' as common;
@use 'theme/core/components' as components;
@use 'mixins/reduce-motion' as rm;
@use 'mixins/fonts' as font-mixins;
@use 'mixins/scrollbar';

:root {
  --ix-safe-area-inset-top: 0rem;
  --ix-safe-area-inset-right: 0rem;
  --ix-safe-area-inset-bottom: 0rem;
  --ix-safe-area-inset-left: 0rem;
}

[data-ix-theme] {
  --animate-duration: var(--theme-default-time);
  --theme-font-family: Siemens Sans, system-ui, -apple-system, 'Segoe UI',
    Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

  font-family: var(--theme-font-family);
  color: var(--theme-color-std-text);

  @include common.setVars;
  @include components.setComponentVars;
  @include rm.reduce-motion;
}

body {
  color: var(--theme-color-std-text);
  background-color: var(--theme-color-1);
  margin: 0;
  @include font-mixins.typography-body;
}

body:not(.disable-scrollbar) {
  @include scrollbar.scrollbar;
}
