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

/**
 * @file
 * Admin list and admin item modules.
 */

/**
 * Admin list (wrapper of admin items).
 */

.admin-list {
  margin-block: 1em 2em;
  padding: 0;
}

.admin-list--panel {
  margin: -1em -1.5em;
}

/**
 * Admin item.
 */

.admin-item {
  padding-block: 0.75em;
  padding-inline: 3em 1.5em;
  &:not(:last-child) {
    border-bottom: calc(1em / 16) solid var(--color-gray-200);
  }
}

.admin-item__title {
  font-weight: bold;
}

.admin-item__link {
  position: relative;
  display: inline-block;
  margin-inline-start: -1.5em;
  padding-inline-start: 1.5em;
  -webkit-text-decoration: none;
  text-decoration: none;
}

/**
 * Admin item link icon.
 */

.admin-item__link::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: block;
  width: 1em;
  height: 1.5em;
  content: "";
  background: transparent no-repeat 50% 50%;
  background-image: url("data:image/svg+xml,%3csvg width='9' height='14' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.71.314L.29 1.723l5.302 5.353L.289 12.43l1.422 1.408 6.697-6.762z' fill='%23003ecc'/%3e%3c/svg%3e");

  [dir="rtl"] & {
    transform: scaleX(-1);
  }

  @media (forced-colors: active) {
    mask-image: url("data:image/svg+xml,%3csvg width='9' height='14' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.71.314L.29 1.723l5.302 5.353L.289 12.43l1.422 1.408 6.697-6.762z' fill='%23003ecc'/%3e%3c/svg%3e");
    mask-repeat: no-repeat;
    mask-position: center center;
    background-color: linktext;
    background-image: none;
  }
}

.admin-item__description {
  margin-block: 0.5em 0.25em;
  margin-inline: 0;
  color: var(--color-gray-800);
}
