@import "../../variables";
@import "../../mixins";

.LoginTop {
    background-color: $color_grey;
    height: $login_top_height;
    min-height: $login_top_height;
}

/* stylelint-disable selector-no-type */
/* stylelint-disable max-nesting-depth */

.Appuser-layout-wrapper {
    background-color: $color_panel_background;
    border: $border_main;
    margin: $offset_main * 6 auto;
    min-height: $appuser_height;
    padding: $offset_main * 5 $offset_main * 14.5;
    width: $appuser_width;

    .Layout-header {
        padding: 0;
        text-align: center;
    }

    .Section-body {
        text-align: left;

        h2 {
            margin-top: $offset_main * 2;
        }

        p {
            margin: $offset_main * 3 0;
        }

        .Restore-copy {
            margin: $offset_main 0;
        }

        .General-error {
            color: $color_danger;
        }

        .Logout-copy {
            text-align: center;
        }
    }

    .Form-item {
        text-align: left;
    }

    .Form-fieldset-buttons {
        border: none;
        padding-top: 0;
    }
}

.Login-notes {
    display: none;
}

.Login-notes strong,
.Restore-copy strong {
    color: $color_dark_text;
    font-weight: $weight_bold;
}

.User-edit-subheader {
    margin-bottom: $offset_main;
    position: relative;
}

.User-edit-fieldset {
    margin-top: $offset_main;
    max-width: $appuser_edit_width;

    textarea {
        height: auto;
    }
}

.User-edit-fieldset-dualselect {
    margin-top: $offset_main * 3;
}

.User-edit-fieldset-disablers {
    .Radio {
        margin: 0 0 $offset_main;
    }
}

.User-edit-link {
    font-size: $_font_size_label_default;
    font-weight: $weight_bold;
    margin: $offset_main * 2 0;
    text-transform: uppercase;
}

.User-main-nav {
    @include base-container;

    margin-bottom: $offset_main;
    padding: $offset_main * 3;
}

.User-main-summary {
    @include base-container;

    padding: $offset_main * 3;
}

.User-main-navinner {
    display: flex;
}

.User-main-navinner-form {
    .Input.MainSearch-query-input {
        width: $offset_main * 35;
    }
    .Form-button {
        margin-left: $offset_main;
    }
}

/* stylelint-disable no-descending-specificity */
.User-import-copy {
    max-width: $appuser_edit_width * 2;
    p {
        margin-bottom: $offset_main;
    }
    strong {
        color: $color_dark_text;
        font-weight: $weight_bold;
    }
}
/* stylelint-enable no-descending-specificity */
/* stylelint-enable max-nesting-depth */
/* stylelint-enable selector-no-type */

.Terms-section {
    margin-bottom: $offset_main * 5;

    .Terms-welcome {
        font-size: $font_size_heading_xl;
        font-weight: $weight_bold;
        margin: $offset_main * 4 0 $offset_main * 3;
        text-align: center;
    }
    .Terms-h {
        font-weight: $weight_bold;
        margin: $offset_main * 3 0 $offset_main;
    }
    .Terms-p {
        margin-bottom: $offset_main / 2;
        text-indent: $offset_main * 3;
    }
    .Terms-copyright {
        font-weight: $weight_bold;
        margin: $offset_main * 3 0;
    }
}

.Login-general-error {
    margin-top: $offset_main * 2;
}
