/* Review popup rating and private income v88 */

.dp-review-rating-v88 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 100%;
}

.dp-review-rating-v88__stars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
}

.dp-review-rating-v88__radio {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

.dp-review-rating-v88__star {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: #6757f6;
    background: transparent;
    cursor: pointer;
    transition:
        transform 0.16s ease,
        color 0.16s ease,
        filter 0.16s ease;
}

.dp-review-rating-v88__star:hover {
    transform: translateY(-2px) scale(1.04);
}

.dp-review-rating-v88__star svg {
    width: 37px;
    height: 37px;
    overflow: visible;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
        fill 0.16s ease,
        stroke 0.16s ease,
        filter 0.16s ease;
}

.dp-review-rating-v88__star.is-active svg,
.dp-review-rating-v88__star.is-preview svg {
    fill: #6757f6;
    stroke: #6757f6;
    filter:
        drop-shadow(
            0 8px 12px rgba(92, 76, 245, 0.28)
        );
}

.dp-review-rating-v88__star:focus-visible {
    outline: 3px solid rgba(103, 87, 246, 0.22);
    outline-offset: 2px;
}

.dp-review-rating-v88__caption {
    min-height: 20px;
    color: #5c4cf5;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
    text-align: center;
}

.dp-review-rating-v88__caption:empty {
    display: none;
}

.dp-review-rating-v88__error {
    display: none;
    color: #e64d70;
    font-size: 12px;
    font-weight: 700;
}

.dp-review-rating-v88.has-error
.dp-review-rating-v88__error {
    display: block;
}

.dp-review-income-v88 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 260px;
}

.dp-review-income-v88 label {
    display: block;
    margin-bottom: 7px;
    color: #17203b;
    font-size: 12px;
    font-weight: 800;
}

.dp-review-income-v88__optional {
    color: #8c95aa;
    font-weight: 500;
}

.dp-review-income-v88 input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dfe3ef;
    border-radius: 13px;
    color: #151a33;
    background: #fff;
    font: inherit;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.dp-review-income-v88 input:focus {
    border-color: #7665ff;
    box-shadow:
        0 0 0 4px rgba(118, 101, 255, 0.1);
}

.dp-review-income-v88__note {
    flex: 1 0 100%;
    margin: 4px 0 0;
    color: #8a93aa;
    font-size: 11px;
    line-height: 1.45;
}

.dp-review-name-income-row-v88 {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.dp-review-name-income-row-v88 >
*:not(.dp-review-income-v88):not(
    .dp-review-income-v88__note
) {
    min-width: 0;
    flex: 1 1 260px;
}

@media (max-width: 640px) {
    .dp-review-rating-v88__stars {
        gap: 4px;
    }

    .dp-review-rating-v88__star {
        width: 42px;
        height: 42px;
    }

    .dp-review-rating-v88__star svg {
        width: 34px;
        height: 34px;
    }

    .dp-review-name-income-row-v88 {
        flex-direction: column !important;
    }

    .dp-review-name-income-row-v88 > * {
        width: 100% !important;
        flex-basis: auto !important;
    }
}