.strapi-gallery__container__file-container__single {
  width: 7rem;
  height: 7rem;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: #c5ccd3;
  transition-property: all;
  transition-duration: 150ms;

  &:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  @media (prefers-color-scheme: dark) {
    border-color: #424c57;
  }

  &--png-svg-eps {
    background-color: #e2e5e9;

    @media (prefers-color-scheme: dark) {
      background-color: #2c333a;
    }
  }

  &__img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    &--object-contain {
      object-fit: contain;
    }

    &--object-cover {
      object-fit: cover;
    }
  }

  &__container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

    &__file {
      display: flex;
      text-align: center;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      &__name {
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 500;
        color: #2c333a;

        @media (prefers-color-scheme: dark) {
          color: #c5ccd3;
        }
      }

      &__ext {
        color: #6e7f91;

        @media (prefers-color-scheme: dark) {
          color: #8b99a7;
        }
      }

      &__size {
        color: #6e7f91;
        font-size: 0.75rem;
        line-height: 1rem;

        @media (prefers-color-scheme: dark) {
          color: #8b99a7;
        }
      }
    }
  }
}

.strapi-selected-file-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  &__img-container {
    width: 7rem;
    height: 7rem;
    border-radius: 0.25rem;
    border-width: 1px;
    border-color: #c5ccd3;

    @media (prefers-color-scheme: dark) {
      border-color: #424c57;
    }

    &--png-svg-eps {
      background-color: #e2e5e9;

      @media (prefers-color-scheme: dark) {
        background-color: #2c333a;
      }
    }

    &__img {
      width: 100%;
      height: 100%;
      object-fit: cover;

      &--object-contain {
        object-fit: contain;
      }

      &--object-cover {
        object-fit: cover;
      }
    }

    &__container {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;

      &__file {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        &__name {
          font-size: 0.875rem;
          line-height: 1.25rem;
          font-weight: 500;
          color: #2c333a;

          @media (prefers-color-scheme: dark) {
            color: #c5ccd3;
          }
        }

        &__ext {
          color: #6e7f91;

          @media (prefers-color-scheme: dark) {
            color: #8b99a7;
          }
        }

        &__size {
          color: #6e7f91;
          font-size: 0.75rem;
          line-height: 1rem;

          @media (prefers-color-scheme: dark) {
            color: #8b99a7;
          }
        }
      }
    }
  }

  &__details {
    display: flex;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    color: #586674;

    @media (prefers-color-scheme: dark) {
      color: #c5ccd3;
    }

    &__filename {
      font-weight: 600;
      color: #2c333a;

      @media (prefers-color-scheme: dark) {
        color: #e2e5e9;
      }
    }

    &__alt-text {
      font-size: 0.875rem;
      line-height: 1.25rem;
      font-weight: 400;
      border-radius: 0.25rem;
      border-width: 1px;
      border-color: #c5ccd3;
      background-color: #e2e5e9;
      color: #2c333a;

      @media (prefers-color-scheme: dark) {
        background-color: #2c333a;
        border-color: #424c57;
        color: #e2e5e9;
      }
    }
  }
}
