.resource-progress-container {
  display: flex;
  align-items: center;
  gap: 8px;

  &.resource-horizontal {
    flex: 1;
  }

  .resource-progress {
    display: flex;
    gap: 2px;
    flex: 1;

    .unit {
      flex: 1;
      height: 8px;
      border-radius: 4px;
      transition: all 0.3s;

      &.unit-active {
        opacity: 1;
      }
    }

    .unit-percent {
      flex: 1;
      display: flex;
      overflow: hidden;
      border-radius: 4px;
    }
  }

  .resource-progress-unit {
    min-width: 48px;
    text-align: right;
    font-size: 14px;
  }

  .resource-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 80px;

    .resource-text {
      color: rgba(0, 0, 0, 0.45);
      font-size: 12px;
    }

    span {
      font-size: 14px;
      color: rgba(0, 0, 0, 0.85);
    }
  }
}