/* JustShadi v29 — member area (dashboard, search, interests…) layout pieces that had no styles. */
.content-header-text .content-sub{margin:4px 0 0;color:var(--text-muted);font-size:.92rem}
.content-body>.alert{margin-bottom:18px}
.alert{border-radius:12px;padding:12px 16px;font-size:.9rem;line-height:1.5}
.alert-ok{background:#eaf7ef;border:1px solid #b9e2c8;color:#166534}
.alert-err{background:#fdecea;border:1px solid #f5c2bd;color:#9b1c1c}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.stat-grid .stat-card{display:flex;flex-direction:column;gap:4px;padding:20px 22px;background:#fff;border:1px solid var(--border);border-radius:16px;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s}
.stat-value{font-family:var(--font-serif);font-size:2rem;font-weight:600;color:var(--crimson);line-height:1}
.stat-label{font-size:.8rem;color:var(--text-muted);font-weight:600;letter-spacing:.02em}
.panel{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px 26px;margin-bottom:24px;box-shadow:0 1px 0 rgba(59,12,14,.03)}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.panel-title{font-family:var(--font-serif);font-size:1.35rem;font-weight:600;color:var(--navy);margin:0}
.panel-sub{color:var(--text-muted);font-size:.9rem;margin:4px 0 0}
.panel-link{font-weight:700;font-size:.88rem;color:var(--crimson);text-decoration:none}
.completeness-panel{display:grid;grid-template-columns:1fr 220px auto;gap:20px;align-items:center}
.completeness-bar{height:8px;border-radius:8px;background:var(--cream-dark);overflow:hidden}
.completeness-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--crimson),var(--gold));border-radius:8px}
.matches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.matches-grid .profile-card,.matches-list .profile-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.matches-grid .profile-photo{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(135deg,#f5ede0,#fbf4e6)}
.matches-grid .profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%;transition:transform .5s}
.matches-grid .profile-card:hover .profile-photo img{transform:scale(1.04)}
.profile-badges{position:absolute;left:10px;top:10px;display:flex;gap:6px;flex-wrap:wrap}
.profile-name{font-family:var(--font-serif);font-size:1.15rem;margin:0 0 8px}
.profile-name a{color:var(--navy);text-decoration:none}
.profile-meta{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;font-size:.8rem;color:#5d4b48}
.profile-meta li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-actions{display:flex;gap:8px;align-items:center;margin-top:auto}
.btn-interest{flex:1;height:40px;border:0;border-radius:10px;background:linear-gradient(135deg,#6d0f1e,#a3283a);color:#fff;font-weight:700;font-size:.85rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}
.btn-interest.is-done{background:#f3ece2;color:#6d5a55;cursor:default}
.icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:#fff;display:inline-grid;place-items:center;cursor:pointer;text-decoration:none;font-size:1rem}
.icon-btn.is-on{background:#fff3d6;border-color:#ecd9a8}
.photo-lock{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(255,255,255,.85);border-radius:10px;padding:8px;text-align:center;font-size:.78rem;font-weight:700;color:var(--navy)}
.is-blurred{filter:blur(14px);transform:scale(1.1)}
.matches-list{display:flex;flex-direction:column;gap:14px}
.matches-list .profile-card{flex-direction:row}
.matches-list .profile-photo{position:relative;display:block;width:180px;flex:none;aspect-ratio:4/5;overflow:hidden}
.matches-list .profile-photo img{width:100%;height:100%;object-fit:cover}
.matches-list .profile-info{flex:1;display:flex;flex-direction:column}
.empty{grid-column:1/-1;padding:34px;text-align:center;color:var(--text-muted);background:#fff;border:1px dashed var(--border);border-radius:16px}
.filter-panel .field{display:flex;flex-direction:column;gap:6px;font-size:.78rem;font-weight:700;color:#4a3a3e}
.filter-panel .field input,.filter-panel .field select{height:44px;border:1.5px solid var(--border);border-radius:10px;padding:0 12px;font:inherit;font-size:.92rem;background:#fff}
.filter-panel .field.inline{flex-direction:row;align-items:center;gap:8px}
.filter-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px}
.filter-foot .check{display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:600}
.results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 16px;flex-wrap:wrap}
.view-toggle{display:flex;gap:6px}
.view-toggle a{padding:8px 12px;border-radius:9px;border:1px solid var(--border);background:#fff;text-decoration:none;font-size:.85rem;color:var(--navy)}
.view-toggle a.is-on{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:28px 0}
.pagination a{min-width:40px;height:40px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--border);background:#fff;text-decoration:none;color:var(--navy);font-weight:700}
.pagination a.is-on{background:var(--crimson);color:#fff;border-color:var(--crimson)}
.interest-list,.list-plain{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.interest-row,.list-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#fff}
.interest-main{flex:1;min-width:0}
.interest-name{font-weight:700;color:var(--navy);text-decoration:none}
.interest-meta,.interest-msg{font-size:.82rem;color:var(--text-muted)}
.avatar-sm{width:44px;height:44px;border-radius:50%;object-fit:cover}
.avatar-md{width:64px;height:64px;border-radius:50%;object-fit:cover}
.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px}
.btn-sm{padding:8px 14px!important;font-size:.82rem!important}
.note-dot{width:8px;height:8px;border-radius:50%;background:var(--crimson);display:inline-block}
@media (max-width:1100px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.completeness-panel{grid-template-columns:1fr}}
@media (max-width:640px){.matches-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-meta{grid-template-columns:1fr}.matches-list .profile-photo{width:120px}.panel{padding:18px}}
