/* NN Local Business Reviews — matches BuddyBoss ReadyLaunch (rounded white cards, brand blue, gold stars). */
.nn-br-wrap, .nn-br-single { --nn-blue:#3f5c9a; --nn-blue-d:#33507f; --nn-gold:#f4b400; --nn-ink:#2b3a67; --nn-muted:#7a869a; --nn-line:#e8ecf3; --nn-bg:#fff; --nn-radius:14px; }

/* ---- Group tab: header + list ---- */
.nn-br-head{ display:flex; align-items:center; justify-content:space-between; margin:4px 0 16px; }
.nn-br-title{ font-weight:700; color:var(--nn-ink); margin:0; }
.nn-br-add-btn{ background:var(--nn-blue); color:#fff; border:0; border-radius:999px; padding:9px 18px; font-weight:600; cursor:pointer; transition:.15s; }
.nn-br-add-btn:hover{ background:var(--nn-blue-d); }
.nn-br-empty{ background:var(--nn-bg); border:1px solid var(--nn-line); border-radius:var(--nn-radius); padding:26px; color:var(--nn-muted); text-align:center; }

.nn-br-list{ display:flex; flex-direction:column; gap:12px; }
.nn-br-card{ display:flex; align-items:center; justify-content:space-between; gap:16px; background:var(--nn-bg); border:1px solid var(--nn-line); border-radius:var(--nn-radius); padding:16px 18px; text-decoration:none; box-shadow:0 1px 2px rgba(30,45,90,.04); transition:.15s; }
.nn-br-card:hover{ box-shadow:0 6px 18px rgba(30,45,90,.10); transform:translateY(-1px); }
.nn-br-card-main{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.nn-br-card-name{ font-weight:700; color:var(--nn-ink); }
.nn-br-badge{ display:inline-block; background:#eef2fb; color:var(--nn-blue); font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; margin-left:6px; vertical-align:middle; }
.nn-br-card-addr{ font-size:13px; color:var(--nn-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nn-br-card-rating{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex:none; }
.nn-br-card-count{ font-size:12px; color:var(--nn-muted); }

/* ---- Stars ---- */
.nn-br-stars{ display:inline-flex; letter-spacing:1px; font-size:16px; line-height:1; }
.nn-br-star{ color:#d7deea; }
.nn-br-star.is-full{ color:var(--nn-gold); }
.nn-br-star.is-half{ background:linear-gradient(90deg,var(--nn-gold) 50%,#d7deea 50%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---- Single business page ---- */
.nn-br-single{ margin-top:10px; }
.nn-br-single-head{ background:var(--nn-bg); border:1px solid var(--nn-line); border-radius:var(--nn-radius); padding:18px 20px; margin-bottom:18px; }
.nn-br-single-addr{ color:var(--nn-ink); font-weight:600; }
.nn-br-single-web{ color:var(--nn-blue); font-weight:600; text-decoration:none; }
.nn-br-single-towns{ font-size:13px; color:var(--nn-muted); margin-top:6px; }
.nn-br-single-towns a{ color:var(--nn-blue); text-decoration:none; }

/* Averages row (Overall for all; +3 for nightlife) */
.nn-br-averages{ display:flex; flex-wrap:wrap; gap:14px; margin-top:14px; }
.nn-br-avg{ flex:1 1 150px; min-width:140px; background:#f7f9fd; border:1px solid var(--nn-line); border-radius:12px; padding:12px 14px; text-align:center; }
.nn-br-avg-num{ display:block; font-size:26px; font-weight:800; color:var(--nn-ink); line-height:1; }
.nn-br-avg .nn-br-stars{ margin:4px 0 2px; }
.nn-br-avg-label{ display:block; font-size:12px; font-weight:700; color:var(--nn-ink); }
.nn-br-avg-count{ display:block; font-size:11px; color:var(--nn-muted); }

.nn-br-login-note,.nn-br-modal-note{ background:#eef2fb; border:1px solid #dbe4f7; color:var(--nn-blue-d); padding:12px 14px; border-radius:12px; margin-bottom:16px; }

/* Dimension sections */
.nn-br-dim{ background:var(--nn-bg); border:1px solid var(--nn-line); border-radius:var(--nn-radius); padding:18px 20px; margin-bottom:16px; }
.nn-br-dim-head h4{ margin:0; color:var(--nn-ink); font-weight:700; }
.nn-br-dim-desc{ margin:4px 0 12px; font-size:13px; color:var(--nn-muted); }

/* Composer (mirrors the group activity composer) */
.nn-br-composer{ border:1px solid var(--nn-line); border-radius:12px; padding:12px 14px; margin-bottom:14px; background:#fcfdff; }
.nn-br-starpick{ font-size:24px; letter-spacing:3px; cursor:pointer; }
.nn-br-pick{ color:#d7deea; transition:.1s; }
.nn-br-pick.is-on,.nn-br-pick.is-hover{ color:var(--nn-gold); }
.nn-br-comment{ width:100%; border:1px solid var(--nn-line); border-radius:10px; padding:10px; margin-top:8px; resize:vertical; font:inherit; }
.nn-br-composer-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; gap:10px; }
.nn-br-guard{ font-size:11px; color:var(--nn-muted); }
.nn-br-submit{ background:var(--nn-blue); color:#fff; border:0; border-radius:999px; padding:8px 18px; font-weight:600; cursor:pointer; }
.nn-br-submit:hover{ background:var(--nn-blue-d); }

/* Review feed items */
.nn-br-review{ display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--nn-line); }
.nn-br-review-avatar img{ border-radius:50%; }
.nn-br-review-top{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.nn-br-review-user{ font-weight:700; color:var(--nn-ink); }
.nn-br-review-time{ font-size:12px; color:var(--nn-muted); }
.nn-br-review-text{ color:#3a4763; margin-top:2px; }
.nn-br-feed-empty{ color:var(--nn-muted); font-size:14px; }

/* Add-business modal */
.nn-br-modal[hidden]{ display:none; }
.nn-br-modal{ position:fixed; inset:0; background:rgba(20,30,60,.45); display:flex; align-items:center; justify-content:center; z-index:99999; padding:16px; }
.nn-br-modal-box{ background:#fff; border-radius:16px; max-width:520px; width:100%; padding:24px; position:relative; box-shadow:0 24px 60px rgba(20,30,60,.3); }
.nn-br-modal-x{ position:absolute; top:12px; right:14px; border:0; background:none; font-size:26px; line-height:1; color:var(--nn-muted); cursor:pointer; }
.nn-br-place-input{ width:100%; border:1px solid var(--nn-line); border-radius:12px; padding:12px 14px; font:inherit; }
.nn-br-place-results{ margin-top:8px; }
.nn-br-place-item{ padding:10px 12px; border-radius:10px; cursor:pointer; }
.nn-br-place-item:hover,.nn-br-place-item.is-active{ background:#eef2fb; }
.nn-br-place-item small{ display:block; color:var(--nn-muted); }
.nn-br-modal-status{ margin-top:10px; font-size:13px; color:var(--nn-blue-d); }
.nn-br-pending-ok{ display:block; padding:10px 12px; background:#eef7ee; border:1px solid #cfe6cf; border-radius:10px; color:#1a7a1a; font-weight:600; }

/* Request-a-business form */
.nn-br-request{ margin-top:6px; }
.nn-br-req-row{ margin:0 0 10px; }
.nn-br-req-row label{ display:block; font-size:13px; font-weight:600; color:var(--nn-ink); margin-bottom:4px; }
.nn-br-req-row input[type=text], .nn-br-request textarea{ width:100%; box-sizing:border-box; padding:9px 11px; border:1px solid var(--nn-line); border-radius:10px; font:inherit; }
.nn-br-req-row.nn-br-req-check label{ font-weight:500; display:flex; align-items:center; gap:7px; }
.nn-br-req-check input{ width:auto; }
.nn-br-req-req{ color:#b32d2e; }
.nn-br-req-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:4px; }
.nn-br-req-status{ font-size:13px; color:#b32d2e; }
.nn-br-req-submit{ background:var(--nn-blue); color:#fff; border:none; border-radius:999px; padding:9px 18px; font-weight:700; cursor:pointer; }
.nn-br-req-submit:hover{ background:var(--nn-blue-d); }
.nn-br-req-submit:disabled{ opacity:.6; cursor:default; }
.nn-br-req-fine{ font-size:12px; color:var(--nn-muted); margin:8px 0 0; }
