:root {
    --color-black: #2B2A29;
    --color-white: #FFFFFF;
    --color-grey-lingt: #EBECEC;
}

@keyframes qdecor_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.qdecor_spin {
    animation: qdecor_rotate 0.3s linear infinite;
    display: inline-block !important;
}

.j-qdecor-captcha-reload {
    display: inline-block;
    transition: color 0.2s;
    user-select: none;
}

.qdecor_form_container {
    position: relative;
    width: 500px;
    background: var(--color-white);
    padding: 2.5rem 3rem;
    max-height: 90vh;
    overflow-y: auto;

    @media (max-width: 500px) {
        width: 90vw;
        padding: 1.5rem;
    }
}

.qdecor_form__msg {
    font-size: .75rem;
    padding: .5rem 0 0;
}

.qdecor_form__title {
    color: var(--color-black);
    font-family: Inter;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1.375rem;
    margin-top: 0;

    @media (max-width: 500px) {
        font-size: 1.25rem;
        line-height: 2.4;
    }
}

.qdecor_captcha .qdecor_form__label{
    font-weight: 400;
    text-transform: none;
    padding-bottom: .5rem;
}

.qdecor_star {
    color: #F00;
    font-family: Inter;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.5;
}

.qdecor_captcha__input {
    border: 2px solid #EBECEC;
    background: #FFF;
    height: 35px;
    max-width: 250px;
    width: 100%;
    padding: 7px 8px;
    font-size: .875rem;
}

.qdecor_form__input_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: .875rem;
}

.qdecor_preview_container {
    display: flex;
    column-gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.qdecor_preview_item {
    position: relative;
    height: 90px;
    width: 90px;
    margin-top: .5rem;
}

.qdecor_preview_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qdecor_preview_remove {
    background: white;
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
    font-size: .75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: translate(-2px, 2px);
    border: 1px solid #7d7676;
}

.qdecor_preview_remove:hover {
    color: black;
}

.qdecor_captcha_reload {
    font-size: .875rem;
    cursor: pointer;
}

.qdecor_form__label {
    color: #2B2A29;
    font-family: Inter;
    font-size: .75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2;
    text-transform: uppercase;
}

.qdecor_form__input_wrapper {
    width: 100%;
}

.qdecor_form__input_wrapper input {
    border: 2px solid #EBECEC;
    background: #FFF;
    max-width: 400px;
    height: 35px;
    width: 100%;
    padding: 7px 8px;
}

.qdecor_form__input_wrapper textarea {
    border: 2px solid #EBECEC;
    background: #FFF;
    max-width: 400px;
    height: 70px;
    padding: 7px 8px;
    width: 100%;
    line-height: 1.4;
    font-size: .75rem;
}

.qdecor_form__footer {
    display: flex;
    margin-top: 1.5rem;
    justify-content: space-between;
    align-items: baseline;
}

.qdecor_captcha__image {
    width: 135px;
    height: 35px;
    min-width: 135px;
}

.qdecor_captcha__image img {
    object-fit: fill;
    height: 100%;
}

.qdecor_form__fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
}

.qdecor_form__notes {
    color: #2B2A29;
    font-family: Inter;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.5;
    padding-top: .5rem;
}

.qdecor_captcha__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .875rem;
}
.qdecor_btn.qdecor_btn--primary {
    color: #FFF;
    font-family: Inter;
    font-size: .875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    background: #222;
    display: flex;
    padding: .75rem 1.5rem;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .3s;
}

.qdecor_btn.qdecor_btn--primary:hover {
    background-color: #fff;
    color: #222;
}

.qdecor_btn--reset {
    color: #979393;
    text-align: center;
    font-family: Inter;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.5;
    display: flex;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all .3s;
}

.qdecor_btn--reset:hover {
    color: #222;
    transform: scale(1.05);
}

.qdecor_dropzone {
    width: 100%;
    border: 1px dashed #7D7676;
    background: #EDEDED;
    max-width: 400px;
    height: 100px;
    color: #2B2A29;
    font-family: Inter;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qdecor_dropzone__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    color: #2B2A29;
    text-align: center;
    font-family: Inter;
    font-size: .625rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.qdecor_dropzone:hover,
.qdecor_dropzone--hover {
    /*border: 1px dashed #ebecec;
    background: #f2f2f2;
    box-shadow: inset 0 0 20px 0px #b5b5b5;*/
    border: 1px dashed #000000;
    background: #ffffff;
    box-shadow: inset 0 0 25px 0px #d6d6d6;
}

.qdecor_form_loader {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.qdecor_form_inner {
    transition: filter 0.3s ease;
}

.is-loading .qdecor_form_inner {
    filter: blur(4px);
    pointer-events: none;
}

.qdecor_form.is-loading {
    position: relative;
    overflow: hidden;
}

.qdecor_spin {
    display: inline-block;
    animation: qdecor_rotate 0.8s linear infinite;
}

.qdecor_spin--loader {
    font-size: 40px;
    color: #222;
}

.qdecor_success_block {
    flex-direction: column;
    align-items: center;
}

.qdecor_btn.j-qdecor-reload-form {
    background: #222;
    display: inline-flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.qdecor_form__close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 101;
    user-select: none;
    height: 1rem;
    width: 1rem;
    line-height: 1;

    transition: transform .1s;
}

.qdecor_form__close:hover {
    transform: scale(.8);
}

@media (max-width: 480px) {
    .qdecor_form__close {
        top: 39px;
        right: 25px;
        font-size: 16px;
    }
}

.qdecor_form__item {
    display: flex;
    flex-direction: column;
}

.qdecor_rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.qdecor_rating__input {
    display: none;
}

.qdecor_rating__label {
    cursor: pointer;
    transition: transform 0.1s;
}

.qdecor_rating__label svg path {
    fill: transparent;
    transition: fill 0.2s ease-in-out;
}
.qdecor_rating__label:hover svg path,
.qdecor_rating__label:hover ~ .qdecor_rating__label svg path,
.qdecor_rating__input:checked ~ .qdecor_rating__label svg path {
    fill: #F5AB22;
}

.qdecor_rating__label:active {
    transform: scale(0.8);
}
