/*
Copyright 2022 The Matrix.org Foundation C.I.C.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_ShareType {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding: 60px $spacing-12 $spacing-32;

    color: $primary-content;

    .mx_ShareType_wrapper_options {
        display: flex;
        flex-direction: column;
        row-gap: $spacing-12;
        width: 100%;
        margin-top: $spacing-12;

        .mx_ShareType_option {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: $spacing-8 $spacing-20;
            background: none;

            border: 1px solid $quinary-content;
            border-radius: 8px;

            font-size: $font-15px;
            font-family: inherit;
            line-height: inherit;
            color: $primary-content;

            &:hover,
            &:focus {
                border-color: $accent;
            }
        }
    }
}

.mx_ShareType_badge {
    height: 60px;
    width: 60px;
    margin-bottom: $spacing-20;
    background-color: $accent;
    border-radius: 50%;
    border: 14px solid $accent;
    // colors icon
    color: white;
    box-sizing: border-box;
}

.mx_ShareType_heading {
    padding-bottom: $spacing-32;
    text-align: center;
}

.mx_ShareType_option-icon {
    height: 40px;
    width: 40px;
    box-sizing: border-box;
    margin-right: $spacing-12;
    flex: 0 0 40px;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;

    // Live is styled by StyledLiveBeaconIcon

    &.Own {
        border-color: $accent;
    }

    &.Pin {
        border-color: $accent;
        background-color: $accent;
        padding: 7px;
        // colors icon
        color: white;
    }
}
