.stat-card {
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgb(15 23 42 / 8%);
  }

  &__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  &__title {
    font-size: 13px;
    color: var(--app-text-secondary);
  }

  &__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 19px;
  }

  &__delta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    color: #059669;

    em {
      font-style: normal;
      color: var(--app-text-secondary);
      margin-left: 2px;
    }
  }
}

.dashboard-row {
  margin-top: 16px;
}

.dashboard-card {
  height: 100%;

  .ant-card-head-title {
    font-weight: 600;
  }
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;

  &:hover {
    border-color: #c7d2fe;
    background: #fafaff;
  }

  &__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 19px;
  }

  &__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;

    strong {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--app-text);
    }

    small {
      font-size: 12px;
      color: var(--app-text-secondary);
    }
  }
}

.dashboard-activity {
  p {
    margin: 0 0 3px;
    font-size: 13px;
    color: var(--app-text);
  }

  strong {
    font-weight: 600;
  }

  span {
    font-size: 11.5px;
    color: var(--app-text-secondary);
  }
}

.dashboard-orders {
  margin-top: 16px;

  .ant-card-body {
    padding-top: 8px;
  }
}

.dashboard-order-id {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 12.5px;
  color: var(--app-primary-dark);
}

@media (max-width: 576px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}
