.dm-review-overlay[hidden] {
    display: none !important;
}

.dm-review-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;

    display: grid;
    place-items: center;

    padding: 18px;

    background: rgba(0, 0, 0, .68);

    box-sizing: border-box;
}

.dm-review-card {
    position: relative;

    width: min(640px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;

    box-sizing: border-box;

    padding: 28px;

    background: #fff;
    border-radius: 16px;

    box-shadow:
        0 22px 70px
        rgba(0, 0, 0, .28);
}

.dm-review-close {
    position: absolute;
    top: 14px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 0;
    background: transparent;

    color: #333;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.dm-review-brand {
    width: 78px;
    height: 78px;

    margin: 0 auto 12px;

    display: grid;
    place-items: center;

    border: 1px solid #e5e7eb;
    border-radius: 50%;

    font-weight: 900;
    font-size: 20px;
}

.dm-review-brand span:nth-child(1) {
    color: #e00000;
}

.dm-review-brand span:nth-child(2) {
    color: #111;
}

.dm-review-brand span:nth-child(3) {
    color: #159447;
}

.dm-review-title {
    margin: 0;

    text-align: center;

    font-size: 30px;
    line-height: 1.2;
}

.dm-review-subtitle {
    margin: 7px 0 17px;

    text-align: center;
    color: #626b77;
}

.dm-review-stars {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin: 8px 0 10px;
}

.dm-review-star {
    appearance: none;

    border: 0;
    padding: 0;

    background: transparent;

    color: #cdd1d6;

    font-size: 46px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform .15s ease,
        color .15s ease;
}

.dm-review-star:hover {
    transform: scale(1.08);
}

.dm-review-star.active {
    color: #e00000;
}

.dm-review-rating-message {
    min-height: 22px;

    margin-bottom: 15px;

    text-align: center;

    color: #16883f;

    font-size: 14px;
    font-weight: 600;
}

.dm-review-divider {
    height: 1px;

    margin: 15px 0 18px;

    background: #e6e9ed;
}

.dm-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.dm-review-field {
    display: block;

    margin-bottom: 14px;
}

.dm-review-field span {
    display: block;

    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 700;
}

.dm-review-field input,
.dm-review-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #d7dce3;
    border-radius: 8px;

    background: #fff;

    font: inherit;
}

.dm-review-field textarea {
    min-height: 115px;
    resize: vertical;
}

.dm-review-privacy {
    margin: 4px 0 18px;

    color: #667085;

    font-size: 12px;
}

.dm-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dm-review-button {
    min-height: 48px;

    border-radius: 8px;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

.dm-review-cancel {
    border: 1px solid #cfd5dd;

    background: #fff;
    color: #111;
}

.dm-review-submit {
    border: 1px solid #dd0000;

    background: #e00000;
    color: #fff;
}

.dm-review-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.dm-review-success {
    padding: 28px 10px 12px;

    text-align: center;
}

.dm-review-success-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 13px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #eaf8ee;
    color: #13813b;

    font-size: 30px;
    font-weight: 900;
}

.dm-review-success h3 {
    margin: 0 0 7px;

    font-size: 24px;
}

.dm-review-success p {
    margin: 0;

    color: #667085;
}


@media (max-width: 640px) {

    .dm-review-card {
        padding: 23px 18px;
    }

    .dm-review-title {
        font-size: 25px;
    }

    .dm-review-star {
        font-size: 39px;
    }

    .dm-review-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dm-review-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   DALLAS REVIEW POPUP
   LOGO + HIDDEN SCROLLBAR FIX
   ========================================================= */

.dm-review-card {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dm-review-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.dm-review-brand {
    width: 92px;
    height: 92px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 0;

    background: transparent;
}

.dm-review-logo {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

