// stylelint-disable max-nesting-depth, selector-max-compound-selectors
@import 'app/styles/components';

.registration-container {
    margin: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    .registration-tab-container {
        width: 100%;

        .tabs {
            .registration-pane {
                padding-top: 20px;
                min-height: 150px;
            }

            /* stylelint-disable selector-no-qualifying-type */
            ul.tab-list {
                @include tab-list;
            }
        }
    }

    .registration-button-container {
        width: 100%;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        margin-bottom: 10px;
    }

    .register-project-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    &.mobile {
        margin: 0;
        padding: 0;

        .registration-button-container {
            margin-top: 10px;
            padding-right: 10px;
        }

        .registration-tab-container {
            width: 100%;

            .tabs {
                .registration-pane {
                    padding-top: 20px;
                    min-height: 150px;
                }
            }
        }
    }
}

h4:global(.new-registration-modal-header) {
    font-size: 24px;
    font-weight: normal;
}

:global(.new-registration-modal-info) {
    strong {
        font-weight: 600;
    }
}

:global(.new-registration-modal-schema-list) {
    ul {
        list-style: none;
    }

    li {
        position: relative;

        input {
            position: absolute;
            left: -1.4em;
            top: -0.1em;
        }

        &:global(.ember-content-placeholders-list__item)::before {
            content: '\25EF';
            position: absolute;
            left: -1.45em;
            color: #555;
        }
    }
}

.no-registrations-mobile {
    margin-left: 10px;
    margin-right: 10px;
}
