modal-registration.scss 1.33 KB
@import "../../vars";
@import "../../mixins";

.modal-reg {
    left: 30%;
    max-width: 708px;
    width: 100%;
    padding: 40px 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    &__close {
        top: -82px;
        right: -365px;
    }

    &__title {
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        color: $vmainGrey;
    }

    &--hidden {
        display: none;
    }
}

.modal-reg-form {
    margin-top: 56px;
    position: relative;
}

.label-reg-pass {
    display: block; 
    margin-bottom: 0; 
    position: relative;

}

.reg-pass-error {
    position: absolute;
    font-size: 12px;
    line-height: 15px;
    color: #EB5757;
    bottom: -65px;
    left: 0;

        &--hidden {
            display: none;
        }
}

.reg-mail-input {

    &.error {
        border-bottom: 1px solid #EB5757;
    }
}

.reg-pass-conf-input {

    &.error {
        border-bottom: 1px solid #EB5757;
    }
}

.reg-mail-error {
    position: absolute;
    font-size: 12px;
    line-height: 15px;
    color: #EB5757;
    bottom: -65px;
    left: 0;

    &--hidden {
        display: none;
    }
}

.reg-show-pass {
    right: 27px;
}

.reg-show-pass-second {
    right: 27px;
    bottom: 33%;
}

.modal-reg-overlay {

    &--hidden {
        display: none;
    }
}