* {
    box-sizing: border-box;
}

.container-review {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin-right: 10px;
}

@media (max-width: 1030px) {
    .container-review {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 30px;
    }
}

.rating {
    display: flex;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    flex-direction: row-reverse;
    height: 150px;
    position: relative;
}

.rating-0 {
    filter: grayscale(100%);
}

.rating > input {
    display: none;
}

.rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: 0.3s;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
    width: 100%;
    text-align: center;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.emoji-wrapper:before,
.emoji-wrapper:after {
    content: "";
    height: 15px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

.emoji-wrapper:before {
    top: 0;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 35%,
            rgba(255, 255, 255, 0) 100%
    );
}

.emoji-wrapper:after {
    bottom: 0;
    background: linear-gradient(
            to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 35%,
            rgba(255, 255, 255, 0) 100%
    );
}

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.emoji > svg {
    margin: 15px 0;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

#rating-1:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-100px);
}

#rating-2:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-200px);
}

#rating-3:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-300px);
}

#rating-4:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-400px);
}

#rating-5:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-500px);
}

.bpwp-cf-header {
    text-align: center;
    white-space: nowrap;
    margin-bottom: 20px;
}

.bpwp-cf-description {
    font-size: 14px;
    line-height: 24px;
}

.floating-label-wrapper {
    position: relative;
    width: 100%;
}

.floating-label-wrapper input {
    width: 100%;
    padding: 16px 8px 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: transparent;
    outline: none;
}

.floating-label-wrapper label {
    position: absolute;
    top: 6px;
    left: 8px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
    background-color: white;
    padding: 0 3px;
}

.floating-label-wrapper input:focus + label,
.floating-label-wrapper input:not(:placeholder-shown) + label {
    top: -9px;
    left: 6px;
    font-size: 12px;
    color: #333;
}

.floating-label-wrapper textarea {
    width: 100%;
    padding: 16px 8px 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: transparent;
    outline: none;
    resize: none;
    min-height: 120px;
}

.floating-label-wrapper textarea:focus + label,
.floating-label-wrapper textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 6px;
    font-size: 12px;
    color: #333;
}

.file-drop {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 40px 20px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin: 20px auto;
}

.file-drop:hover {
    border-color: #888;
    background-color: #f0f0f0;
}

.file-drop input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-drop-content {
    position: relative;
    z-index: 1;
}

.file-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #555;
}

.file-drop p {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}


.feedback {
    max-width: 360px;
    background-color: #fff;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.error-message {
    display: none;
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
}


.submit-button-review {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.submit-review-shop {
    --btn-bg: #00538a;
    --btn-bg-hover: #034875;
    --btn-shadow: rgba(0, 0, 0, 0.1);
    --shine-color: rgba(255, 255, 255, 0.4);
    --duration: 0.3s;
    position: relative;
    display: inline-flex;
    padding: 10px;
    background: var(--btn-bg);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--btn-shadow);
    transition: transform var(--duration), box-shadow var(--duration), background var(--duration);
    width: 250px;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--btn-bg);
}

.submit-review-shop:hover {
    background: #ffffff;
    color: var(--btn-bg) !important;
}


.icon-send {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.text-submit {
    display: flex;
    align-items: center;
}


.review-makler-desc {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

.review-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 50%;
    margin-left: 10px;
}

@media (max-width: 1030px) {
    .review-box {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 30px;
    }
}

.name-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 50%;
    margin-right: 10px;
}

@media (max-width: 1030px) {
    .name-box {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 10px;
    }
}

.phone-box, .theme-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 50%;
    margin-left: 10px;
}

@media (max-width: 1030px) {
    .phone-box, .theme-box {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 15px;
    }
}

.message-box {
    width: 100%;
}


.confirm-box {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 20px;
}

.confirm-box-head {
    margin-right: 10px;
}


.bpwp-toggler-wrapper {
    display: block;
    width: 45px;
    height: 25px;
    cursor: pointer;
    position: relative;
}

.bpwp-toggler-wrapper input[type="checkbox"] {
    display: none;
}

.bpwp-toggler-wrapper input[type="checkbox"]:checked + .bpwp-toggler-slider {
    background-color: #44cc66;
}

.bpwp-toggler-wrapper .bpwp-toggler-slider {
    background-color: #ccc;
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}


.bpwp-toggler-wrapper .bpwp-toggler-knob {
    position: absolute;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}


.bpwp-toggler-wrapper.style-1 input[type="checkbox"]:checked + .bpwp-toggler-slider .bpwp-toggler-knob {
    left: calc(100% - 19px - 3px);
}

.bpwp-toggler-wrapper.style-1 .bpwp-toggler-knob {
    width: calc(25px - 6px);
    height: calc(25px - 6px);
    border-radius: 50%;
    left: 3px;
    top: 3px;
    background-color: #fff;
}

.bpwp_tel_field_checkbox_header {
    display: inline-block;
    margin-bottom: 10px;
}

.review-stars-desc, .review-desc, .phone-desc, .name-desc, .theme-desc, .message-desc {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
}

.review-congratulations-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.review-stars-desc-details, .review-desc-details, .phone-desc-details, .name-desc-details {
    margin-top: 7px;
    margin-bottom: 7px;
    width: 100%;
    font-size: 12px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
}

#rating-error, #review-textarea-error, #phone-text-error, #name-text-error, #theme-error, #message-error {
    margin-top: 3px;
    margin-bottom: 15px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

#confirm-checkbox-error {
    margin-top: 10px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
}

#common-error {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    display: none;
    font-size: 14px;
}


.bpwp-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    animation: none;
    border-radius: 20px;
    z-index: 999;
}

@keyframes bpwp-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bpwp-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: bpwp-spin 1s linear infinite;
}

.bpwp-loader-text {
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.review-congratulations-desc {
    margin-top: 10px;
}

.header-form {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    max-width: 1000px;
    margin: 10px auto;
    justify-content: center;
    padding-top: 20px;
}

@media (max-width: 1030px) {
    .header-form {
        flex-direction: column;
        margin-bottom: 0px;
    }
}


#name-text, #phone-text {
    width: 100%;
}

#message {
    width: 100%;
}

.pararu-review-cards-head {
    display: flex;
    flex-wrap: wrap;
}

.pararu-review-cards-item {
    width: calc(33.33% - 20px);
    margin: 10px;
    box-sizing: border-box;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
}

@media screen and (max-width: 1200px) {
    .pararu-review-cards-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 767px) {
    .pararu-review-cards-item {
        width: calc(100% - 20px);
    }
}

.pararu-review-cards-item-name-and-stars {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pararu-review-cards-item-review {
    margin-top: 10px;
}

.pararu-review-count-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    width: 100%;
    box-sizing: border-box;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 2px 2px 0px 0px rgba(34, 60, 80, 0.2);
}


.pararu-review-count-results-result-block {
    display: flex;
    align-items: center;
}


.pararu-review-count-results-result-block-score-and-reviews {
    margin-left: 10px;
    text-align: center;
}

.headsitebuttontwo-rev {
    border: 1px solid #9d0000;
    border-radius: 3px;
    text-decoration: none;
    background: #9D0000;
    padding: 3px;
    width: 170px;
    text-align: center;
    color: #ffffff !important;
    display: inline-block;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 10px;
    transition: 0.2s linear all;
}

.headsitebuttontwo-rev:hover {
    background: #ffffff;
    color: #9D0000 !important;
}

.headsitebuttontwo-rev:focus {
    outline: none;
}

.headsitebuttontwoalt {
    border: 1px solid #9d0000;
    border-radius: 3px;
    text-decoration: none;
    background: #ffffff;
    padding: 3px;
    width: 170px;
    text-align: center;
    color: #9d0000 !important;
    display: inline-block;
    font-weight: 400;
    font-size: 15px;
    transition: 0.2s linear all;
}

.headsitebuttontwoalt:hover {
    background: #ffffff;
    color: #9D0000 !important;
}

.headsitebuttontwoalt:focus {
    outline: none;
}

@media screen and (max-width: 420px) {
    .headsitebuttontwo-rev, .headsitebuttontwoalt {
        width: 130px;
        font-size: 12px;
    }
}


.pararu-review-count-results-button-block {
    display: flex;
    flex-direction: column;
}

.bpwp-block-form {
    background: #ffffff;
}


.confirm-box-desc-block {
    font-size: 10px;
    text-align: left;
}

/* Основные стили для формы плагина */
.bpwp-block-form-wrapper {
    position: relative;
}

/* Стили для прелоадера */
#bpwp-form-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
    border-radius: 30px;
}

.bpwp-fixed {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.bpwp-file-progress {
    width: 100%;
    max-width: 400px;
    margin: 10px auto 0;
    background: #eee;
    border-radius: 2px;
    overflow: hidden
}

.bpwp-file-progress .bar {
    width: 0;
    height: 4px;
    background: #00538a
}

.bpwp-thumb {
    display: block;
    margin: 0 auto 10px;
    border-radius: 4px
}

#bpwp-success-message-container-head {
    text-align: center;
}

#bpwp-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-drop-content-desc {
    margin-top: 10px;
    font-size: 12px;
}