/* =========================================================
   Meet Me - master.css (CLEANED + CURRENT)
   - Swipe + Tabbar + Toast + Full-screen profile overlay
   ========================================================= */

/* -------------------------
   Shared icon buttons (swipe + profile overlay)
-------------------------- */
.meet-iconbtn{
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.78);
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
  pointer-events: auto;
}
.meet-iconbtn--overlay:hover{ background:#fff; }
.meet-iconbtn.dropdown-toggle::after{ display:none !important; }

/* -------------------------
   Swipe top-right actions
-------------------------- */
.meet-swipe-top-actions{
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 20;
  display: flex;
  gap: .45rem;
}

/* -------------------------
   Swipe action row
   (Go Back shrink-to-fit; other two share space)
-------------------------- */
.meet-swipe-actions{
  display: flex;
  gap: .5rem;
  align-items: stretch;
}
.meet-swipe-actions .btnMeetRewind{
  flex: 0 0 auto;
  white-space: nowrap;
}
.meet-swipe-actions .btnSwipe{
  flex: 1 1 0;
  min-width: 0;
}

/* -------------------------
   Swipe card (Owl-safe)
-------------------------- */
.meet-swipe-wrap{
  width: min(600px, 100%);
  margin: 0 auto;
}
.meet-swipe-card{
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: .5rem;
  overflow: hidden;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.meet-swipe-media{
  position: relative;
  overflow: hidden;
  background: #000;
}
.meet-swipe-ratio{
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.meet-swipe-ratio img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.meet-swipe-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 14px 14px 12px 14px;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.15), rgba(0,0,0,0));
}
.meet-swipe-overlay .meet-swipe-name,
.meet-swipe-overlay .meet-swipe-sub{
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}
.meet-swipe-media .owl-dots{ display: none !important; }

/* -------------------------
   Empty swipe state
-------------------------- */
.meet-empty-swipe{
  max-width: 520px;
  margin: 0 auto;
}

/* -------------------------
   Custom tab bar (no nav-tabs)
-------------------------- */
.meet-tabbar{
  display: flex;
  align-items: center;
  gap: .6rem;
  overflow: visible;
  margin-bottom: .75rem;
  position: relative;
  z-index: 5;
}
.meet-tabbar-scroll{
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.meet-tabbar-scroll::-webkit-scrollbar{ display:none; }
.meet-tablist{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .45rem;
  padding: .65rem .35rem;
  position: relative;
}

/* Tab buttons (white pills + subtle 1px border) */
.meet-tabbtn{
  border-radius: 999px;
  padding: .58rem .98rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
  line-height: 1.1;
  box-sizing: border-box;
  text-decoration: none !important;
  font-weight: 700;
  transform: none !important;

  background: #fff !important;
  color: rgba(0,0,0,.82) !important;
  border: 1px solid rgba(0,0,0,.14) !important;

  box-shadow:
    0 1px 0 rgba(255,255,255,.65) inset,
    0 2px 10px rgba(0,0,0,.06);

  transition: background .12s ease, color .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.meet-tabbtn:hover{
  transform: none !important;
  background: #fff !important;
  border-color: rgba(0,0,0,.22) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.65) inset,
    0 4px 14px rgba(0,0,0,.08);
}
.meet-tabbtn.active{
  background: #fff !important;
  color: rgba(0,0,0,.88) !important;
  border-color: rgba(0,0,0,.14) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.65) inset,
    0 2px 10px rgba(0,0,0,.06),
    inset 0 0 0 1px var(--bs-primary, #0d6efd);
}
.meet-tabbtn i{
  width: 1.1rem;
  text-align: center;
  opacity: .9;
}
.meet-tabbtn:focus,
.meet-tabbtn:focus-visible{
  outline: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,.65) inset,
    0 2px 10px rgba(0,0,0,.06),
    inset 0 0 0 1px var(--bs-primary, #0d6efd);
}

/* More dropdown */
.meet-more{
  flex: 0 0 auto;
  position: relative;
  z-index: 9999;
}
.meet-more .dropdown-toggle::after{ margin-left: .35rem; }
.meet-more-menu{
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.10);
  padding: .4rem;
  z-index: 99999;
}
.meet-more-menu .dropdown-item{
  border-radius: 10px;
  padding: .55rem .65rem;
  font-weight: 600;
}
.meet-more-menu .dropdown-item:hover{ background: rgba(13,110,253,.10); }
.meet-more-menu .dropdown-item i{ width: 1.1rem; text-align:center; opacity:.9; }

/* Dark mode (theme uses html.dark) */
html.dark .meet-tabbtn{
  background: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.86) !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 2px 10px rgba(0,0,0,.25);
}
html.dark .meet-tabbtn:hover{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.24) !important;
}
html.dark .meet-tabbtn.active{
  color: rgba(255,255,255,.92) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 2px 10px rgba(0,0,0,.25),
    inset 0 0 0 1px var(--bs-primary, #0d6efd);
}
html.dark .meet-more-menu{
  background: #15171a;
  border-color: rgba(255,255,255,.10);
}
html.dark .meet-more-menu .dropdown-item{ color: rgba(255,255,255,.86); }
html.dark .meet-more-menu .dropdown-item:hover{ background: rgba(13,110,253,.18); }

/* -------------------------
   Toast overlay (match + message sent)
   JS toggles: .is-show
-------------------------- */
.meet-match-toast{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
  z-index: 10650;
}
.meet-match-toast.is-show{
  opacity: 1;
  pointer-events: auto;
}
.meet-match-toast__card{
  width: min(360px, 100%);
  text-align: center;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  padding: 16px 18px;
}
.meet-match-toast__title{
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.meet-match-toast__sub{
  font-weight: 600;
  opacity: .75;
}
html.dark .meet-match-toast__card{
  background: rgba(20,22,25,.96);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}

/* =========================================================
   Full-screen profile overlay (REQUIRED)
   - If missing, overlay appears at page bottom.
   ========================================================= */

.meet-profile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.50);
  display: none;
  z-index: 20000;

  overflow: hidden;               /* prevent page behind scrolling */
  overscroll-behavior: contain;   /* reduce scroll chaining */
  touch-action: pan-y;            /* helps mobile scrolling */
}
.meet-profile-overlay.is-open{ display: block; }

.meet-profile-shell{
  position: absolute;
  inset: 16px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;

  display: flex;                  /* needed for internal scrolling */
  flex-direction: column;
}

.meet-profile-content{
  flex: 1 1 auto;
  min-height: 0;                  /* CRITICAL for flex scrolling */
  overflow: hidden;               /* contain scroll to inner areas */
}

/* Lock background scroll while overlay open */
body.meet-overlay-open{
  overflow: hidden;
  height: 100vh;                  /* helps iOS/Safari */
}

/* Mobile: full-screen shell */
@media (max-width: 991.98px){
  .meet-profile-shell{
    inset: 0;
    border-radius: 0;
  }

  /* On mobile, make the overlay content itself the single scroll container */
  .meet-profile-content{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   Meet profile overlay v3 layout (content)
   ========================================================= */

.meet-profile-v3{
  display:flex;
  height:100%;
  width:100%;
  background:#fff;
}

.meet-profile-v3-left{
  flex:0 0 50%;
  min-width:0;
  background:#000;
  display:flex;
  flex-direction:column;
}

.meet-profile-left-head{
  padding:14px 14px 10px 14px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.meet-profile-name{
  font-weight:900;
  font-size:28px;
  line-height:1.1;
}
.meet-profile-age{
  font-weight:800;
  opacity:.92;
}
.meet-profile-meta{
  margin-top:6px;
  opacity:.85;
  font-size:16px;
  line-height:1.25;
}
.meet-profile-close{
  width:40px;
  height:40px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  color:#111;
  text-decoration:none !important;
  flex:0 0 auto;
}

.meet-profile-photoWrap{
  flex:1 1 auto;
  min-height:0;
  background:#000;
}

.meet-profile-carousel,
.meet-profile-carousel .owl-stage-outer,
.meet-profile-carousel .owl-stage,
.meet-profile-carousel .owl-item{
  height:100%;
}
.meet-profile-carousel .owl-item img{
  height:100%;
  width:100%;
  object-fit:cover;
  display:block;
}

.meet-profile-left-foot{
  padding:12px 14px 14px 14px;
  background:#000;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.meet-profile-actions{
  display:flex;
  gap:.45rem;
  flex-wrap:wrap;
}

.meet-profile-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
}

/* Desktop: right side scrolls */
.meet-profile-v3-right{
  flex:1 1 50%;
  min-width:0;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  min-height:0;
  padding:16px 18px;
  background:#fff;
}

/* Mobile: stack in normal flow; photo clamped; ONE scroll (on .meet-profile-content) */
@media (max-width: 991.98px){
  .meet-profile-v3{
    flex-direction:column;
    height:auto;            /* prevent overlap */
    min-height:100%;
  }

  .meet-profile-v3-left{
    flex:0 0 auto;
  }

  .meet-profile-photoWrap{
    flex:0 0 auto;
    height:clamp(260px, 46vh, 420px);
  }

  .meet-profile-v3-right{
    overflow:visible;       /* flow inside .meet-profile-content scroll */
    padding:14px 14px;
  }
}

/* -------------------------
   Meet Profile Photos (square tiles + clean sortable placeholder)
   Replace the entire previous Meet Profile Photos block with this.
-------------------------- */

/* Tile wrapper (photo tiles) */
.meet-photo-tile{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;          /* force square */
}

/* Photo fill */
.meet-photo-tile img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Action buttons (top-right) */
.meet-photo-actions{
  position: absolute;
  top: .45rem;
  right: .45rem;
  display: flex;
  gap: .35rem;
  z-index: 5;
}
.meet-photo-drag{ cursor: grab; }

/* -------------------------
   Dropzone tile (ONLY this gets the dashed border)
-------------------------- */
.meet-photo-dropzone.dropzone{
  position: relative;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;

  aspect-ratio: 1 / 1;          /* square */
  min-height: 0;                /* override Dropzone default min height */

  border: 2px dashed rgba(0,0,0,.22);
  background: rgba(0,0,0,.02);
}

/* Center the "Add photos" content */
.meet-photo-dropzone .dz-message{
  margin: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMPORTANT:
   No border/background here so we don't get a second dashed box */
.meet-photo-placeholder{
  border: 0;
  background: transparent;
  width: 100%;
  text-align: center;
}

/* Hide dropzone previews (you commit immediately) */
.meet-photo-dropzone .dz-preview{ display:none; }

.meet-photo-dropzone.dz-disabled{
  opacity: .55;
  pointer-events: none;
}

/* -------------------------
   Sortable placeholder (keep the correct square height, no “extra row” look)
-------------------------- */


/* While dragging, keep helper square + same styling */
.meet-photo-drag-helper{
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
  height: auto;
}
.meet-photo-drag-helper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fix: sortable placeholder becomes tall because width changes during drag.
   Force the placeholder height to match its computed width (square). */

/* Keep the placeholder square even when the grid recalculates */
.meet-photo-sort-placeholder{
  height: auto;
  min-height: 0;
}

/* Create an intrinsic square using padding (stable across drag/layout) */
.meet-photo-sort-placeholder::before{
  content:"";
  display:block;
  padding-top:100%;                /* square */
}

/* Keep the visual style on the placeholder itself */
.meet-photo-sort-placeholder{
  position: relative;
  border: 2px dashed rgba(0,0,0,.18);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
  overflow: hidden;
}

/* Any children (jQuery UI may inject) should not affect layout */
.meet-photo-sort-placeholder > *{
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Optional: ensure each grid cell doesn’t stretch in height (Bootstrap row can)
   Only applies to your photo grid container. */
#meetPhotoGrid > .meet-photo-item,
#meetPhotoGrid > .meet-photo-dropzoneWrap{
  align-self: flex-start;
}


.meet-tabs{
  display:flex;
  gap:0;
  flex-wrap:wrap;
  padding:0;
  margin:0;
  list-style:none;
}

.meet-tabs .meet-tabbtn{ cursor:pointer; }

.meet-pane{ display:none; }
.meet-pane.is-active{ display:block; }

/* =========================================================
   Sub-tabs (Profile + Criteria)
   - Grey rounded tab buttons + overflow fade (right edge)
   - JS toggles: .is-overflowing / .is-at-end on the <ul>
   - Does not affect the main Meet tabbar
   ========================================================= */

#profileTab.meet-tabs,
#criteriaTab.meet-tabs{
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  margin: 0 0 0 0;
  gap: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  /* for fade overlay */
  position: relative;
}
#profileTab.meet-tabs::-webkit-scrollbar,
#criteriaTab.meet-tabs::-webkit-scrollbar{ display:none; }

#profileTab .meet-tabitem,
#criteriaTab .meet-tabitem{
  margin: 0;
  flex: 0 0 auto;
}
/* Wrapper holds the fixed fades */
.meet-subtabs-wrap{
  position: relative;
  overflow: hidden; /* clip the gradient overlays */
}

/* The actual scroller */
.meet-subtabs-wrap > .meet-tabs{
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox hide */
}
.meet-subtabs-wrap > .meet-tabs::-webkit-scrollbar{ display:none; }

/* Right fade: only when content hidden to the right */
.meet-subtabs-wrap.is-overflowing:not(.is-at-end)::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:65px;
  height:100%;
  pointer-events:none;
  z-index: 3;
  background: linear-gradient(to left, var(--bs-body-bg, #fff), rgba(255,255,255,0));
}

/* Left fade: only when content hidden to the left */
.meet-subtabs-wrap.is-overflowing:not(.is-at-start)::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:65px;
  height:100%;
  pointer-events:none;
  z-index: 3;
  background: linear-gradient(to right, var(--bs-body-bg, #fff), rgba(255,255,255,0));
}

/* Dark mode (use body bg var, but fall back safely) */
html.dark .meet-subtabs-wrap.is-overflowing:not(.is-at-end)::after{
  background: linear-gradient(to left, var(--bs-body-bg, #181818), rgba(0,0,0,0));
}
html.dark .meet-subtabs-wrap.is-overflowing:not(.is-at-start)::before{
  background: linear-gradient(to right, var(--bs-body-bg, #181818), rgba(0,0,0,0));
}

/* Grey rounded buttons */
#profileTab .meet-tabbtn,
#criteriaTab .meet-tabbtn{
  background: rgba(0,0,0,.10) !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  box-shadow: none !important;

  padding: .58rem .85rem !important;
  font-weight: 800;
  color: rgba(0,0,0,.72) !important;

  /* reset rounding; apply only to ends */
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;

  cursor: pointer;
}

/* No double borders between adjacent buttons (buttons live inside li) */
#profileTab .meet-tabitem + .meet-tabitem .meet-tabbtn,
#criteriaTab .meet-tabitem + .meet-tabitem .meet-tabbtn{
  border-left: 0 !important;
}

/* First/last button: round top outer corners only */
#profileTab .meet-tabitem:first-child .meet-tabbtn,
#criteriaTab .meet-tabitem:first-child .meet-tabbtn{
  border-top-left-radius: 12px !important;
}
#profileTab .meet-tabitem:last-child .meet-tabbtn,
#criteriaTab .meet-tabitem:last-child .meet-tabbtn{
  border-top-right-radius: 12px !important;
}

/* Hover */
#profileTab .meet-tabbtn:hover,
#criteriaTab .meet-tabbtn:hover{
  background: rgba(0,0,0,.15) !important;
  border-color: rgba(0,0,0,.16) !important;
  color: rgba(0,0,0,.86) !important;
}

/* Active: subtle blue ring + lighter bg */
#profileTab .meet-tabbtn.is-active,
#profileTab .meet-tabbtn.active,
#criteriaTab .meet-tabbtn.is-active,
#criteriaTab .meet-tabbtn.active{
  background: rgba(13,110,253,.10) !important;
  border-color: rgba(13,110,253,.35) !important;
  color: rgba(0,0,0,.92) !important;
  box-shadow: inset 0 0 0 1px var(--bs-primary, #0d6efd) !important;
}

/* Keyboard focus: obvious ring */
#profileTab .meet-tabbtn:focus-visible,
#criteriaTab .meet-tabbtn:focus-visible{
  outline: none;
  box-shadow:
    inset 0 0 0 1px var(--bs-primary, #0d6efd) !important,
    0 0 0 3px rgba(13,110,253,.25) !important;
}

/* Give panes a little breathing room from the tabs */
#profileTabContent.meet-tabpanes,
#criteriaTabContent.meet-tabpanes{
  padding-top: .25rem;
}

/* Dark mode */
html.dark #profileTab .meet-tabbtn,
html.dark #criteriaTab .meet-tabbtn{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.78) !important;
}
html.dark #profileTab .meet-tabbtn:hover,
html.dark #criteriaTab .meet-tabbtn:hover{
  background: rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.90) !important;
}
html.dark #profileTab .meet-tabbtn.is-active,
html.dark #profileTab .meet-tabbtn.active,
html.dark #criteriaTab .meet-tabbtn.is-active,
html.dark #criteriaTab .meet-tabbtn.active{
  background: rgba(13,110,253,.20) !important;
  border-color: rgba(13,110,253,.40) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: inset 0 0 0 1px var(--bs-primary, #0d6efd) !important;
}

/* =========================================================
   Meet Profile Photos - Dropzone in-tile progress overlay
   ========================================================= */

.meet-photo-dropzone.dropzone{
  position: relative; /* ensure overlay can anchor */
}

/* Full-tile overlay */
.meet-photo-dzOverlay{
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(2px);
}

/* Dark mode */
html.dark .meet-photo-dzOverlay{
  background: rgba(0,0,0,.55);
}

/* Center card inside overlay */
.meet-photo-dzOverlayCard{
  width: min(260px, 90%);
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  text-align: center;
}
html.dark .meet-photo-dzOverlayCard{
  background: rgba(20,22,25,.94);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
}

/* Progress + spinner */
.meet-photo-dzOverlayProgress{
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.meet-photo-dzOverlayText{
  font-weight: 700;
  opacity: .85;
}

/* Retry button spacing */
.meet-photo-dzOverlayRetry{
  margin-top: 8px;
}

/* Ensure overlay doesn't break "Add photos" tile sizing */
.meet-photo-dropzone .dz-message{
  position: absolute;
  inset: 0;
}

/* Hide Dropzone default UI (red error labels / checkmarks / progress) in the Meet Photo tile */
#meetPhotoDropzone .dz-error-message,
#meetPhotoDropzone .dz-error-mark,
#meetPhotoDropzone .dz-success-mark,
#meetPhotoDropzone .dz-progress{
  display: none !important;
}

/* Keep tile border consistent even when Dropzone adds dz-error/dz-success classes */
#meetPhotoDropzone.dz-error,
#meetPhotoDropzone.dz-success,
#meetPhotoDropzone.dz-complete{
  border-color: rgba(0,0,0,.22) !important;
}

.meet-swipe-media { position: relative; }

.meet-swipe-gesture{
  position:absolute;
  inset:0;
  padding:1rem;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  pointer-events:none;
  z-index:25;
}

.meet-swipe-gesture-badge{
  font-weight:900;
  letter-spacing:.12em;
  font-size:2.05rem;
  padding:.25rem .7rem;
  border-radius:.9rem;
  border:4px solid currentColor;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
  opacity:0;
  transform: scale(.92);
  transition: opacity 80ms linear, transform 80ms linear;
  text-transform: uppercase;
}

.meet-swipe-gesture-like{ color: var(--bs-success); transform: rotate(-12deg) scale(.92); }
.meet-swipe-gesture-pass{ color: var(--bs-danger);  transform: rotate(12deg)  scale(.92); }

.meet-swipe-dragging{
  user-select:none;
}

.meet-swipe-dragging img{
  -webkit-user-drag:none;
  user-drag:none;
}

/* Auto-columns, no label wrapping, columns expand to content */
.checkbox-group--cols{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, max-content));
  gap: .25rem 1.25rem;
  align-items: start;

  /* If one label is absurdly long, allow horizontal scroll instead of wrapping */
  overflow-x: auto;
  padding-bottom: .25rem;
}

/* Each checkbox container should be only as wide as its content */
.checkbox-group--cols > .form-check{
  width: max-content;
  margin: 0 !important; /* remove any accidental margins affecting grid gaps */
}

/* Never wrap labels */
.checkbox-group--cols .form-check-label{
  white-space: nowrap;
}

/* Make "All" occupy a full row */
.checkbox-group--cols .checkbox-all{
  grid-column: 1 / -1;
}