/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Styles for the system status counter component.
 */

.system-status-counter {
  display: inline-block;
  overflow-y: hidden;
  box-sizing: border-box;
  width: 100%;
  white-space: nowrap;
}

.system-status-counter__status-icon {
  display: inline-block;
  width: 4.0625rem;
  height: 3.75rem;
  vertical-align: middle;
}

[dir="rtl"] .system-status-counter__status-icon {
  border-right: 0;
  border-left: 1px solid #e6e4df;
}

.system-status-counter__status-icon:before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 2.5rem;
}

.system-status-counter__status-icon--error:before {
  background-image: url(../../../../misc/icons/dc2323/error.svg);
}

.system-status-counter__status-icon--warning:before {
  background-image: url(../../images/core/e29700/warning.svg);
}

.system-status-counter__status-icon--checked:before {
  background-image: url(../../images/core/73b355/check.svg);
}

@media (forced-colors: active) {
  .system-status-counter__status-icon:before {
    background-color: canvastext;
    background-image: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: right center;
    mask-position: right center;
    -webkit-mask-size: 2.5rem;
    mask-size: 2.5rem;
  }
  .system-status-counter__status-icon--error:before {
    -webkit-mask-image: url(../../../../misc/icons/dc2323/error.svg);
    mask-image: url(../../../../misc/icons/dc2323/error.svg);
  }
  .system-status-counter__status-icon--warning:before {
    -webkit-mask-image: url(../../images/core/e29700/warning.svg);
    mask-image: url(../../images/core/e29700/warning.svg);
  }
  .system-status-counter__status-icon--checked:before {
    -webkit-mask-image: url(../../images/core/73b355/check.svg);
    mask-image: url(../../images/core/73b355/check.svg);
  }
}

.system-status-counter__status-title {
  display: inline-block;
  padding: 0 1.125rem;
  vertical-align: middle;
  font-size: 1.125em;
  font-weight: bold;
  line-height: 1em;
}

.system-status-counter__title-count {
  display: block;
  margin-bottom: 0.5rem;
}

.system-status-counter__details {
  display: block;
  text-transform: none;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
}

@media screen and (min-width: 64.0625rem) {
  .system-status-report-counters__item {
    padding-top: var(--space-s);
    padding-bottom: var(--space-s);
  }
  .system-status-counter__status-icon,
  .system-status-counter {
    height: 4.0625rem;
  }
  .system-status-counter__status-icon {
    width: 4.0625rem;
  }
}
