.dashcounters {
  @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2 mb-4;
}

.dashcounter {
  @apply bg-gray-200 dark:bg-gray-600 p-4 rounded flex flex-col items-center space-y-2 hover:-translate-y-1 transition-transform cursor-pointer;
}

.dashwidgets {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
  padding: 0 20px 20px 20px;
}

.dashwidget {
  flex: 1;
  margin-bottom: 20px;
  padding: 0 5px;

  h4 {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: hsla(var(--primary-text-color_hsl), 0.6);
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--accent-color--med);
  }

  a {
    color: var(--brand-color);
  }
}

.unapproved-account {
  padding: 15px 20px;
  font-size: 14px;
  display: flex;

  &__nickname {
    font-weight: bold;
  }

  &__actions {
    margin-left: auto;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 10px;
    padding-left: 20px;

    .svg-icon {
      height: 24px;
      width: 24px;
    }
  }
}

.page--admin .slist .item-list article:nth-child(2n-1) {
  .unapproved-account,
  .logentry {
    background-color: hsla(var(--accent-color_hsl), 0.07);
  }
}

.page--admin {
  @media screen and (max-width: 895px) {
    .columns-area__panels {
      flex-direction: column;
      align-items: center;

      &__pane--left {
        display: block;
        width: 100%;
        max-width: 600px;
        padding: 10px 0;
        box-sizing: border-box;

        .columns-area__panels__pane__inner {
          width: auto;
        }
      }
    }
  }

  blockquote.md {
    padding: 5px 0 5px 15px;
    border-left: 3px solid hsla(var(--primary-text-color_hsl), 0.4);
    color: var(--primary-text-color--faint);
  }
}

.admin-report {
  padding: 15px;
  display: flex;
  border-bottom: 1px solid var(--brand-color--faint);

  &__content {
    padding: 0 16px;
    flex: 1;
    overflow: hidden;
  }

  &__title {
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;

    a {
      color: var(--primary-text-color);
    }
  }

  &__quote {
    font-size: 14px;

    a {
      color: var(--brand-color--hicontrast);
    }

    .byline {
      font-size: 12px;

      a {
        color: var(--primary-text-color);
        text-decoration: none;
      }
    }
  }

  &__actions {
    display: flex;
    align-items: center;
    height: fit-content;
    margin-left: auto;

    .icon-button {
      padding-left: 10px;

      > div {
        display: flex;
        align-items: center;
        justify-content: center;

        > .svg-icon {
          height: 20px;
          width: 20px;
        }
      }
    }
  }

  &__statuses .accordion {
    padding: 10px;
    margin-bottom: 6px;

    &__title {
      font-size: 12px !important;
      font-weight: normal !important;
      margin-bottom: 0 !important;
    }
  }

  &__status-content {
    overflow: hidden;
  }

  &__status {
    display: flex;
    border-bottom: 1px solid var(--accent-color--med);
    padding: 10px 0;

    &:last-child {
      border: 0;
    }

    .status__content {
      flex: 1;
      padding: 0;
    }

    &-actions {
      padding: 3px 10px;
      margin-left: auto;
    }
  }
}

.logentry {
  padding: 15px;

  &__timestamp {
    color: var(--primary-text-color--faint);
    font-size: 13px;
    text-align: right;
  }
}
