/* Companies and public review form v76.6 */

body.dp-companies-v766 .dp-company-search-hidden-v766 {
    display: none !important;
}

body.dp-companies-v766 .dp-company-sort-v766 {
    border: 1px solid #dfe3ef !important;
    background: #fff !important;
    color: #182344 !important;
    box-shadow: none !important;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease !important;
}

body.dp-companies-v766 .dp-company-sort-v766:hover {
    border-color: #cfc8ff !important;
    color: #5c4cf5 !important;
    transform: translateY(-1px);
}

body.dp-companies-v766 .dp-company-sort-v766.is-active {
    border: 2px solid #6654ff !important;
    background: #fff !important;
    color: #5c4cf5 !important;
    box-shadow:
        0 0 0 4px rgba(102, 84, 255, 0.08) !important;
}

body.dp-companies-v766 .dp-companies-toolbar-v766 {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.dp-companies-v766 .dp-review-open-v766 {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: auto !important;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 15px;
    background:
        linear-gradient(
            110deg,
            #4d48ff 0%,
            #8738f5 100%
        );
    color: #fff;
    box-shadow:
        0 12px 28px rgba(90, 67, 241, 0.22);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

body.dp-companies-v766 .dp-review-open-v766:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(90, 67, 241, 0.28);
}

body.dp-companies-v766 .dp-review-open-v766 svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dp-review-modal-v766 {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 20, 43, 0.52);
    backdrop-filter: blur(8px);
}

.dp-review-modal-v766.is-open {
    display: flex;
}

.dp-review-dialog-v766 {
    width: min(940px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid #e1e5f0;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfbff 100%
        );
    box-shadow:
        0 34px 100px rgba(18, 26, 56, 0.25);
}

.dp-review-dialog-head-v766 {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px 22px;
    border-bottom: 1px solid #edf0f7;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.dp-review-dialog-head-v766 h2 {
    margin: 0;
    color: #0b1730;
    font-family: "Manrope", sans-serif;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.dp-review-dialog-head-v766 p {
    margin: 8px 0 0;
    color: #7d8aa7;
    font-size: 14px;
    line-height: 1.5;
}

.dp-review-close-v766 {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e4ef;
    border-radius: 14px;
    background: #fff;
    color: #53617d;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.dp-review-form-v766 {
    padding: 28px 30px 32px;
}

.dp-review-grid-v766 {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 20px 24px;
}

.dp-review-field-v766 {
    display: grid;
    gap: 8px;
}

.dp-review-field-v766.is-wide {
    grid-column: 1 / -1;
}

.dp-review-field-v766 label {
    color: #15213d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.dp-review-field-v766 label span {
    color: #e34352;
}

.dp-review-field-v766 input,
.dp-review-field-v766 select,
.dp-review-field-v766 textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe3ec;
    border-radius: 14px;
    background: #fff;
    color: #14203d;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.dp-review-field-v766 input,
.dp-review-field-v766 select {
    min-height: 50px;
    padding: 0 15px;
}

.dp-review-field-v766 textarea {
    min-height: 180px;
    resize: vertical;
    padding: 15px;
    line-height: 1.55;
}

.dp-review-field-v766 input:focus,
.dp-review-field-v766 select:focus,
.dp-review-field-v766 textarea:focus {
    border-color: #6a58ff;
    box-shadow:
        0 0 0 4px rgba(106, 88, 255, 0.1);
}

.dp-review-rating-v766 {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 4px 28px;
}

.dp-review-rating-v766::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            #cfc9ff 0 9px,
            transparent 9px 18px
        );
}

.dp-review-rating-button-v766 {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe3ef;
    border-radius: 17px;
    background: #fff;
    color: #9aa5bb;
    box-shadow:
        0 10px 24px rgba(46, 55, 98, 0.07);
    cursor: pointer;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.dp-review-rating-button-v766::after {
    content: attr(data-value);
    position: absolute;
    top: calc(100% + 11px);
    left: 50%;
    transform: translateX(-50%);
    color: #8f9ab1;
    font-size: 12px;
    font-weight: 700;
}

.dp-review-rating-button-v766 svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dp-review-rating-button-v766.is-active {
    border-color: transparent;
    background:
        linear-gradient(
            145deg,
            #6453ff 0%,
            #4936eb 100%
        );
    color: #fff;
    box-shadow:
        0 14px 28px rgba(83, 65, 244, 0.28);
}

.dp-review-rating-button-v766.is-active::after {
    color: #5547f1;
}

.dp-review-rating-button-v766:hover {
    transform: translateY(-2px);
}

.dp-review-error-v766 {
    min-height: 18px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.35;
}

.dp-review-honeypot-v766 {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.dp-review-status-v766 {
    min-height: 22px;
    margin-top: 18px;
    color: #687594;
    font-size: 14px;
    line-height: 1.45;
}

.dp-review-status-v766.is-success {
    color: #21845a;
}

.dp-review-status-v766.is-error {
    color: #c63747;
}

.dp-review-actions-v766 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.dp-review-submit-v766,
.dp-review-cancel-v766 {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 14px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.dp-review-submit-v766 {
    border: 1px solid transparent;
    background:
        linear-gradient(
            110deg,
            #4d48ff 0%,
            #8738f5 100%
        );
    color: #fff;
}

.dp-review-submit-v766:disabled {
    opacity: 0.65;
    cursor: wait;
}

.dp-review-cancel-v766 {
    border: 1px solid #dfe3ec;
    background: #fff;
    color: #31405f;
}

@media (max-width: 900px) {
    .dp-review-grid-v766 {
        grid-template-columns: 1fr;
    }

    .dp-review-field-v766.is-wide {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    body.dp-companies-v766 .dp-mobile-latest-reviews-v766 {
        display: none !important;
    }

    body.dp-companies-v766 .dp-review-open-v766 {
        width: auto;
        margin-left: auto !important;
    }

    .dp-review-modal-v766 {
        align-items: flex-end;
        padding: 0;
    }

    .dp-review-dialog-v766 {
        width: 100%;
        max-height: 95vh;
        border-radius: 25px 25px 0 0;
    }

    .dp-review-dialog-head-v766 {
        padding: 22px 18px 18px;
    }

    .dp-review-form-v766 {
        padding: 20px 18px 28px;
    }

    .dp-review-rating-v766 {
        gap: 8px;
        padding-inline: 0;
    }

    .dp-review-rating-v766::before {
        top: 29px;
    }

    .dp-review-rating-button-v766 {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }

    .dp-review-rating-button-v766 svg {
        width: 21px;
        height: 21px;
    }

    .dp-review-actions-v766 {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dp-review-submit-v766,
    .dp-review-cancel-v766 {
        width: 100%;
    }
}

