@use '../variables' as *;

.job-stats-overview {
  /* 固定宽度卡片 */
  box-sizing: border-box;
  position: relative;
  width: 3.25rem;
  padding: 0.24rem 0.20rem;
  background: linear-gradient(180deg, #EDF9FA 0%, #FFFFFF 20.63%);
  border: 1px solid #F0F0F0;
  box-shadow: 0 0.02rem 0.06rem rgba(15, 23, 42, 0.025);
  border-radius: 0.12rem;
  font-size: 0.14rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 1.8rem;

  /* 右上角装饰图片 */
  &__icon {
    position: absolute;
    top: 0.10rem;
    right: 0.10rem;
    width: 0.86rem;
    height: 0.72rem;
    object-fit: contain;
    pointer-events: none;
  }

  /* 内容纵向居中容器 */
  &__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.32rem;
    width: 100%;
  }

  /* 标题区域 */
  &__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.04rem;
  }

  &__title {
    font-weight: 600;
    font-size: 0.18rem;
    line-height: 0.24rem;
    color: #1A1A1A;
  }

  &__date {
    font-weight: 330;
    font-size: 0.14rem;
    line-height: 0.19rem;
    color: #64748B;
  }

  /* 数据指标行 */
  &__metrics {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.20rem;
  }

  /* 单个指标 */
  &__metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.04rem;
  }

  &__metric-num {
    font-weight: 600;
    font-size: 0.30rem;
    line-height: 0.40rem;
    color: $accent;
    display: flex;
    align-items: center;
    text-align: center;
  }

  &__metric-label {
    font-weight: 330;
    font-size: 0.14rem;
    line-height: 0.19rem;
    color: #6A7282;
    text-align: center;
  }

  /* 竖线分隔 */
  &__divider {
    width: 0;
    height: 0.52rem;
    border-left: 1px solid #F0F0F0;
  }
}
