/* ═══════════════════════════════════════════════════
   ShadiMatch — Master CSS v4.0
   Theme: Professional Black/White + Subtle Pink
   ═══════════════════════════════════════════════════ */

/* Global horizontal scroll prevention */
html{overflow-x:hidden!important;}
body{overflow-x:hidden!important;max-width:100%!important;}

/* All plugin elements — safe box model */
.shadi-wrap *,.shadi-wrap *::before,.shadi-wrap *::after,
.sm-header-btns,.sm-header-user,.sm-header-btns *,.sm-header-user *{
  box-sizing:border-box!important;
}

:root {
  --c-pink:       #b5185c;
  --c-pink-lt:    #fdf2f7;
  --c-pink-mid:   #f9d0e3;
  --c-dark:       #111827;
  --c-dark-2:     #1f2937;
  --c-gray:       #6b7280;
  --c-gray-lt:    #9ca3af;
  --c-border:     #e5e7eb;
  --c-border-lt:  #f3f4f6;
  --c-bg:         #f9fafb;
  --c-white:      #ffffff;
  --r-sm:         8px;
  --r-md:         12px;
  --r-lg:         16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.1);
  --font:         -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
  --transition:   all .18s ease;

  /* ── ShadiMatch Form Appearance (admin-configurable, NOT inherited
       from theme/global styles — see Settings → Form Appearance) ── */
  --shadi-text-color:      #1a1a1a; /* default: near-black */
  --shadi-heading-color:   #000000; /* default: black */
  --shadi-bg-color:        #ffffff; /* default: white */
  --shadi-accent-color:    #f6a9c8; /* default: light pink */
  --shadi-accent-soft:     #fdeef5; /* default: very light pink (auto) */
  --shadi-font-size:       14px;
  --shadi-field-padding:   11px 14px;
  --shadi-section-padding: 22px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; }

/* ═══════════════════════════════
   HEADER BUTTONS  [sm-hbtn]
   Dark header ke liye designed — white/pink contrast buttons
   ═══════════════════════════════ */
.sm-header-btns,
.sm-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.sm-hbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--font);
  cursor: pointer;
  letter-spacing: .1px;
}

/* ── Login — white outline (dark header pe clearly visible) ── */
.sm-hbtn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.6);
}
.sm-hbtn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ── Register Free — pink gradient (eye-catching CTA) ── */
.sm-hbtn--dark {
  background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(185,24,93,.4);
}
.sm-hbtn--dark:hover {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  box-shadow: 0 6px 20px rgba(185,24,93,.55);
  transform: translateY(-2px);
  color: #fff;
}

/* ── Dashboard — semi-white pill ── */
.sm-hbtn--pink {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.sm-hbtn--pink:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
  color: #fff;
}

/* ── Logout — subtle ghost ── */
.sm-hbtn--ghost {
  background: transparent;
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.2);
  font-weight: 600;
}
.sm-hbtn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

/* ── User avatar ── */
.sm-header-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.4);
  flex-shrink: 0;
  transition: border-color .15s;
}
.sm-header-avatar:hover { border-color: #fff; }

.sm-header-name {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .1px;
}

@media (max-width: 600px) {
  .sm-hbtn { padding: 8px 16px; font-size: 13px; }
  .sm-header-name { display: none; }
  .sm-hbtn--ghost { display: none; } /* Logout mobile par hide — avatar tap se kaam chale */
}
@media (max-width: 380px) {
  .sm-hbtn { padding: 7px 12px; font-size: 12px; }
  .sm-header-btns { gap: 6px; }
}

/* ═══════════════════════════════
   AUTH BOX / NOTICE
   ═══════════════════════════════ */
.sm-auth-already {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--c-gray);
  text-align: center;
}
.sm-auth-already a { color: var(--c-pink); font-weight: 600; }

/* ═══════════════════════════════
   REGISTRATION & EDIT FORMS
   [shadi-wrap]
   ═══════════════════════════════ */
.shadi-wrap {
  /* Map ShadiMatch's own theme variables to the admin-configurable
     "Form Appearance" variables — never inherits theme/global colors */
  --c-dark:     var(--shadi-text-color);
  --c-dark-2:   var(--shadi-heading-color);
  --c-white:    var(--shadi-bg-color);
  --c-pink:     var(--shadi-accent-color);
  --c-pink-lt:  var(--shadi-accent-soft);

  font-family: var(--font);
  font-size: var(--shadi-font-size);
  color: var(--c-dark);
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 40px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.shadi-form-container { width: 100%; overflow-x: hidden; box-sizing: border-box; }

/* Form header */
.shadi-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border-lt);
}
.shadi-form-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 4px;
}
.shadi-form-header p {
  font-size: 14px;
  color: var(--c-gray-lt);
}

/* Section blocks */
.shadi-section {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--shadi-section-padding);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.shadi-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border-lt);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.shadi-section-icon {
  width: 28px; height: 28px;
  background: var(--c-pink-lt);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* Grid */
.shadi-grid { display: grid; gap: 14px; }
.shadi-grid--2 { grid-template-columns: 1fr 1fr; }
.shadi-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.shadi-field-full { grid-column: 1 / -1; }

/* Field */
.shadi-field { display: flex; flex-direction: column; gap: 5px; }
.shadi-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-dark-2);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.shadi-field label .req { color: var(--c-pink); margin-left: 2px; }

.shadi-field input,
.shadi-field select,
.shadi-field textarea {
  width: 100%;
  padding: var(--shadi-field-padding);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 1em;
  color: var(--c-dark);
  background: var(--c-white);
  font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.shadi-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.shadi-field input:focus,
.shadi-field select:focus,
.shadi-field textarea:focus {
  border-color: var(--c-dark);
  box-shadow: 0 0 0 3px rgba(17,24,39,.06);
}
.shadi-field textarea { resize: vertical; min-height: 90px; }

/* Highlighted on a validation error so the member can find the exact field */
.shadi-field-error label { color: #dc2626 !important; }
.shadi-field-error input,
.shadi-field-error select,
.shadi-field-error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
  animation: shadiFieldShake .35s ease;
}
@keyframes shadiFieldShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.shadi-field input::placeholder,
.shadi-field textarea::placeholder { color: var(--c-gray-lt); }

/* Radio / Checkbox groups */
.shadi-radio-group,
.shadi-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.shadi-radio-label,
.shadi-check-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 100px;
  font-size: .93em;
  font-weight: 500;
  color: var(--c-gray);
  cursor: pointer;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  transition: var(--transition);
  user-select: none;
  text-align: center;
}
.shadi-radio-label input,
.shadi-check-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.shadi-radio-label:hover,
.shadi-check-label:hover { border-color: var(--c-pink); color: var(--c-dark); }
.shadi-radio-label.selected,
.shadi-check-label.selected {
  border-color: var(--c-dark);
  background: var(--c-dark);
  color: var(--c-white);
}
.shadi-radio-label.selected:hover,
.shadi-check-label.selected:hover { border-color: var(--c-pink); background: var(--c-pink); }

/* File upload */
.shadi-file-upload { display: flex; flex-direction: column; gap: 8px; }
.shadi-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px dashed var(--c-border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-gray);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}
.shadi-file-label:hover { border-color: var(--c-dark); color: var(--c-dark); }
.shadi-file-upload input[type="file"] { display: none; }
.shadi-image-preview img,
.shadi-current-photo {
  width: 80px; height: 80px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1.5px solid var(--c-border);
}
.shadi-age-display {
  font-size: 12px;
  color: var(--c-pink);
  font-weight: 600;
  margin-top: 3px;
}

/* Conditional hidden */
.shadi-conditional { display: none; }

/* "Other — please specify" fields */
.shadi-other-field { animation: shadiFadeIn .2s ease; }
.shadi-other-field input { border-color: var(--c-pink); }
@keyframes shadiFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Notice */
.shadi-notice {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.shadi-notice--success {
  background: #f0fdf4; color: #15803d; border-color: #bbf7d0;
}
.shadi-notice--error {
  background: #fef2f2; color: #dc2626; border-color: #fecaca;
}
.shadi-notice--warning {
  background: #fffbeb; color: #92400e; border-color: #fde68a;
}
.shadi-notice--info {
  background: var(--c-pink-lt); color: var(--c-pink); border-color: var(--c-pink-mid);
}

/* Submit button */
.shadi-submit-wrap { margin-top: 20px; }
.shadi-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 36px;
  background: var(--c-dark);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-family: var(--font);
}
.shadi-btn-submit:hover { background: var(--c-pink); }
.shadi-btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-loader { display: none; }

/* Generic ShadiMatch buttons (.shadi-btn / .shadi-btn--primary / .shadi-btn--outline)
   used across registration, dashboard, profile and message templates.
   Defined here so they NEVER fall back to the theme's global button styles. */
.shadi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-size: 1em;
  font-weight: 700;
  font-family: var(--font);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.3;
}
.shadi-btn--primary {
  background: var(--c-dark);
  color: var(--c-white);
  border-color: var(--c-dark);
}
.shadi-btn--primary:hover { background: var(--c-pink); border-color: var(--c-pink); color: var(--c-white); }
.shadi-btn--outline {
  background: transparent;
  color: var(--c-dark);
  border-color: var(--c-border);
}
.shadi-btn--outline:hover { border-color: var(--c-pink); color: var(--c-pink); }
.shadi-btn:disabled { opacity: .6; cursor: not-allowed; }

.shadi-submit-area { margin-top: 20px; }
.shadi-submit-area .shadi-btn { width: 100%; padding: 14px 36px; font-size: 1.05em; }
.shadi-submit-note {
  font-size: .82em;
  color: var(--c-gray-lt);
  margin-top: 10px;
  text-align: center;
}

/* Approval notice */
.shadi-edit-locked {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  text-align: center;
}
.shadi-edit-locked h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.shadi-edit-locked p { font-size: 13px; color: var(--c-gray); }

/* Pending badge */
.shadi-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 12px;
}

/* Form responsive */
@media (max-width: 900px) {
  .shadi-grid--3 { grid-template-columns: 1fr 1fr; }
  .shadi-wrap { padding-left: 12px!important; padding-right: 12px!important; }
}
@media (max-width: 700px) {
  .shadi-grid--2,
  .shadi-grid--3 { grid-template-columns: 1fr; }
  .shadi-section { padding: var(--shadi-section-padding); }
  .shadi-wrap { padding: 0 12px 28px!important; }
  .shadi-section { margin-left: 0!important; margin-right: 0!important; }
  .shadi-form-header h2 { font-size: 19px; }
}
@media (max-width: 480px) {
  .shadi-wrap { padding: 0 0 20px; }
  .shadi-section { padding: 16px; border-radius: var(--r-md); }
  .shadi-radio-label,
  .shadi-check-label { flex: 1 1 80px; padding: 10px 8px; }
  .shadi-submit-area .shadi-btn { padding: 13px 20px; }
}

/* ═══════════════════════════════
   PROFILE CARDS  [mspc-]
   ═══════════════════════════════ */
.mspc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

/* ── Card ── */
.mspc {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.mspc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.mspc--featured { border-color: #f9a8d4; border-width: 2px; }

/* Featured ribbon */
.mspc__ribbon {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  background: #b5185c; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 20px;
}

/* Photo */
.mspc__photo {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f9fafb;
  position: relative;
  text-decoration: none !important;
}
.mspc__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transform: scale(1);
  transition: transform .3s ease;
}
.mspc:hover .mspc__img {
  transform: scale(1.04);
}

.mspc__no-photo {
  width: 100%; height: 100%; min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fce7f3 0%, #f9fafb 100%);
}

/* Gender badge */
.mspc__gender-badge {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 10px; border-radius: 20px;
  backdrop-filter: blur(4px);
  color: #fff;
}
.mspc__gender-badge--male   { background: rgba(59,130,246,.75); }
.mspc__gender-badge--female { background: rgba(181,24,92,.75); }

/* Body */
.mspc__body {
  padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.mspc__name {
  font-size: 15px; font-weight: 800;
  color: #b5185c !important; display: block;
  text-decoration: none !important; line-height: 1.3;
  margin-bottom: 6px;
}
.mspc__name:hover { color: #9b1550 !important; }

/* Detail table rows (like the screenshot) */
.mspc__detail-table {
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  margin-bottom: 10px;
}
.mspc__detail-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  border-bottom: 1px solid #f9fafb;
}
.mspc__detail-row:last-child { border-bottom: none; }
.mspc__detail-label {
  padding: 7px 8px;
  color: #6b7280;
  font-weight: 600;
  font-size: 11px;
  background: #fafafa;
  border-right: 1px solid #f3f4f6;
  white-space: nowrap;
}
.mspc__detail-val {
  padding: 7px 8px;
  color: #111827;
  font-weight: 500;
  font-size: 11.5px;
  border-right: 1px solid #f3f4f6;
}
.mspc__detail-val:last-child { border-right: none; }

/* Actions row */
.mspc__actions {
  display: flex; align-items: stretch;
  margin-top: auto; gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

/* WhatsApp button */
.mspc__action-btn--whatsapp {
  flex: 1;
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 6px;
  background: #25d366 !important; color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 10px !important;
  font-size: 12px !important; font-weight: 700 !important;
  cursor: pointer; text-decoration: none !important;
  transition: all .15s;
  line-height: 1;
}
.mspc__action-btn--whatsapp svg { fill: #fff; width:16px!important; height:16px!important; flex-shrink:0; }
.mspc__action-btn--whatsapp:hover { background: #1da851 !important; transform: none; }

/* View button */
.mspc__action-btn--view {
  display: flex !important; align-items: center !important; justify-content:center; gap: 5px;
  background: #f9fafb !important; color: #374151 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  font-size: 12px !important; font-weight: 600 !important;
  cursor: pointer; text-decoration: none !important;
  transition: all .15s; line-height: 1; white-space: nowrap;
}
.mspc__action-btn--view svg { width:13px!important; height:13px!important; stroke:currentColor; fill:none; }
.mspc__action-btn--view:hover { background: #111827 !important; color: #fff !important; border-color:#111827 !important; }

/* Tooltip */
.mspc-tooltip {
  position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%);
  background: #111827; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  animation: mspcFadeUp .2s ease;
}
@keyframes mspcFadeUp { from{opacity:0;transform:translateX(-50%) translateY(4px);} to{opacity:1;transform:translateX(-50%) translateY(0);} }

@media (max-width: 640px) {
  .mspc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mspc__body { padding: 10px; }
  .mspc__name { font-size: 13px; }
  .mspc__action-btn--whatsapp span { display: none; }
}
@media (max-width: 420px) {
  .mspc-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ═══════════════════════════════
   LISTING PAGE  [msl-]
/* ═══════════════════════════════
   LISTING SHORTCODE PAGE  [msl-]
   [shadi_listing]
   ═══════════════════════════════ */

/* Reset any theme container squeeze for this shortcode */
.msl-page {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  box-sizing: border-box;
}
.msl-page * { box-sizing: border-box; }

/* ── Filter sidebar ── */
.msl-filter-bar {
  flex: 0 0 280px;
  width: 280px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  position: sticky;
  top: 20px;
}
.msl-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.msl-filter-title { font-size: 15px; font-weight: 800; color: #111827; }
.msl-filter-sub   { font-size: 11.5px; color: #9ca3af; margin-top: 4px; line-height: 1.4; }
.msl-reset-all {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: #b5185c;
  text-decoration: none; white-space: nowrap;
  flex-shrink: 0;
}
.msl-reset-all:hover { color: #9b1550; }
.msl-reset-all svg { width: 12px; height: 12px; }

.msl-filter-group { margin-bottom: 18px; }
.msl-filter-label {
  display: block; font-size: 12px; font-weight: 700;
  color: #374151; margin-bottom: 8px;
}

/* Gender toggle */
.msl-gender-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.msl-gender-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; color: #6b7280; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.msl-gender-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.msl-gender-btn.active {
  background: #fdf2f7; border-color: #b5185c; color: #b5185c;
}

/* Age range */
.msl-age-row { display: flex; align-items: center; gap: 8px; }
.msl-age-to  { font-size: 12px; color: #9ca3af; flex-shrink: 0; }

/* Selects */
.msl-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.msl-select:focus { outline: none; border-color: #b5185c; }
.msl-select--full { width: 100%; }

/* Checkbox group */
.msl-checkbox-group { display: flex; flex-direction: column; gap: 9px; }
.msl-checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #374151; cursor: pointer;
}
.msl-checkbox-label input { accent-color: #b5185c; width: 14px; height: 14px; cursor: pointer; }

/* Bottom actions */
.msl-filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.msl-btn-reset, .msl-btn-show {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .15s;
}
.msl-btn-reset {
  background: #f9fafb; color: #6b7280; border: 1.5px solid #e5e7eb;
}
.msl-btn-reset:hover { background: #f3f4f6; }
.msl-btn-show {
  background: #b5185c; color: #fff;
}
.msl-btn-show:hover { background: #9b1550; }

/* ── Results column ── */
.msl-results { flex: 1 1 auto; min-width: 0; width: 100%; }

.msl-results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px;
}
.msl-results-count {
  font-size: 14px; font-weight: 700; color: #111827;
  display: flex; align-items: center; gap: 8px;
}
.msl-filter-active-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #b5185c; display: inline-block;
}
.msl-filter-toggle-btn {
  display: none; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  background: #111827; color: #fff; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  flex-shrink: 0;
}

/* Empty state */
.msl-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  padding: 70px 20px; text-align: center; color: #9ca3af;
}
.msl-empty svg { margin-bottom: 14px; }
.msl-empty h3 { font-size: 17px; color: #374151; margin-bottom: 6px; }
.msl-empty p  { font-size: 13.5px; }

/* Pagination */
.msl-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px; flex-wrap: wrap;
}
.msl-page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #e5e7eb; background: #fff; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #374151;
  text-decoration: none; transition: all .15s;
}
.msl-page-btn:hover, .msl-page-btn.active {
  background: #b5185c; color: #fff; border-color: #b5185c;
}
.msl-page-dots { display: flex; align-items: center; color: #9ca3af; font-size: 13px; padding: 0 4px; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .msl-page { flex-direction: column; gap: 16px; }
  .msl-filter-bar {
    width: 100%; flex: 1 1 auto;
    position: static;
    display: none;
  }
  .msl-filter-bar--open { display: block; }
  .msl-filter-toggle-btn { display: flex; }
}
@media (max-width: 640px) {
  .msl-page { padding: 14px 12px 50px; }
  .msl-filter-bar { padding: 16px; }
  .msl-results-count { font-size: 13px; }
}
