/* OrderFlow v5.4 Reviews & Delivery Follow-ups */
.nav-item{position:relative}.nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:#fff1f2;color:#e11d48;font-size:11px;font-weight:800;border:1px solid #fecdd3}.nav-item.active .nav-count{background:#fff;color:var(--of-primary);border-color:#bfdbfe}
.delivery-followup-alert{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 18px;border:1px solid #fed7aa;background:linear-gradient(135deg,#fffaf0,#fff);border-radius:16px;color:#172033;box-shadow:0 8px 30px rgba(234,88,12,.06)}.delivery-followup-alert:hover{transform:translateY(-1px);box-shadow:0 12px 34px rgba(234,88,12,.1)}.followup-alert-icon{width:44px;height:44px;border-radius:13px;background:#fff0da;color:#ea580c;display:grid;place-items:center;flex:0 0 auto}.delivery-followup-alert span:nth-child(2){display:grid;gap:3px;flex:1}.delivery-followup-alert strong{font-size:15px}.delivery-followup-alert small{color:#7a8497}.delivery-followup-alert b{font-size:13px;color:#c2410c}
.review-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.review-tabs{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e1e7f0;border-radius:13px;padding:5px}.review-tabs a{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:9px;color:#667085;font-weight:750;font-size:13px}.review-tabs a.active{background:#eef5ff;color:var(--of-primary)}.review-tabs b{min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#e9eef8;color:#64748b;font-size:11px;display:grid;place-items:center}.review-tabs a.active b{background:#fff;color:var(--of-primary)}
.review-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.review-kpi{background:#fff;border:1px solid #e1e7f0;border-radius:16px;padding:17px 18px;display:grid;gap:6px;position:relative;overflow:hidden}.review-kpi:after{content:"";position:absolute;right:-20px;bottom:-25px;width:75px;height:75px;border-radius:50%;opacity:.65}.review-kpi small{font-size:12px;color:#667085;font-weight:750}.review-kpi strong{font-size:27px;letter-spacing:-.03em;color:#172033}.review-kpi span{font-size:11px;color:#98a2b3}.review-kpi.due:after{background:#ffedd5}.review-kpi.waiting:after{background:#dbeafe}.review-kpi.confirmed:after{background:#dcfce7}.review-kpi.received:after{background:#ede9fe}
.review-filter-tabs{display:flex;align-items:center;gap:6px;margin:0 0 14px}.review-filter-tabs a{padding:8px 13px;border:1px solid transparent;border-radius:9px;color:#667085;font-weight:700;font-size:12px}.review-filter-tabs a:hover{background:#fff}.review-filter-tabs a.active{background:#fff;border-color:#dce4ee;color:var(--of-primary);box-shadow:0 4px 16px rgba(15,23,42,.05)}
.review-list-card{overflow:hidden}.review-followup-table td{vertical-align:middle}.review-followup-table tr.followup-overdue{background:linear-gradient(90deg,#fffaf3,transparent)}.review-followup-table small{display:block;margin-top:4px;color:#98a2b3;font-size:11px}.due-date-pill{display:inline-flex;padding:6px 9px;border-radius:8px;font-size:12px;font-weight:800}.due-date-pill.overdue{background:#fff0e5;color:#c2410c}.due-date-pill.upcoming{background:#edf7ff;color:#0369a1}.response-pill{display:inline-flex;padding:6px 9px;border-radius:8px;font-size:11px;font-weight:800}.response-pill.waiting{background:#f3f4f6;color:#667085}.response-pill.yes{background:#dcfce7;color:#15803d}.response-pill.no{background:#fee2e2;color:#b91c1c}.rating-stars{color:#f59e0b!important;letter-spacing:1px}.review-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.review-row-actions form{margin:0}.icon-action{height:32px;min-width:34px;padding:0 8px;border:1px solid #dfe6ef;background:#fff;color:#667085;border-radius:8px;display:inline-grid;place-items:center;font-size:12px;font-weight:800;cursor:pointer}.icon-action:hover{border-color:#b9c8dd;color:var(--of-primary)}.empty-review-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff7df;color:#f59e0b;font-size:24px;margin:0 auto 12px}
.review-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.customer-review-card{padding:18px}.review-card-head{display:flex;align-items:center;gap:10px}.review-card-head>div{display:grid;gap:2px;flex:1}.review-card-head a{font-size:11px;color:var(--of-primary)}.review-status{padding:5px 8px;border-radius:8px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.review-status-pending{background:#fff5d6;color:#a16207}.review-status-approved{background:#dcfce7;color:#15803d}.review-status-rejected{background:#fee2e2;color:#b91c1c}.review-stars{font-size:20px;color:#f59e0b;letter-spacing:2px;margin:16px 0 9px}.customer-review-card>p{color:#4b5565;line-height:1.65;min-height:72px}.review-card-meta{display:flex;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #eef1f5;font-size:11px;color:#7a8497}.review-moderation-actions{display:flex;gap:7px;margin-top:13px}.review-list-toolbar{display:flex;justify-content:space-between}
/* Public review form */
.review-public-body{margin:0;background:radial-gradient(circle at 10% 0,#eaf2ff 0,transparent 32%),#f6f8fc;color:#172033;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.review-public-shell{width:min(680px,calc(100% - 28px));margin:0 auto;padding:34px 0 40px}.review-public-brand{display:flex;align-items:center;gap:11px;margin-bottom:25px}.review-brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--of-primary),#1757d8);color:#fff;display:grid;place-items:center;font-weight:850;overflow:hidden}.review-brand-mark img{width:100%;height:100%;object-fit:cover}.review-public-brand strong{font-size:18px}.review-public-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:28px;box-shadow:0 24px 70px rgba(15,23,42,.08)}.review-public-head>span{display:inline-flex;padding:6px 9px;background:#edf5ff;color:var(--of-primary);border-radius:8px;font-size:11px;font-weight:800}.review-public-head h1{font-size:31px;letter-spacing:-.035em;margin:14px 0 7px}.review-public-head p{margin:0;color:#748094;line-height:1.6}.review-order-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;padding:14px;background:#f8fafc;border-radius:14px}.review-order-summary div{display:grid;gap:5px}.review-order-summary small{color:#8a95a6;font-size:11px}.review-order-summary strong{font-size:13px;word-break:break-word}.review-public-form{display:grid;gap:20px}.review-public-form fieldset{border:0;margin:0;padding:0}.review-public-form legend,.review-public-form>label{display:grid;gap:9px;font-size:13px;font-weight:750;color:#344054}.delivery-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-choice label{cursor:pointer}.delivery-choice input{position:absolute;opacity:0}.delivery-choice span{height:48px;border:1px solid #dce4ee;border-radius:12px;display:grid;place-items:center;color:#667085;font-weight:750}.delivery-choice input:checked+span{border-color:var(--of-primary);background:#eef5ff;color:var(--of-primary);box-shadow:0 0 0 3px rgba(23,105,255,.08)}.star-rating{display:flex;flex-direction:row-reverse;justify-content:flex-end}.star-rating input{position:absolute;opacity:0}.star-rating label{font-size:36px;color:#d8dee8;cursor:pointer;padding-right:5px;line-height:1}.star-rating label:hover,.star-rating label:hover~label,.star-rating input:checked~label{color:#fbbf24}.review-public-form textarea{width:100%;border:1px solid #dce4ee;border-radius:12px;padding:13px;font:inherit;resize:vertical;box-sizing:border-box}.review-public-form textarea:focus{outline:0;border-color:var(--of-primary);box-shadow:0 0 0 3px rgba(23,105,255,.1)}.review-public-footer{text-align:center;color:#98a2b3;font-size:11px;margin-top:16px}.review-state{text-align:center;padding:52px 28px}.review-state-icon{width:64px;height:64px;border-radius:50%;background:#fff1f2;color:#e11d48;display:grid;place-items:center;font-size:28px;font-weight:900;margin:0 auto 18px}.review-state.success .review-state-icon{background:#dcfce7;color:#15803d}.review-state h1{font-size:27px;margin:0 0 8px}.review-state p{color:#748094}.review-order-pill{display:inline-flex;margin-top:12px;padding:7px 11px;background:#f3f6fa;border-radius:8px;color:#667085;font-size:12px;font-weight:800}
@media(max-width:1100px){.review-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.review-page-head{align-items:flex-start;flex-direction:column}.review-tabs{width:100%;overflow:auto}.review-kpi-grid,.review-card-grid{grid-template-columns:1fr}.delivery-followup-alert{align-items:flex-start}.delivery-followup-alert b{display:none}.review-public-card{padding:20px}.review-public-head h1{font-size:26px}.delivery-choice,.review-order-summary{grid-template-columns:1fr}.review-row-actions{min-width:210px}}
.order-review-card .review-order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.order-review-card .review-order-actions form{margin:0}.order-review-quote{margin:15px 0 0;padding:12px 14px;border-left:3px solid #fbbf24;background:#fffaf0;border-radius:0 10px 10px 0;color:#5f6572;font-size:13px;line-height:1.6}
.review-status-needs_attention{background:#fee2e2;color:#b91c1c}.review-status-submitted{background:#dcfce7;color:#15803d}.review-status-closed{background:#eef2f7;color:#64748b}
