/* Reference-style public profile reviews. Layout only; leave global typography and modal behavior intact. */
.doctor-profile-page-section .profile-content-area > .profile-reviews-card {
    --review-blue: #318df1;
    --review-ink: #153457;
    --review-muted: #64758d;
    border: 1px solid #e4e9f1;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20, 61, 99, .035);
    border-radius: 13px;
    padding: 18px;
    color: var(--review-ink);
    min-width: 0;
}
.doctor-profile-page-section .profile-reviews-card .review-section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
}
.profile-reviews-card .review-section-heading .section-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.profile-reviews-card .review-section-heading .doctor-ui-icon { color: #344054; font-size: 15px; }
.profile-reviews-card .review-section-heading small { font-size: 11px; color: #78879a; }
.profile-reviews-card .review-notice { padding: 9px 11px; color: #236f4e; background: #effaf4; border-radius: 8px; font-size: 12px; }

/* Three inline summary metrics: waiting time left, rating centered, recommendations right. */
.doctor-profile-page-section .profile-reviews-card .review-summary-detailed {
    display: block;
    min-width: 0;
    padding: 0;
    margin: 0 0 12px;
    border: 1px solid #e0e7f0;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
    color: var(--review-ink);
}
.doctor-profile-page-section .profile-reviews-card .review-summary-top {
    display: grid;
    direction: ltr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: center;
    padding: 12px 14px;
    background: #f8faff;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-heading {
    display: flex;
    direction: rtl;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 9px;
    padding: 0 10px 0 0;
    text-align: center;
}
/* Align the doctor score as three centered lines: value, stars, review count. */
.doctor-profile-page-section .profile-reviews-card .review-summary-heading--doctor {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 3px;
    padding: 0 5px;
    grid-column: 2;
    grid-row: 1;
    border-inline: 1px solid #dfe5ed;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-scoreline {
    display: flex;
    direction: rtl;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-out-of {
    font-size: 10px;
    font-weight: 400;
    color: #64758d;
    line-height: 1.4;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-heading--doctor .review-summary-caption {
    gap: 0;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-count {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-heading .avg-score {
    font-size: 25px;
    color: #14365f;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    flex: 0 0 auto;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    font-size: 11px;
    color: #62738c;
    line-height: 1.5;
    white-space: nowrap;
}
.doctor-profile-page-section .profile-reviews-card .avg-stars {
    display: flex;
    gap: 3px;
    color: #ffc52b;
    font-size: 14px;
}
/* Per-glyph fill is clipped from left to right, so 4.5 fills four complete
   stars and exactly half of the fifth, rather than rounding to five. */
.profile-reviews-card .review-display-star {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    line-height: 1;
    direction: ltr;
    vertical-align: middle;
    color: #b6c2d2;
}
.profile-reviews-card .review-display-star__base {
    display: block;
    color: #b6c2d2;
}
.profile-reviews-card .review-display-star__fill {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffc52b;
    clip-path: inset(0 calc(100% - var(--star-fill, 0%)) 0 0);
    pointer-events: none;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insights {
    display: contents;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight:first-child {
    grid-column: 3;
    grid-row: 1;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight--wait {
    grid-column: 1;
    grid-row: 1;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight {
    display: flex;
    direction: rtl;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 3px;
    padding: 2px 5px;
    border: 0;
    text-align: center;
    font-size: 11px;
    color: #64758d;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight + .review-summary-insight {
    border-right: 0;
    border-left: 0;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight .doctor-ui-icon {
    display: grid;
    place-items: center;
    font-size: 16px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1px solid #dce9f7;
    color: var(--review-blue);
    background: #fff;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight strong {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #288bf1;
    white-space: nowrap;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-insight span {
    font-size: 11px;
    line-height: 1.45;
    white-space: normal;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid #e7ecf4;
    background: #fff;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-criterion {
    display: grid;
    direction: rtl;
    grid-template-columns: minmax(0, 27%) minmax(0, 1fr) 35px;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-name {
    display: flex;
    gap: 5px;
    align-items: center;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #344f6d;
    overflow-wrap: anywhere;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-name .doctor-ui-icon,
.doctor-profile-page-section .profile-reviews-card .review-rating-name i {
    color: var(--review-blue);
    flex: 0 0 auto;
    font-size: 12px;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-track {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: #e8edf6;
    overflow: hidden;
    direction: ltr;
}
.doctor-profile-page-section .profile-reviews-card .review-rating-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5daaff, #308cf4);
}
.doctor-profile-page-section .profile-reviews-card .review-rating-value {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #17395f;
    text-align: left;
    white-space: nowrap;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-wait {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    border-top: 1px solid #edf0f6;
    color: #6d7f95;
    font-size: 11px;
}
.profile-reviews-card .review-summary-wait .doctor-ui-icon { color: #318df1; font-size: 12px; }
.profile-reviews-card .review-summary-wait strong { font-weight: 700; color: #3d5673; }
.doctor-profile-page-section .profile-reviews-card .review-summary-center .review-summary-top {
    display: flex;
    direction: rtl;
    justify-content: center;
}
.doctor-profile-page-section .profile-reviews-card .review-summary-center .review-summary-heading { padding: 0; }

/* Submit CTA and individual review cards retain the subtle separate outlines in the reference. */
.profile-reviews-card .review-write-actions { margin: 12px 0 16px; }
.profile-reviews-card .review-write-actions .btn-write-review {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: #328ef4;
    color: #fff;
    font-size: 13px;
}
.profile-reviews-card .review-write-actions .btn-write-review:hover { background: #1977dd; }
.profile-reviews-card .review-write-actions .doctor-ui-icon { font-size: 13px; }
/* Responsive native filters are scoped to the existing profile review cards. */
.doctor-profile-page-section .profile-reviews-card .review-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    margin: 0 0 16px;
    min-width: 0;
}
.doctor-profile-page-section .profile-reviews-card .review-filters--center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.doctor-profile-page-section .profile-reviews-card .review-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px 11px;
    min-width: 0;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
    color: #354e6b;
}
.doctor-profile-page-section .profile-reviews-card .review-filter-label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    line-height: 1.5;
    color: #71849a;
}
.doctor-profile-page-section .profile-reviews-card .review-filter-label .doctor-ui-icon,
.doctor-profile-page-section .profile-reviews-card .review-filter-label i {
    font-size: 13px;
    color: #318df1;
}
.doctor-profile-page-section .profile-reviews-card .review-filter select {
    width: 100%;
    min-width: 0;
    padding: 4px 2px;
    border: 0;
    outline-offset: 2px;
    background: transparent;
    color: #1d3f65;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.doctor-profile-page-section .profile-reviews-card .review-filter:focus-within {
    border-color: #87bdf9;
}
.doctor-profile-page-section .profile-reviews-card .review-filter select:focus-visible {
    outline: 2px solid #318df1;
    border-radius: 3px;
}
/* The thumbs-up/down state belongs to the review, not to the overall rating. */
.doctor-profile-page-section .profile-reviews-card .review-recommendation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    padding: 5px 9px;
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}
.doctor-profile-page-section .profile-reviews-card .review-recommendation .doctor-ui-icon {
    font-size: 12px;
    flex: 0 0 auto;
}
.doctor-profile-page-section .profile-reviews-card .review-recommendation--yes {
    color: #18754b;
    background: #ecf9f1;
    border-color: #cdebd9;
}
.doctor-profile-page-section .profile-reviews-card .review-recommendation--no {
    color: #b33b46;
    background: transparent;
    border-color: #f7d5d9;
}
@media (max-width: 575px) {
    .doctor-profile-page-section .profile-reviews-card .review-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-filters--center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .doctor-profile-page-section .profile-reviews-card .review-filter {
        padding: 8px 5px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-filter-label {
        gap: 3px;
        font-size: 9px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-filter-label .doctor-ui-icon,
.doctor-profile-page-section .profile-reviews-card .review-filter-label i {
        font-size: 11px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-filter select {
        font-size: 10px;
    }
}
@media (max-width: 340px) {
    .doctor-profile-page-section .profile-reviews-card .review-filters {
        grid-template-columns: minmax(0, 1fr);
    }
    .doctor-profile-page-section .profile-reviews-card .review-filters--center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.doctor-profile-page-section .profile-reviews-card .review-list { gap: 10px; }
.doctor-profile-page-section .profile-reviews-card .review-item,
.doctor-profile-page-section .profile-reviews-card .review-item:last-child {
    border: 1px solid #e3e9f1;
    background: #fff;
    border-radius: 11px;
    padding: 13px;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(14, 50, 85, .02);
}
.profile-reviews-card .review-item-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}
.profile-reviews-card .review-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.profile-reviews-card .review-person-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #2c90f5;
    font-size: 15px;
}
.profile-reviews-card .review-person > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile-reviews-card .review-person .name { font-size: 13px; font-weight: 700; color: #102d50; }
.profile-reviews-card .review-person small { color: #77869b; font-size: 11px; }
.profile-reviews-card .review-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f7ff;
    font-size: 10px;
    color: #237acb;
}
.profile-reviews-card .review-stars-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.profile-reviews-card .review-stars-line .r-stars { display: inline-flex; gap: 3px; font-size: 14px; color: #ffc52b; }
.profile-reviews-card .review-stars-line strong { font-size: 12px; color: #183a62; }
.doctor-profile-page-section .profile-reviews-card .review-item .text {
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.9;
    color: #324a67;
    overflow-wrap: anywhere;
}
.profile-reviews-card .review-item-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    color: #78889d;
    font-size: 11px;
}
.profile-reviews-card .review-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    border: 1px solid #edf1f8;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f4f8fe;
    color: #5c7190;
    line-height: 1.5;
    font-size: 11px;
    white-space: nowrap;
}
.profile-reviews-card .review-meta-chip .doctor-ui-icon { color: #318df1; font-size: 12px; }
.profile-reviews-card .review-meta-chip--date { background: #f8faff; }
.profile-reviews-card .review-meta-chip--type { background: #eef5ff; }
.profile-reviews-card .review-meta-chip--wait { background: #f3f7fb; }
.profile-reviews-card .review-meta-chip--unknown { background: #f9fafc; color: #8491a3; }
.profile-reviews-card .review-meta-chip--unknown .doctor-ui-icon { color: #97a2b2; }
.profile-reviews-card .review-empty { padding: 13px 0; color: #77869b; font-size: 12px; }
.profile-reviews-card .review-pagination:empty { display: none; }
.profile-reviews-card .review-pagination { justify-content: center; }
.profile-reviews-card .review-pagination .btn-view-all-reviews { flex: 0 1 155px; }

/* Shared modal for doctor and center: retain the existing dialog and mobile fullscreen behavior. */
.nn-review-modal-box.review-form-modern {
    max-width: 650px;
    padding: 0 20px 20px;
    border-radius: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 13px;
    color: #183453;
}
.nn-review-modal-box.review-form-modern .review-modal-heading {
    position: relative;
    margin: 0 -20px 3px;
    padding: 16px 18px;
    background: linear-gradient(110deg, #edf6ff, #f8fbff);
    border-radius: 14px 14px 0 0;
}
.nn-review-modal-box.review-form-modern .nn-review-modal-close {
    right: auto;
    left: 12px;
    top: 12px;
    width: 30px;
    height: 30px;
    font-size: 19px;
    z-index: 1;
    background: #fff;
}
.nn-review-modal-box.review-form-modern .review-modal-identity { display: flex; align-items: center; gap: 11px; padding-left: 36px; }
.nn-review-modal-box.review-form-modern .review-modal-avatar { width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50%; flex: 0 0 50px; object-fit: cover; }
.nn-review-modal-box.review-form-modern .review-modal-avatar-fallback { display: grid; place-items: center; background: #dfedff; color: #358ef1; font-size: 19px; }
.nn-review-modal-box.review-form-modern .review-modal-identity > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nn-review-modal-box.review-form-modern .review-modal-identity strong { font-size: 15px; color: #16385f; }
.nn-review-modal-box.review-form-modern .review-modal-identity small { font-size: 12px; color: #74869b; }
.nn-review-modal-box.review-form-modern .review-form-section { padding: 15px 2px; border-bottom: 1px solid #edf0f5; }
.nn-review-modal-box.review-form-modern .review-form-question {
    display: block;
    margin: 0 0 13px;
    font-weight: 700;
    font-size: 14px;
    color: #203b5b;
    line-height: 1.8;
    text-align: right;
}
.nn-review-modal-box.review-form-modern .review-form-question > span { color: #e65267; }
.nn-review-modal-box.review-form-modern .review-form-question small { font-size: 12px; font-weight: 400; color: #7b8ba0; }
.nn-review-modal-box.review-form-modern .review-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 2px;
    border-bottom: 1px solid #f0f2f6;
}
.nn-review-modal-box.review-form-modern .review-rating-row:last-child { border: 0; }
.nn-review-modal-box.review-form-modern .review-rating-row > span:first-child { flex: 1 1 120px; min-width: 0; font-size: 13px; color: #365170; }
.nn-review-modal-box.review-form-modern .review-rating-row-primary { justify-content: center; flex-wrap: wrap; }
.nn-review-modal-box.review-form-modern .review-rating-row-primary > span:first-child { flex: 0 0 auto; }
.nn-review-modal-box.review-form-modern .star-group { display: flex; align-items: center; flex: 0 0 auto; gap: 2px; direction: ltr; }
.nn-review-modal-box.review-form-modern .profile-rating-star {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 5px;
    color: #b2bfd0;
    touch-action: manipulation;
}
.nn-review-modal-box.review-form-modern .star-group i { font-size: 18px; line-height: 1; color: #aabed4; transition: none; }
.nn-review-modal-box.review-form-modern .star-group i.active,
.nn-review-modal-box.review-form-modern .profile-rating-star:hover i { color: #328ef4; }
.nn-review-modal-box.review-form-modern .profile-rating-star:focus-visible,
.nn-review-modal-box.review-form-modern button:focus-visible,
.nn-review-modal-box.review-form-modern select:focus-visible,
.nn-review-modal-box.review-form-modern textarea:focus-visible { outline: 2px solid #328ef4; outline-offset: 2px; }
.nn-review-modal-box.review-form-modern .review-current-rating { display: inline-flex; justify-content: center; flex: 0 0 36px; color: #456388; font-size: 12px; direction: ltr; }
.nn-review-modal-box.review-form-modern .review-recommend-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nn-review-modal-box.review-form-modern .review-recommend-options button,
.nn-review-modal-box.review-form-modern .review-wait-options button {
    font-family: var(--font-family);
    font-size: 13px;
    color: #667990;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    background: #fff;
    padding: 9px 12px;
    cursor: pointer;
}
.nn-review-modal-box.review-form-modern .review-recommend-options button { min-width: 155px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.nn-review-modal-box.review-form-modern .review-recommend-options .doctor-ui-icon { font-size: 16px; }
.nn-review-modal-box.review-form-modern .review-recommend-options button.is-selected,
.nn-review-modal-box.review-form-modern .review-wait-options button.is-selected {
    border-color: #328ef4;
    background: #f1f7ff;
    color: #257ed9;
}
.nn-review-modal-box.review-form-modern .review-wait-options { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.nn-review-modal-box.review-form-modern .review-wait-options button { padding: 9px 5px; font-size: 12px; }
.nn-review-modal-box.review-form-modern .review-reason-select,
.nn-review-modal-box.review-form-modern .review-textarea-group textarea {
    width: 100%;
    font-family: var(--font-family);
    font-size: 13px;
    color: #284563;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 9px;
}
.nn-review-modal-box.review-form-modern .review-reason-select { height: 44px; padding: 8px 10px; }
.nn-review-modal-box.review-form-modern .review-textarea-group { margin-top: 0; }
.nn-review-modal-box.review-form-modern .review-textarea-group textarea { min-height: 105px; padding: 11px 12px; resize: vertical; }
.nn-review-modal-box.review-form-modern .review-comment-section { border-bottom: 0; }
.nn-review-modal-box.review-form-modern .btn-submit-review {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 14px;
    background: #328ef4;
    border-radius: 9px;
    padding: 12px;
}
.nn-review-modal-box.review-form-modern .btn-submit-review:hover { background: #1977dd; }
.nn-review-modal-box.review-form-modern .btn-submit-review .doctor-ui-icon { font-size: 15px; }
@media (max-width: 767px) {
    .nn-review-modal-overlay { padding: 0; align-items: stretch; }
    .nn-review-modal-box.review-form-modern {
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        padding: 0 15px 22px;
        transform: none;
    }
    .nn-review-modal-box.review-form-modern .review-modal-heading { margin: 0 -15px 3px; border-radius: 0; }
    .doctor-profile-page-section .profile-content-area > .profile-reviews-card { padding: 12px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 10px 6px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-summary-heading { flex-direction: column; gap: 2px; padding: 0 2px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-heading .avg-score { font-size: 21px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-caption { font-size: 10px; gap: 1px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-out-of { font-size: 9px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-count { font-size: 9px; margin-top: 7px; }
    .doctor-profile-page-section .profile-reviews-card .avg-stars { font-size: 11px; gap: 2px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight { gap: 2px; padding: 1px 2px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight .doctor-ui-icon { font-size: 14px; width: 25px; height: 25px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight strong { font-size: 13px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight span { font-size: 9px; }
    .doctor-profile-page-section .profile-reviews-card .review-meta-chip { font-size: 10px; padding: 4px 7px; }
    .doctor-profile-page-section .profile-reviews-card .review-rating-breakdown { gap: 9px; padding: 11px 8px; }
    .doctor-profile-page-section .profile-reviews-card .review-rating-criterion {
        grid-template-columns: minmax(0, 34%) minmax(0, 1fr) 29px;
        gap: 5px;
    }
    .doctor-profile-page-section .profile-reviews-card .review-rating-name { font-size: 11px; gap: 3px; }
    .doctor-profile-page-section .profile-reviews-card .review-rating-name .doctor-ui-icon,
.doctor-profile-page-section .profile-reviews-card .review-rating-name i { font-size: 11px; }
    .doctor-profile-page-section .profile-reviews-card .review-rating-value { font-size: 11px; }
    .doctor-profile-page-section .profile-reviews-card .review-rating-track { height: 4px; }
    .doctor-profile-page-section .profile-reviews-card .review-item .text { font-size: 12px; }
}
@media (max-width: 420px) {
    .nn-review-modal-box.review-form-modern .review-wait-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .nn-review-modal-box.review-form-modern .review-recommend-options button { min-width: 0; flex: 1 1 130px; padding-inline: 6px; font-size: 12px; }
    .nn-review-modal-box.review-form-modern .review-rating-row > span:first-child { flex-basis: 85px; }
    .nn-review-modal-box.review-form-modern .profile-rating-star { width: 25px; height: 29px; }
    .nn-review-modal-box.review-form-modern .star-group i { font-size: 17px; }
    .nn-review-modal-box.review-form-modern .review-current-rating { flex-basis: 28px; }
}
@media (max-width: 360px) {
    .doctor-profile-page-section .profile-reviews-card .review-summary-heading .avg-score { font-size: 19px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-heading { gap: 2px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-caption { font-size: 9px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-count { font-size: 8px; margin-top: 6px; }
    .doctor-profile-page-section .profile-reviews-card .avg-stars { font-size: 10px; gap: 1px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight { gap: 1px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight .doctor-ui-icon { width: 22px; height: 22px; font-size: 12px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight strong { font-size: 12px; }
    .doctor-profile-page-section .profile-reviews-card .review-summary-insight span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .nn-review-modal-box.review-form-modern,
    .nn-review-modal-overlay { transition: none; }
}
