.review-subtitle{font-weight:500;color:var(--ink)!important;margin-bottom:20px}
.rating-fieldset{border:0;margin:0 0 20px;padding:0}
.rating-fieldset legend{font-size:12px;font-weight:500;margin-bottom:10px}
.rating-stars{display:flex;gap:8px}
.rating-stars label{display:grid;place-items:center;min-width:44px;min-height:44px;font-size:30px;color:#D9DEE2;cursor:pointer;border-radius:8px}
.rating-stars label.selected{color:var(--accent)}
.rating-stars label:hover{color:var(--accent);background:var(--soft)}
.rating-stars input:focus-visible+label{outline:3px solid var(--primary);outline-offset:1px}
.review-thanks{text-align:center;padding:10px 0 20px}
.review-thanks h3{font-size:24px;margin-bottom:10px}
.review-thanks p{font-size:12px}
.past-reviews{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.past-reviews h3{font-size:14px}
.past-reviews>.fine-print{margin:8px 0 12px}
.past-review{padding:12px 14px;background:var(--surface);border-radius:12px;margin-top:10px}
.past-review strong{font-size:11px;font-weight:500}
.past-review small{font-size:9px;color:var(--muted)}
.past-review p{font-size:11px;margin-top:6px;overflow-wrap:anywhere}
.past-stars{color:var(--accent);font-size:12px;letter-spacing:2px}
.review-demo{max-width:700px;margin-bottom:40px}
#customer-review-modal .dialog-body{scrollbar-width:thin}
@media(max-width:380px){.rating-stars{gap:3px}
.rating-stars label{min-width:40px;font-size:27px}
.past-reviews .row{gap:6px}
}

/* ── Modal shell (Bootstrap modal dressed as the design's dialog) ─────────────
   The old modal borrowed Bootstrap's yellow header and Font Awesome stars; this
   keeps the Bootstrap show/backdrop behaviour but the design's own surface. */
#customerReviewModal .modal-dialog { max-width:520px; margin:16px auto; }
#customerReviewModal .modal-content { border:0; border-radius:24px; background:#fff; box-shadow:0 30px 80px #001e3c33; overflow:hidden; }
#customerReviewModal .review-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px 22px 4px; }
#customerReviewModal .review-head h2 { margin:0; font-size:20px; font-weight:600; letter-spacing:-.4px; }
#customerReviewModal .review-head .icon-button { width:38px; height:38px; min-width:38px; border:1px solid var(--line); border-radius:50%; background:white; color:var(--ink); font-size:15px; }
#customerReviewModal .review-body { padding:4px 22px 8px; max-height:min(62vh,520px); overflow:auto; }
#customerReviewModal .review-foot { display:flex; justify-content:flex-end; gap:10px; padding:14px 22px 18px; border-top:1px solid var(--line); background:#fff; }
#customerReviewModal .review-foot .button { padding:12px 22px; font-size:12px; }
#customerReviewModal .rating-fieldset legend span { color:var(--danger,#D14343); }
#customerReviewModal .rating-stars label i { font-size:26px; line-height:1; }
#customerReviewModal .rating-stars label.selected i { color:var(--accent); }
#customerReviewModal .rating-stars label:hover i { color:var(--accent); }
#customerReviewModal .review-thanks .success-icon { display:grid; place-items:center; width:52px; height:52px; margin:0 auto 12px; border-radius:50%; background:var(--soft); color:var(--accent); font-size:24px; }
#customerReviewModal .past-reviews-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#customerReviewModal .past-review-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#customerReviewModal .past-review p { margin-top:6px; }
