/*
 * This file is part of the UX SDC Bundle
 *
 * (c) Jozef Môstka <https://github.com/tito10047/ux-sdc>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/* Styles for Metrics component */


@layer components {
  .metrics {
    padding-block: 0;
    background: var(--color-bg);
    border-block: var(--border-thin);

    & .metrics__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    & .metrics__item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 48px 24px !important;
      border-right: 1px solid rgba(255, 255, 255, 0.08);
      gap: 8px;
    }

    & .metrics__item:last-child {
      border-right: none;
    }

    & .metrics__value {
      font-family: var(--font-mono);
      font-size: var(--size-step-4);
      font-weight: 700;
      color: var(--color-text-main);
      line-height: 1;
      text-shadow: 0 0 30px var(--color-glow);
    }

    & .metrics__label {
      font-size: var(--size-step--2);
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--color-text-muted);
      font-weight: 500;
    }
  }
}
