@use "../../../../styles/abstracts/variables";
@use "../../../../styles/abstracts/mixins";

.user__row {
  display: grid;

  grid-template-columns:
    250px
    200px
    150px
    250px
    140px
    160px;

  min-width: 1130px;

  align-items: center;

  padding: 0.95rem 1.25rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.04);

  transition: all 0.2s ease;
  font-size: .8rem;

  &:hover {
    background: rgba(255, 255, 255, 0.02);
  }

  span {
    color: rgba(255, 255, 255, 0.88);

    font-size: 0.8rem;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
  }

  /* STATUS */

  &--active,
  &--notactive {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 90px;

    height: 32px;

    padding: 0 0.85rem;

    border-radius: 999px;

    font-size: 0.72rem;

    font-weight: 600;

    white-space: nowrap;
  }

  &--active {
    color: #22c55e;

    background: rgba(34, 197, 94, 0.08);

    border: 1px solid rgba(34, 197, 94, 0.15);
  }

  &--notactive {
    color: #ef4444;

    background: rgba(239, 68, 68, 0.08);

    border: 1px solid rgba(239, 68, 68, 0.15);
  }

  /* ACTION BUTTON */

  &--manage {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: fit-content;

    height: 34px;
    margin-left: 1rem;
    padding: 0 0.9rem;

    border-radius: 10px;

    background: rgba(247, 147, 24, 0.12);

    border: 1px solid rgba(247, 147, 24, 0.15);

    color: #f79318;

    font-size: 0.7rem;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;

    &:hover {
      background: rgba(247, 147, 24, 0.18);

      border-color: rgba(247, 147, 24, 0.25);

      transform: translateY(-1px);
    }
  }
}