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

/**
 * @file
 * Claro styles for the System Status general info.
 */

.system-status-general-info {
  padding: var(--gin-spacing-m);

  h3 + .divider,
  .divider:last-child {
    display: none;
  }

  @media screen and (max-width: 48em) {
    margin-block-start: 1.5625rem;
    border-block-start: 0;
  }
}

.system-status-general-info__header {
  --system-status-general-info-header-color: #ccc;

  padding: var(--gin-spacing-m) var(--gin-spacing-l);
  text-transform: none;
  margin-block: 0 var(--gin-spacing-xs);
  margin-inline: 0;
  border: 0 none;
  border-radius: var(--gin-border-m);
  background: var(--gin-bg-header);
  font-size: var(--gin-font-size-l);
  font-weight: var(--gin-font-weight-bold);

  @media screen and (max-width: 48em) {
    display: none;
  }
}

.system-status-general-info__item {
  display: block;
  overflow-x: auto;
  box-sizing: border-box;
  margin-block-end: var(--space-l);
  padding: var(--gin-spacing-m);
  border: 0 none;
  background: transparent;
  box-shadow: none;

  @media screen and (min-width: 48em) {
    width: 32%;

    &:last-of-type {
      margin-inline-start: 2%;
    }
  }
}

.system-status-general-info__item-icon {
  display: inline-block;
  width: 2.625rem;
  height: 2.625rem;
  vertical-align: top;

  &::before {
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    border-radius: 2.625rem;
    background-color: var(--gin-color-primary);
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 2rem 2rem;
  }
}

.system-status-general-info__item-icon--drupal::before {
  mask-image: var(--admin-icon-drupal);
}

.system-status-general-info__item-icon--clock::before {
  mask-image: var(--admin-icon-clock);
}

.system-status-general-info__item-icon--server::before {
  mask-image: var(--admin-icon-server);
}

.system-status-general-info__item-icon--php::before {
  mask-image: var(--admin-icon-php);
}

.system-status-general-info__item-icon--database::before {
  mask-image: var(--admin-icon-database);
}

.system-status-general-info__item-details {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: calc(100% - 3.75rem);
  padding-inline-start: 0.625rem;
  font-size: var(--font-size-s);
}

.system-status-general-info__item-title {
  margin: 0 0 0.5rem;
  color: var(--gin-color-title);
  font-size: var(--gin-font-size);
  font-weight: var(--gin-font-weight-semibold);
}

.system-status-general-info__sub-item-title {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  font-weight: var(--gin-font-weight-bold);

  &::after {
    content: ":\00a0";
  }
}

.system-status-general-info__sub-item__title {
  font-weight: bold;
}

.system-status-general-info__sub-item__value {
  display: block;
}

.system-status-general-info__run-cron {
  margin: 1em 0 0;

  &.button {
    margin: 0;
  }
}

.system-status-general-info__items {
  margin-block: var(--gin-spacing-m) 0;
  margin-inline: 0;
  border-block-end: 0 none;

  @media screen and (min-width: 48em) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    &::after {
      flex: auto;
      content: "";
    }
  }
}
