div.component_Connector {

    display: none;

    &.show {
        display: inline-block;
    }

    perspective: 1000px;
}

div.component_Connector_inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;

    .flip & {
        transform: rotateX(-180deg);
    }
}

div.component_Connector_card {
    background-color: $background-light;
    border-radius: 5px;
    padding: 15px 5px 5px 5px;
}

div.component_Connector_card_front, div.component_Connector_card_back {
    position: absolute;
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    visibility:visible;
    backface-visibility: hidden;
}

div.component_Connector_card_front {
    box-shadow: 1px 3px 10px $support-color-dark;
}

div.component_Connector_card_back {
    margin-top: 15px;
    transform: rotateX(180deg);
    box-shadow: 1px 3px 10px $support-color-dark;
}

div.component_Connector_card_label {
    text-align: center;
    font-weight: bold;
    font-size: large;
}

div.component_Connector_card_sublabel {
    text-align: center;
    font-size: smaller;

    & > a {
        cursor: pointer;
        color: $color-button-dark;
        text-decoration: underline;
    }

    & > a:hover {
        color: #000000;
    }
}

div.component_Connector_card_sublabel_invite_expirationlabel {
    font-family: monospace;
    font-size: 13px;
}

div.component_Connector_notification_copiedtoclipboard {

    display: none;
    position: relative;
    text-align: center;
    font-size: smaller;
    color: $color-button-dark;

    & > div {
        position: absolute;
        top: -19px;
        left: 33px;
    }

    &.show {
        display: block;
    }
}

div.component_Connector_instructions {
    border-radius: 3px;
    background-color: $background-lightestgray;
    border: $background-lightgray 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;

    margin: 10px 5px 5px 5px;
    padding: 15px;

    & div.component_Connector_instructions_url {
        font-weight: bold;

        & a {
            text-decoration: none;
            color: #000000;

            &:hover {
                color: $color-button-dark;
            }
        }
    }

    & div.component_Connector_instructions_guidance {
        margin: 20px 0 20px 0;
        font-size: smaller;
    }

    & div.component_Connector_instructions_code {
        font-size: x-large;
        font-weight: bold;
    }

    & div.component_Connector_instructions_validity {
        margin-top: 5px;
        font-size: smaller;

        &.almostexpired {
            color: $textcolor-alert;
        }
    }
}


// ----------------------------------------------------------------
// --- Send invite ------------------------------------------------
// ----------------------------------------------------------------


div.component_Connector_sendinvite_container {
    display: block;
    background-color: #ffffff;
}

div.component_Connector_container {
    display: block;
}

div.component_Connector_connectiontypes_container {
    display: none;
}

div.component_Connector_sendinvite_channels {
    width: 166px;
    margin: 20px 15px 25px 15px;
    background-color: #ffffff;

    & > div.component_Connector_sendinvite_channel_row {
        margin-bottom: 3px;
    }

    & > div.component_Connector_sendinvite_channel_row:last-child {
        margin-bottom: 0;
    }
}

div.component_Connector_sendinvite_channel_row {
    display: flex;
    flex-direction: row;

    & > div.component_Connector_sendinvite_channel {
        margin-right: 3px;
    }

    & > div.component_Connector_sendinvite_channel:last-child {
        margin-right: 0;
    }
}

div.component_Connector_sendinvite_channel {
    flex: auto;
    cursor: pointer;
    background-color: #f4f4f4;
}

div.component_Connector_sendinvite_channel_name {
    width: 82px;
    height: 25px;
}

div.component_Connector_sendinvite_channel_name_label {
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    color: #7c7c7c;

    div.component_Connector_sendinvite_channel:hover & {
        color: $color-button-dark;
    }
}

div.component_Connector_sendinvite_channel_icon {

    width: 82px;
    height: 50px;

    background-color: #C25B56;
    background: url('/static/images/channelicons.png');
    background-repeat: no-repeat;
    background-size: 166px 292px;

    &.whatsapp {
        background-position: 0 -23px;

        div.component_Connector_sendinvite_channel:hover & {
            background-position: 0 -169px;
        }
    }

    &.telegram {
        background-position: -82px -25px;

        div.component_Connector_sendinvite_channel:hover & {
            background-position: -82px -171px;
        }
    }

    &.email {
        background-position: -1px -97px;

        div.component_Connector_sendinvite_channel:hover & {
            background-position: -1px -243px;
        }
    }

    &.copylink {
        background-position: -82px -97px;

        div.component_Connector_sendinvite_channel:hover & {
            background-position: -82px -243px;
        }
    }
}
