@import '~@equitysim/react-uikit/dist/styles/styleguide';

.c-password-settings-form {
    display: grid;
    grid-template-columns: 1.5fr 5.5fr;
    grid-auto-rows: v-space(8.25);
    align-items: center;

    &__edit {
        grid-column: 1 / -1;
        font-size: 1.6rem;
        font-weight: $font-weight-bold;
        color: $grey-40;
        margin: 0;
    }

    &__label {
        font-size: 1.6rem;
        font-weight: $font-weight-bold;
        color: $grey-50;
        width: v-space(20);
        @media screen and (max-width: $screen-large) {
            margin-top: v-space(2);
        }
    }

    &__field,
    &__button {
        @media screen and (min-width: $screen-large) {
            display: inline-flex;
        }
    }

    &__field {
        @media screen and (min-width: $screen-large) {
            width: v-space(28);
        }
    }

    &__button {
        margin-top: v-space(2);
        @media screen and (min-width: $screen-large) {
            margin-top: 0;
            margin-left: v-space(2);
            width: v-space(18);
        }
    }

    &__submit {
        grid-column: 1 / -1;
        justify-self: flex-end;
    }
}
