@use 'base-variables' as *;

@include export-module('base-core') {

  .e-control,
  .e-css,
  .e-error {
    font-family: $font-family;
    font-size: $font-size;
    font-weight: $font-weight;
  }

  $white: #fff;
  $background: #e82824;
  $warning: #ffd800;
  $yellow: #ff0;
  .e-error {
    @if $skin-name == 'Material3' {
      color: rgba($error-font-color);
    }
    @else {
      color: $error-font-color;
    }
  }

  .e-control,
  .e-control [class ^= 'e-'],
  .e-control [class *= ' e-'] {
    box-sizing: border-box;
  }

  .e-control:focus,
  .e-control *:focus {
    outline: none;
  }

  .e-rtl {
    direction: rtl;
    text-align: right;
  }

  .e-overlay {
    background-color: $overlay-bg-color;
    height: 100%;
    opacity: .5;
    pointer-events: none;
    touch-action: none;
    width: 100%;
  }

  .e-hidden {
    display: none;
  }

  .e-blazor-hidden {
    visibility: hidden;
  }

  .e-disabled {
    background-image: none;
    cursor: default;
    opacity: .35;
  }

  .e-ul {
    list-style-type: none;
  }

  .e-prevent-select {
    user-select: none;
  }

  .e-warning {
    @if $skin-name == 'Material3' {
      color: rgba($warning-font-color);
    }
    @else {
      color: $warning-font-color;
    }
  }

  .e-success {
    @if $skin-name == 'Material3' {
      color: rgba($success-font-color);
    }
    @else {
      color: $success-font-color;
    }
  }

  .e-information {
    @if $skin-name == 'Material3' {
      color: rgba($information-font-color);
    }
    @else {
      color: $information-font-color;
    }
  }

  .e-block-touch {
    touch-action: pinch-zoom;
  }

  .sf-license-validation-banner {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    font-size: 14px;
    background: #eef2ff;
    color: #222222;
    z-index: 999999999;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    display: flex;
    align-items: flex-start;
    padding: 12px;
  }

  .sf-license-validation-banner .sf-license-validation-icon {
    margin: 1px 12px 0 0;
    padding: 0;
    flex-shrink: 0;
  }

  .sf-license-validation-banner .sf-license-validation-link {
    display: inline;
    text-decoration: none;
    color: #0d6efd;
    font-weight: 500;
    margin: 0 0 0 6px;
    padding: 0;
  }

  .sf-license-validation-banner .sf-license-validation-close {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
    margin-left: auto;
  }
}
