@use 'utils/mixins';

.InviteMembersLink {
    display: flex;

    &__input {
        height: 48px;
        flex-grow: 1;
        padding: 12px 14px;
        border-radius: 4px 0 0 4px;
        border-top: 1px solid rgba(var(--center-channel-color-rgb), 0.2);
        border-right: 0;
        border-bottom: 1px solid rgba(var(--center-channel-color-rgb), 0.2);
        border-left: 1px solid rgba(var(--center-channel-color-rgb), 0.2);
        background: var(--center-channel-color-rgb);
        color: rgba(var(--center-channel-color-rgb), 0.75);
        font-size: 16px;
    }

    button {
        display: flex;
        max-width: 382px;
        flex-grow: 0;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;

        span {
            display: inline-block;
            height: 24px;
            margin-right: 9px;
        }

        svg {
            fill: var(--button-bg);
        }
    }

    &__button {
        width: 180px;
        height: 48px;
        border: 1px solid var(--button-bg);
        border-radius: 0 4px 4px 0;
        background: var(--center-channel-bg);
        color: var(--button-bg);

        &:hover {
            background: rgba(var(--button-bg-rgb), 0.08);
        }

        &:active {
            background: rgba(var(--button-bg-rgb), 0.08);
        }
    }

    &__button--single {
        @include mixins.tertiary-button;

        height: 40px;
        border-radius: 4px;
    }
}
