/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use 'sass:map';
@use './mixins';
@use '../theme';

@include mixins.core-styles;

:host {
  display: block;
}

:host([hidden]) {
  display: none;
}

:host([fixed]) {
  .forge-backdrop {
    position: fixed;
  }
}

:host([appearance='light']) {
  --forge-backdrop-theme-background: #{map.get(map.get(theme.$text-colors, light), secondary-alternative)};
}

:host([appearance='dark']) {
  --forge-backdrop-theme-background: #{map.get(map.get(theme.$text-colors, dark), secondary)};
}
