.TagComponent {
    color: @at-white;
    cursor: default;
    background: @at-blue;
    border-radius: @at-space;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    align-content: center;
    min-height: @at-space-4x;
    overflow: hidden;
    max-width: 200px;
    margin: @at-space;
}

.TagComponent-name {
    color: @at-white;
    margin: 2px @at-space-2x;
    align-self: center;
    word-break: break-word;

    &:hover,
    &:focus {
        color: @at-white;
    }
}

.TagComponent-icon {
    .at-mixin-VerticallyCenter();
    line-height: 20px;
    margin-left: @at-space-2x;

    &--cloud:before,
    &--aws:before,
    &--tower:before,
    &--azure_rm:before,
    {
        content: '\f0c2';
    }

    &--insights:before {
        content: '\f129';
    }

    &--net:before {
        content: '\f0e8';
    }

    &--scm:before {
        content: '\f126';
    }

    &--ssh:before {
        content: '\f084';
    }

    &--vault:before {
        content: '\f187';
    }
}

.TagComponent-button {
    padding: 0 @at-space;
    .at-mixin-VerticallyCenter();
}

.TagComponent-button:hover {
    cursor: pointer;
    border-color: @at-color-error;
    background-color: @at-color-error;
}
