@import '../../../../styles/vars/breakpoints.css';

.complete {
    min-height: 340px;
    background-image: url('https://cdn.adventist.ua/connect/designer/footer-complete.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

    &.disabled {
    }
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.6);
}

.message {
    color: #FFFFFF;
    font-size: rem(36px);
    font-weight: bold;
    letter-spacing: 0.72px;
    line-height: rem(27px);
    z-index: 2;
    word-break: break-word;

    @media(--sm-and-down) {
        font-size: rem(28px);
        letter-spacing: 0.56px;
        line-height: rem(34px);
        text-align: center;
    }
}

.btn {
    border-radius: var(--button-border-radius);
    background: var(--button-gradient);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    z-index: 2;
    padding: 25px 40px ;
    font-size: rem(17px);
    font-weight: 400;
    letter-spacing: 0.42px;
    line-height: rem(20px);
    margin-top: 34px;
    cursor: pointer;

    &.btnDisabled {
        opacity: 0.8;
        background: rgba(#606266, 0.8);
        color: #303133;
        pointer-events: none;
    }

    @media(--sm-and-down) {
        font-size: rem(15px);
        letter-spacing: 0.38px;
        line-height: rem(19px);
        padding: 15px 19px;
    }
}

.completeExtended {
    display: flex;
    justify-content: center;
    min-height: 560px;
    width: 100%;

    @media(--sm-and-down) {
        flex-direction: column;
    }
}

.leftSide {
    width: 100%;
    background-size: cover;

    @media(--sm-and-down) {
        min-height: 200px;
    }
}

.rightSide {
    width: 100%;
    background-color: #F5F5F5;
    padding: 70px 50px;

    @media(--sm-and-down) {
        padding: 24px 15px;
    }

    .btn {
        margin-top: 30px;
        width: fit-content;
    }
}

.title {
    color: #282828;
    font-size: rem(28px);
    font-weight: bold;
    line-height: rem(34px);
    word-break: break-word;

    @media(--sm-and-down) {
        font-size: rem(24px);
        font-weight: bold;
        line-height:  29px;
    }
}

.subtitle {
    opacity: 0.6;
    color: #282828;
    font-size: rem(15px);
    letter-spacing: 0.47px;
    line-height: rem(24px);
    margin-top: 12px;
    word-break: break-word;
}

.feedback {
    width: 100%;
    border-radius: 8px;
    background-color: #ffffff;
    border: none;
    resize: none;
    box-shadow: 0 2px 15px 0 rgba(152, 15, 221, 0.1);
    padding: 20px 24px;
    font-size: rem(15px);
    line-height: normal;
    letter-spacing: 0.4px;
    color: #9c9c9c;
    outline: 0 !important;
    margin-top: 23px;
    min-height: 180px;

    @media (--sm-and-down) {
        width: 100%;
    }
}
