/* MindMatch Reviews — v1.4.1 */

.mmr-wrap {
        font-family: Arial, Helvetica, Verdana, sans-serif;
        max-width: 1160px;
        margin: 0 auto;
        padding: 1.5rem 1rem;
        color: #33415c;
        font-style: normal;
}

.mmr-wrap * {
        box-sizing: border-box;
}

.mmr-wrap .mmr-star-filled {
        color: #f5b331;
        font-style: normal;
}

.mmr-wrap .mmr-star-empty {
        color: #d8dee9;
        font-style: normal;
}

/* ── Hero banner ── */
.mmr-hero {
        background: linear-gradient(115deg, #e8f2fc 0%, #f2f8fd 55%, #fdf2f5 100%);
        border-radius: 16px;
        padding: 40px 42px;
        margin-bottom: 24px;
}

.mmr-hero__title {
        font-family: Arial, Helvetica, Verdana, sans-serif;
        font-size: 2.2rem;
        font-weight: 800;
        color: #1d2b4f;
        margin: 0 0 10px;
        line-height: 1.15;
        font-style: normal;
        letter-spacing: -0.01em;
}

.mmr-hero__text {
        font-size: 0.94rem;
        color: #5a6a85;
        max-width: 460px;
        margin: 0;
        line-height: 1.6;
        font-style: normal;
}

/* ── Two-column layout ── */
.mmr-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
        align-items: start;
}

.mmr-layout--full {
        grid-template-columns: minmax(0, 1fr);
}

.mmr-main {
        min-width: 0;
}

/* ── Stats row ── */
.mmr-statsrow {
        display: grid;
        grid-template-columns: 200px 1fr 235px;
        gap: 16px;
        margin-bottom: 18px;
        align-items: stretch;
}

.mmr-panel {
        background: #fff;
        border: 1px solid #e7edf5;
        border-radius: 14px;
        padding: 20px 22px;
        box-shadow: 0 2px 10px rgba(30, 45, 90, 0.05);
}

/* Overall rating */
.mmr-overall__label {
        font-size: 0.82rem;
        font-weight: 600;
        color: #6b7a99;
        margin-bottom: 6px;
        font-style: normal;
}

.mmr-overall__score {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1d2b4f;
        line-height: 1.1;
        font-style: normal;
        letter-spacing: -0.02em;
}

.mmr-overall__outof {
        font-size: 1.25rem;
        font-weight: 600;
        color: #8b97ad;
}

.mmr-overall__stars {
        font-size: 1.25rem;
        letter-spacing: 2px;
        margin: 4px 0 6px;
        line-height: 1;
}

.mmr-overall__count {
        font-size: 0.8rem;
        color: #6b7a99;
        font-style: normal;
}

/* Distribution sliders */
.mmr-dist {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 9px;
}

.mmr-dist__row {
        display: flex;
        align-items: center;
        gap: 10px;
}

.mmr-dist__label {
        flex-shrink: 0;
        width: 52px;
        font-size: 0.78rem;
        color: #6b7a99;
        text-align: right;
        font-style: normal;
}

.mmr-dist__track {
        flex: 1;
        height: 8px;
        background: #edf1f7;
        border-radius: 999px;
        overflow: hidden;
        display: block;
}

.mmr-dist__fill {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, #f27d98, #ef5f84);
        width: 0;
}

.mmr-dist__pct {
        flex-shrink: 0;
        width: 40px;
        font-size: 0.78rem;
        color: #6b7a99;
        font-style: normal;
}

/* Love panel */
.mmr-love {
        background: #fdeef2;
        border-color: #fbdbe4;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
}

.mmr-love__icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(239, 95, 132, 0.2);
}

.mmr-love__title {
        font-size: 0.95rem;
        font-weight: 700;
        color: #1d2b4f;
        font-style: normal;
}

.mmr-love__text {
        font-size: 0.8rem;
        line-height: 1.55;
        color: #6b7a99;
        font-style: normal;
}

/* ── Filter bar ── */
.mmr-filterbar {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        background: #fff;
        border: 1px solid #e7edf5;
        border-radius: 14px;
        padding: 12px 14px;
        margin-bottom: 18px;
        box-shadow: 0 2px 10px rgba(30, 45, 90, 0.05);
}

.mmr-filterbar__search {
        flex: 1;
        min-width: 190px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f5f8fc;
        border: 1px solid #e7edf5;
        border-radius: 999px;
        padding: 8px 15px;
        margin: 0;
        cursor: text;
}

.mmr-filterbar__search svg {
        flex-shrink: 0;
}

.mmr-wrap .mmr-filterbar__search input {
        border: none;
        background: transparent;
        outline: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        font-size: 0.85rem;
        color: #33415c;
        font-family: inherit;
        font-style: normal;
        line-height: 1.4;
        min-height: 0;
        height: auto;
}

.mmr-wrap .mmr-filterbar__select {
        border: 1px solid #e7edf5;
        border-radius: 999px;
        padding: 8px 30px 8px 14px;
        font-size: 0.83rem;
        color: #33415c;
        background-color: #fff;
        font-family: inherit;
        font-style: normal;
        line-height: 1.4;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 11px center;
        background-size: 12px;
        min-height: 0;
        height: auto;
        max-width: none;
}

.mmr-filterbar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.83rem;
        font-weight: 600;
        color: #33415c;
        cursor: pointer;
        position: relative;
        margin: 0;
        font-style: normal;
        white-space: nowrap;
}

.mmr-filterbar__toggle input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
}

.mmr-toggle {
        display: inline-block;
        width: 36px;
        height: 20px;
        border-radius: 999px;
        background: #cfd9e8;
        position: relative;
        transition: background 0.2s ease;
        flex-shrink: 0;
}

.mmr-toggle::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(30, 45, 90, 0.25);
        transition: transform 0.2s ease;
}

.mmr-filterbar__toggle input:checked + .mmr-toggle {
        background: #4a7dd6;
}

.mmr-filterbar__toggle input:checked + .mmr-toggle::after {
        transform: translateX(16px);
}

/* ── Review rows ── */
.mmr-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
}

.mmr-row {
        background: #fff;
        border: 1px solid #e7edf5;
        border-radius: 14px;
        padding: 22px 24px;
        box-shadow: 0 2px 10px rgba(30, 45, 90, 0.05);
        display: flex;
        gap: 24px;
        align-items: flex-start;
}

.mmr-row__who {
        flex-shrink: 0;
        width: 130px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
}

.mmr-row__photo {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #eef3fa;
        display: block;
        margin-bottom: 4px;
}

.mmr-row__avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #eaf3fb;
        color: #1d2b4f;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 700;
        font-style: normal;
        margin-bottom: 4px;
}

.mmr-row__name {
        font-weight: 700;
        color: #1d2b4f;
        font-size: 0.95rem;
        font-style: normal;
}

.mmr-row__verified {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.74rem;
        font-weight: 600;
        color: #35b06f;
        font-style: normal;
}

.mmr-row__verified svg {
        flex-shrink: 0;
}

.mmr-row__date {
        font-size: 0.76rem;
        color: #8b97ad;
        font-style: normal;
}

.mmr-row__body {
        flex: 1;
        min-width: 0;
}

.mmr-row__stars {
        font-size: 0.95rem;
        letter-spacing: 2px;
        line-height: 1;
        margin-bottom: 7px;
}

.mmr-row__title {
        font-weight: 700;
        color: #1d2b4f;
        font-size: 1.02rem;
        margin-bottom: 6px;
        font-style: normal;
}

.mmr-row__text {
        font-size: 0.9rem;
        line-height: 1.65;
        color: #5a6a85;
        font-style: normal;
        font-weight: 400;
        text-transform: none;
        letter-spacing: normal;
}

.mmr-row__location {
        margin-top: 8px;
        font-size: 0.76rem;
        color: #8b97ad;
        font-style: normal;
        display: flex;
        align-items: center;
        gap: 4px;
}

.mmr-row__location::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        flex-shrink: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238b97ad'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
}

/* "Review for …" right column */
.mmr-row__for {
        flex-shrink: 0;
        width: 150px;
        border-left: 1px solid #eef2f8;
        padding-left: 20px;
        align-self: center;
        display: flex;
        flex-direction: column;
        gap: 3px;
}

.mmr-row__for-label {
        font-size: 0.74rem;
        color: #8b97ad;
        font-style: normal;
}

.mmr-row__for-name {
        font-size: 0.9rem;
        font-weight: 700;
        color: #1d2b4f;
        font-style: normal;
        display: inline-flex;
        align-items: center;
        gap: 4px;
}

.mmr-row__for-name svg {
        flex-shrink: 0;
}

/* ── Load more ── */
.mmr-loadmore {
        display: none;              /* shown by JS only when there are more reviews */
        justify-content: center;
        margin-top: 18px;
}

.mmr-wrap .mmr-loadmore__btn {
        background: #fff;
        border: 1px solid #dfe7f2;
        border-radius: 999px;
        padding: 11px 26px;
        font-size: 0.86rem;
        font-weight: 600;
        color: #1d2b4f;
        font-family: inherit;
        font-style: normal;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(30, 45, 90, 0.06);
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
        line-height: 1.4;
        text-transform: none;
        letter-spacing: normal;
}

.mmr-wrap .mmr-loadmore__btn:hover {
        border-color: #b9cbe4;
        box-shadow: 0 3px 12px rgba(30, 45, 90, 0.1);
}

/* ── Sidebar ── */
.mmr-side {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
}

.mmr-side__heading {
        font-size: 0.98rem;
        font-weight: 700;
        color: #1d2b4f;
        margin: 0 0 12px;
        font-style: normal;
        font-family: inherit;
        line-height: 1.3;
}

.mmr-trust__item {
        display: flex;
        gap: 12px;
        padding: 10px 0;
        align-items: flex-start;
}

.mmr-trust__item + .mmr-trust__item {
        border-top: 1px solid #f0f4f9;
}

.mmr-trust__icon {
        flex-shrink: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #eaf3fb;
        display: flex;
        align-items: center;
        justify-content: center;
}

.mmr-trust__body {
        font-size: 0.78rem;
        color: #6b7a99;
        line-height: 1.55;
        font-style: normal;
}

.mmr-trust__body strong {
        display: block;
        font-size: 0.85rem;
        color: #1d2b4f;
        margin-bottom: 2px;
        font-style: normal;
}

/* Response-time panel */
.mmr-response {
        background: #eaf3fb;
        border-color: #dcebf9;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
}

.mmr-response__icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(74, 125, 214, 0.18);
        margin-bottom: 3px;
}

.mmr-response__label {
        font-size: 0.78rem;
        color: #6b7a99;
        font-style: normal;
}

.mmr-response__big {
        font-size: 1.15rem;
        font-weight: 800;
        color: #1d2b4f;
        font-style: normal;
}

.mmr-response__note {
        font-size: 0.76rem;
        color: #8b97ad;
        font-style: normal;
}

/* CTA panel */
.mmr-cta {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
}

.mmr-cta__icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fdeef2;
        display: flex;
        align-items: center;
        justify-content: center;
}

.mmr-cta__title {
        font-size: 0.98rem;
        font-weight: 700;
        color: #1d2b4f;
        font-style: normal;
}

.mmr-cta__text {
        font-size: 0.8rem;
        color: #6b7a99;
        line-height: 1.55;
        margin: 0;
        font-style: normal;
}

.mmr-wrap a.mmr-cta__btn {
        display: block;
        width: 100%;
        background: linear-gradient(90deg, #f27d98, #ef5f84);
        color: #fff;
        border-radius: 999px;
        padding: 12px 18px;
        font-size: 0.88rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        font-style: normal;
        box-shadow: 0 6px 14px rgba(239, 95, 132, 0.35);
        transition: box-shadow 0.15s ease, transform 0.15s ease;
        margin-top: 4px;
        border: none;
}

.mmr-wrap a.mmr-cta__btn:hover,
.mmr-wrap a.mmr-cta__btn:focus {
        color: #fff;
        text-decoration: none;
        box-shadow: 0 8px 18px rgba(239, 95, 132, 0.45);
        transform: translateY(-1px);
}

/* Note bar */
.mmr-note {
        background: #eaf3fb;
        border-color: #dcebf9;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 16px 18px;
}

.mmr-note__icon {
        flex-shrink: 0;
        margin-top: 1px;
}

.mmr-note__body {
        font-size: 0.78rem;
        color: #33415c;
        line-height: 1.55;
        font-style: normal;
}

.mmr-note__body strong {
        color: #1d2b4f;
        font-style: normal;
}

.mmr-wrap .mmr-note__body a {
        color: #ef5f84;
        font-weight: 600;
        text-decoration: none;
}

.mmr-wrap .mmr-note__body a:hover {
        text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
        .mmr-statsrow {
                grid-template-columns: 1fr 1fr;
        }
        .mmr-love {
                grid-column: 1 / -1;
        }
}

@media (max-width: 900px) {
        .mmr-layout {
                grid-template-columns: 1fr;
        }
        .mmr-hero {
                padding: 30px 26px;
        }
}

@media (max-width: 640px) {
        .mmr-statsrow {
                grid-template-columns: 1fr;
        }
        .mmr-row {
                flex-direction: column;
                gap: 14px;
                padding: 18px;
        }
        .mmr-row__who {
                width: 100%;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                gap: 6px 10px;
        }
        .mmr-row__photo,
        .mmr-row__avatar {
                margin-bottom: 0;
        }
        .mmr-row__for {
                width: 100%;
                border-left: none;
                border-top: 1px solid #eef2f8;
                padding-left: 0;
                padding-top: 12px;
                align-self: stretch;
        }
        .mmr-hero__title {
                font-size: 1.7rem;
        }
}
