/*
Theme Name: BuddyBoss Child
Theme URI: https://www.buddyboss.com/
Description: Child theme for BuddyBoss Theme
Author: Labgenz
Author URI: https://mlmmasteryclub.com/
Template: buddyboss-theme
Version: 1.0.5
*/

/* Footer full-width override */
.bb-footer .mlmmc-footer-fullwidth-container {
  width: 100%;
  max-width: 100% !important;
}

.bb-footer .mlmmc-footer-fullwidth-container.flex,
.bb-footer .mlmmc-footer-fullwidth-container {
  padding-left: 20px;
  padding-right: 20px;
}

/* Make footer menu/copyright block take the full row */
.footer-bottom .mlmmc-footer-fullwidth-container.flex {
  flex-wrap: wrap;
}

.footer-bottom .mlmmc-footer-fullwidth-container .footer-bottom-left {
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom .mlmmc-footer-fullwidth-container .footer-bottom-left .footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.footer-bottom .mlmmc-footer-fullwidth-container .footer-bottom-left .copyright,
.footer-bottom .mlmmc-footer-fullwidth-container .footer-bottom-left .footer-copyright-wrap {
  text-align: center;
}

.footer-bottom .mlmmc-footer-fullwidth-container .footer-bottom-right.push-right:empty {
  display: none;
}

/* ── Zoom Calendar View ───────────────────────────────────────────────────── */
.bb-zoom-cal-wrap {
  margin-bottom: 20px;
}

/* Toggle button */
.bb-zoom-cal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-headings-color, #1E2132);
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.bb-zoom-cal-toggle:hover,
.bb-zoom-cal-toggle--open {
  background: var(--bb-primary-color, #16697A);
  color: #fff;
  border-color: var(--bb-primary-color, #16697A);
}
.bb-zoom-cal-chevron {
  transition: transform 0.2s;
}
.bb-zoom-cal-toggle--open .bb-zoom-cal-chevron {
  transform: rotate(180deg);
}

/* Calendar container */
.bb-zoom-cal {
  background: #fff;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Month nav */
.bb-zoom-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bb-content-border-color, #D6D9DD);
}
.bb-zoom-cal-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--bb-headings-color, #1E2132);
}
.bb-zoom-cal-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--bb-body-text-color, #5A5A5A);
  font-size: 16px;
  transition: background 0.15s;
}
.bb-zoom-cal-nav-btn:hover {
  background: var(--bb-content-alternate-background-color, #F2F4F5);
}

/* Days-of-week header */
.bb-zoom-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  border-bottom: 1px solid var(--bb-content-border-color, #D6D9DD);
}
.bb-zoom-cal-dow span {
  text-align: center;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bb-alternate-text-color, #9B9C9F);
}

/* Grid cells */
.bb-zoom-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.bb-zoom-cal-cell {
  min-height: 92px;
  padding: 10px;
  border-right: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-bottom: 1px solid var(--bb-content-border-color, #D6D9DD);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bb-zoom-cal-cell:nth-child(7n) {
  border-right: none;
}
.bb-zoom-cal-cell--blank {
  background: var(--bb-content-alternate-background-color, #F2F4F5);
}
.bb-zoom-cal-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-body-text-color, #5A5A5A);
  line-height: 1;
}
.bb-zoom-cal-cell--today .bb-zoom-cal-day {
  background: var(--bb-primary-color, #16697A);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-zoom-cal-cell--has-event {
  cursor: pointer;
  background: #fff;
}
.bb-zoom-cal-cell--has-event:hover {
  background: var(--bb-content-alternate-background-color, #F2F4F5);
}
.bb-zoom-cal-cell--has-event:focus-visible {
  outline: 2px solid var(--bb-primary-color, #16697A);
  outline-offset: -2px;
  z-index: 1;
}
.bb-zoom-cal-cell--selected {
  background: var(--bb-content-alternate-background-color, #F2F4F5) !important;
}

/* Randomized per-day accent colors */
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-blue   { box-shadow: inset 3px 0 0 0 #3B82F6; }
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-green  { box-shadow: inset 3px 0 0 0 #22C55E; }
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-red    { box-shadow: inset 3px 0 0 0 #EF4444; }
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-purple { box-shadow: inset 3px 0 0 0 #A855F7; }
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-orange { box-shadow: inset 3px 0 0 0 #F97316; }
.bb-zoom-cal-cell--has-event.bb-zoom-cal-cell--color-teal   { box-shadow: inset 3px 0 0 0 #14B8A6; }

.bb-zoom-cal-cell--color-blue   .bb-zoom-cal-count { background: #3B82F6; }
.bb-zoom-cal-cell--color-green  .bb-zoom-cal-count { background: #22C55E; }
.bb-zoom-cal-cell--color-red    .bb-zoom-cal-count { background: #EF4444; }
.bb-zoom-cal-cell--color-purple .bb-zoom-cal-count { background: #A855F7; }
.bb-zoom-cal-cell--color-orange .bb-zoom-cal-count { background: #F97316; }
.bb-zoom-cal-cell--color-teal   .bb-zoom-cal-count { background: #14B8A6; }

.bb-zoom-cal-cell--color-blue   .bb-zoom-cal-title { color: #3B82F6; }
.bb-zoom-cal-cell--color-green  .bb-zoom-cal-title { color: #22C55E; }
.bb-zoom-cal-cell--color-red    .bb-zoom-cal-title { color: #EF4444; }
.bb-zoom-cal-cell--color-purple .bb-zoom-cal-title { color: #A855F7; }
.bb-zoom-cal-cell--color-orange .bb-zoom-cal-title { color: #F97316; }
.bb-zoom-cal-cell--color-teal   .bb-zoom-cal-title { color: #14B8A6; }

/* Single-meeting title shown directly in the cell instead of a count badge */
.bb-zoom-cal-title {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.bb-zoom-cal-count {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bb-primary-color, #16697A);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Popup → now a proper modal overlay */
.bb-zoom-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(30, 33, 50, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bb-zoom-modal-overlay[hidden] { display: none; }

.bb-zoom-modal {
  background: #fff;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(30, 33, 50, 0.22);
  width: 100%;
  max-width: 640px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bb-zoom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #fff;
  color: var(--bb-headings-color, #1E2132);
  border-bottom: 1px solid var(--bb-content-border-color, #D6D9DD);
  flex-shrink: 0;
}
.bb-zoom-modal-date {
  font-size: 17px;
  font-weight: 700;
  color: var(--bb-headings-color, #1E2132);
}
.bb-zoom-modal-close {
  width: 34px;
  height: 34px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  cursor: pointer;
  color: var(--bb-body-text-color, #5A5A5A);
  font-size: 16px;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
}
.bb-zoom-modal-close:hover { color: #fff; background: var(--bb-primary-color, #16697A); border-color: var(--bb-primary-color, #16697A); }

.bb-zoom-modal-body {
  overflow-y: auto;
  padding: 18px 20px 20px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
}
.bb-zoom-modal-context {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 12px;
  color: var(--bb-alternate-text-color, #9B9C9F);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bb-zoom-modal-context strong {
  color: var(--bb-primary-color, #16697A);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

/* Each meeting row */
.bb-zoom-modal-meeting {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.bb-zoom-modal-meeting:last-child { margin-bottom: 0; }

.bb-zoom-modal-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bb-zoom-modal-time {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  color: var(--bb-headings-color, #1E2132);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.bb-zoom-modal-summary-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.bb-zoom-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bb-headings-color, #1E2132);
  line-height: 1.25;
}
.bb-zoom-modal-meta {
  font-size: 12px;
  color: var(--bb-alternate-text-color, #9B9C9F);
}
.bb-zoom-modal-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* "View details" toggle */
.bb-zoom-details-toggle {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--bb-body-text-color, #5A5A5A);
  padding: 8px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.bb-zoom-details-toggle i {
  font-size: 11px;
  transition: transform 0.2s;
}
.bb-zoom-details-toggle--open i {
  transform: rotate(180deg);
}
.bb-zoom-details-toggle:hover { border-color: var(--bb-primary-color, #16697A); color: var(--bb-primary-color, #16697A); }

/* Details panel */
.bb-zoom-modal-details {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  border-radius: 8px;
}
.bb-zoom-modal-details[hidden] { display: none; }

.bb-zoom-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--bb-body-text-color, #5A5A5A);
  padding: 4px 0;
  border-bottom: 1px solid var(--bb-content-border-color, #D6D9DD);
}
.bb-zoom-detail-row:last-of-type { border-bottom: none; }
.bb-zoom-detail-row span:first-child { font-weight: 600; color: var(--bb-alternate-text-color, #9B9C9F); }

.bb-zoom-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 15px;
  background: var(--bb-primary-color, #16697A);
  color: #fff !important;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.bb-zoom-join-btn:hover { background: var(--bb-primary-button-background-hover, #1E8AA4); color: #fff !important; }

.bb-zoom-recordings-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 7px;
  background: #fff;
  color: var(--bb-body-text-color, #5A5A5A);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}
.bb-zoom-recordings-toggle:hover { border-color: var(--bb-primary-color, #16697A); color: var(--bb-primary-color, #16697A); }
.bb-zoom-recordings-toggle i:last-child {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.bb-zoom-recordings-toggle--open i:last-child { transform: rotate(180deg); }

.bb-zoom-recordings-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.bb-zoom-recordings-list[hidden] { display: none; }
.bb-zoom-recording-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 7px;
  background: #fff;
}
.bb-zoom-recording-info {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.bb-zoom-recording-title {
  color: var(--bb-headings-color, #1E2132);
  font-size: 12px;
  font-weight: 700;
}
.bb-zoom-recording-meta {
  color: var(--bb-alternate-text-color, #9B9C9F);
  font-size: 11px;
  line-height: 1.35;
}
.bb-zoom-recording-btn {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bb-primary-color, #16697A);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.bb-zoom-recording-btn:hover { color: #fff !important; background: var(--bb-primary-button-background-hover, #1E8AA4); }

/* View switch (calendar / list) */
.bb-zoom-cal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.bb-zoom-view-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  margin-bottom: 12px;
}
.bb-zoom-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-body-text-color, #5A5A5A);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.bb-zoom-view-btn:hover { color: var(--bb-primary-color, #16697A); }
.bb-zoom-view-btn--active {
  background: #fff;
  color: var(--bb-primary-color, #16697A);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* List view */
.bb-zoom-list[hidden] { display: none; }
.bb-zoom-list {
  background: #fff;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 8px;
  padding: 16px 18px;
}
.bb-zoom-list-section + .bb-zoom-list-section { margin-top: 22px; }
.bb-zoom-list-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bb-headings-color, #1E2132);
}
.bb-zoom-list-heading span {
  padding: 1px 8px;
  border-radius: 10px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  font-size: 11px;
  color: var(--bb-alternate-text-color, #9B9C9F);
}
.bb-zoom-list-date {
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bb-alternate-text-color, #9B9C9F);
}
.bb-zoom-list .bb-zoom-modal-meeting {
  margin-bottom: 10px;
}
.bb-zoom-list-empty {
  margin: 0;
  padding: 10px 0;
  color: var(--bb-alternate-text-color, #9B9C9F);
  font-size: 13px;
}
.bb-zoom-cal-note {
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid var(--bb-content-border-color, #D6D9DD);
  color: var(--bb-alternate-text-color, #9B9C9F);
  font-size: 13px;
  text-align: center;
}

/* Manual recording upload */
.bb-zoom-upload-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid var(--bb-primary-color, #16697A);
  background: #fff;
  color: var(--bb-primary-color, #16697A);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.bb-zoom-upload-open:hover {
  background: var(--bb-primary-color, #16697A);
  color: #fff;
}
.bb-zoom-upload-form {
  display: grid;
  gap: 14px;
}
.bb-zoom-upload-hint {
  margin: 0;
  color: var(--bb-alternate-text-color, #9B9C9F);
  font-size: 12px;
  line-height: 1.5;
}
.bb-zoom-upload-field {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-headings-color, #1E2132);
}
.bb-zoom-upload-field input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--bb-content-border-color, #D6D9DD);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
}
.bb-zoom-upload-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bb-zoom-upload-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  overflow: hidden;
}
.bb-zoom-upload-progress[hidden] { display: none; }
.bb-zoom-upload-progress-bar {
  width: 0;
  height: 100%;
  background: var(--bb-primary-color, #16697A);
  transition: width 0.2s;
}
.bb-zoom-upload-feedback {
  margin: 0;
  font-size: 12px;
  color: var(--bb-alternate-text-color, #9B9C9F);
}
.bb-zoom-upload-feedback--ok { color: #22C55E; }
.bb-zoom-upload-feedback--error { color: #EF4444; }
.bb-zoom-upload-actions {
  display: flex;
  justify-content: flex-end;
}
.bb-zoom-detail-notice {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bb-content-alternate-background-color, #F2F4F5);
  color: var(--bb-body-text-color, #5A5A5A);
  font-size: 12px;
}

@media (max-width: 640px) {
  .bb-zoom-upload-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bb-zoom-cal-cell {
    min-height: 74px;
    padding: 7px;
  }
  .bb-zoom-cal-count {
    right: 5px;
    bottom: 5px;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .bb-zoom-cal-title {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }
  .bb-zoom-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .bb-zoom-modal {
    max-height: 88vh;
    border-radius: 8px 8px 0 0;
  }
  .bb-zoom-modal-header {
    padding: 18px;
  }
  .bb-zoom-modal-body {
    padding: 14px;
  }
  .bb-zoom-modal-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .bb-zoom-modal-time {
    min-width: 0;
  }
  .bb-zoom-modal-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ── Mobile panel: profile + orders quick-link row ── */
.bb-user-wrap-stacked {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px;
}
.bb-mobile-user-quicklinks {
    width: 300px;
}
.bb-user-wrap-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bb-mobile-user-quicklinks {
  display: flex;
  gap: 8px;
  padding: 10px 12px 6px;
}
.bb-mobile-quicklink {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: inherit;
  transition: background 0.2s ease;
}
.bb-mobile-quicklink:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
  color: inherit;
}
.bb-mobile-quicklink i {
  font-size: 15px;
}

/* Add your custom styles below this line */

/* BuddyPanel native styles (replaces Tailwind utilities) */
.bp-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0 auto 10px;
}

.bp-toggle-btn:hover {
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

.bp-toggle-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.bp-toggle-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: transform 0.3s ease;
}

.bp-card {
  padding: 16px 12px 8px;
  margin: 16px 8px 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.bp-group-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
  margin-bottom: 6px;
  word-break: break-word;
}

.bp-group-name {
  padding-bottom: 4px;
}

.bp-group-label {
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.bp-hint {
  font-size: 12px;
  color: #94a3b8;
  padding-bottom: 8px;
}

.bp-select-wrapper {
  position: relative;
  padding-bottom: 4px;
}

.bp-select {
  width: 100%;
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 10px 38px 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.bp-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.bp-hidden {
  display: none;
}

.bp-select-icon {
  pointer-events: none;
  position: absolute;
  inset: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: #94a3b8;
}

.bp-select-icon-svg {
  width: 16px;
  height: 16px;
}

.bp-nav-links {
  margin-top: 12px;
  padding: 0 8px;
}

.bp-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  font-size: 14px;
  color: #94a3b8;
}

.bp-spinner {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  animation: bp-spin 1s linear infinite;
}

@keyframes bp-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.bp-empty {
  padding: 12px;
  font-size: 14px;
  color: #94a3b8;
}

.bp-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f5f9;
}

.bb-template-v2 .buddypanel {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.bp-menu-item {
  padding: 2px 0;
  border-radius: 10px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.bp-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 5px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.bp-menu-link--restricted {
  color: #cbd5e1;
  cursor: not-allowed;
  background: transparent;
}

.bp-menu-link--restricted:hover {
  background: transparent;
  color: #cbd5e1;
}

.bp-menu-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: white;
  flex-shrink: 0;
}

.bp-menu-icon--restricted {
  color: #cbd5e1;
}

.bp-menu-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-restricted-icon {
  flex-shrink: 0;
  color: #cbd5e1;
  font-size: 12px;
}

/* ============================================================
   Desktop header: bigger logo, tighter logo container,
   menu takes the majority of the header width.
   min-width: 800px matches BuddyBoss's own breakpoint.
   ============================================================ */
   .site-title img.bb-mobile-logo {
       width: 145px !important;
       height: auto !important;
       max-height: none !important;
   }

   .site-title img {
      padding: 0px !important;
      /* object-fit: contain; */
  }
  .site-branding{
    padding: 0px !important;
  }
@media screen and (max-width: 799px) {
  .site-title img.bb-mobile-logo,
  .site-title img.bb-logo {
    width: 60px !important;
    max-width: 90px !important;
    height: auto !important;
  }
}

ul#primary-menu {
    width: 90%;
}
@media screen and (min-width: 800px) {
  /* Shrink the padding that creates dead space beside the logo */
  .site-branding {
    padding-right: 12px;
    min-width: 0;
  }


  /* Allow the logo image to be taller/wider */
  .site-title img,
  #site-logo .site-title img.bb-logo {
    max-height: 56px;
    min-height: 48px;
    width: auto;
    max-width: 180px;
  }

  /* Navigation already uses flex:1; reinforce it and give it priority */
  .default-header .main-navigation {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ── Discussions: Unsubscribe CTA ── */
.bb-unsub-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    background: transparent;
    color: #e05252;
    border-color: #e05252;
    line-height: 1.4;
    transition: background 0.18s, color 0.18s, opacity 0.18s, transform 0.12s;
    vertical-align: middle;
    white-space: nowrap;
}
.bb-unsub-btn::before {
    content: "\2715";
    font-size: 10px;
    line-height: 1;
}
.bb-unsub-btn:hover:not(:disabled) {
    background: #e05252;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224,82,82,.35);
}
.bb-unsub-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}
.bb-unsub-btn--loading {
    opacity: 0.45;
    cursor: default;
}
.bb-unsub-btn--loading::before {
    content: "\21BB";
    display: inline-block;
    animation: bb-spin 0.7s linear infinite;
}
@keyframes bb-spin {
    to { transform: rotate(360deg); }
}
/* fade-out animation when unsubscribed */
@keyframes bb-row-fade {
    from { opacity: 1; transform: scaleY(1); max-height: 200px; }
    to   { opacity: 0; transform: scaleY(0); max-height: 0;   }
}
.bb-unsub-fade {
    animation: bb-row-fade 0.35s ease forwards;
    overflow: hidden;
    transform-origin: top;
}

/* ── Discussions: Admin view switcher dropdown ── */
.bb-discussions-view-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.bb-dsv-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}
.bb-dsv-dropdown {
    position: relative;
    display: inline-block;
}
.bb-dsv-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1.5px solid #c7c7d1;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.bb-dsv-trigger:hover,
.bb-dsv-dropdown.bb-dsv-open .bb-dsv-trigger {
    border-color: var(--bb-primary-button-background-regular, #6366f1);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
    outline: none;
}
.bb-dsv-caret {
    font-size: 10px;
    transition: transform 0.18s;
}
.bb-dsv-dropdown.bb-dsv-open .bb-dsv-caret {
    transform: rotate(180deg);
}
.bb-dsv-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1.5px solid #e0e0ea;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    padding: 4px 0;
    margin: 0;
    list-style: none;
    z-index: 999;
}
.bb-dsv-dropdown.bb-dsv-open .bb-dsv-menu {
    display: block;
    animation: bb-dsv-pop 0.14s ease;
}
@keyframes bb-dsv-pop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bb-dsv-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
.bb-dsv-menu li a:hover {
    background: #f4f4f8;
    color: var(--bb-primary-button-background-regular, #6366f1);
}
.bb-dsv-menu li a.bb-dsv-active {
    font-weight: 700;
    color: var(--bb-primary-button-background-regular, #6366f1);
    background: #f0f0fb;
}

/* Mobile menu organization styles */
.bb-mobile-panel-inner .mobile-org-select-container {
	padding: 10px 15px;
}

.bb-mobile-panel-inner .mobile-org-select-container label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	opacity: 0.8;
}

.bb-mobile-panel-inner .mobile-org-select {
	width: 100%;
	padding: 10px;
	border-radius: 6px;
	border: 1px solid var(--lab-border-medium);
	background-color: var(--lab-bg-light);
	color: var(--lab-text-dark);
	font-size: 14px;
	font-weight: bold;
}

.bb-mobile-panel-inner .org-menu-link {
	display: flex !important;
	align-items: center;
}

.bb-mobile-panel-inner .org-menu-link .menu-icon {
	margin-right: 10px;
	font-size: 18px;
	opacity: 0.9;
	color: var(--lab-primary);
}

/* Mobile Menu Tab Navigation */
.mobile-menu-tabs {
	display: flex;
	width: 100%;
	border-bottom: 1px solid var(--lab-border-light);
	margin-bottom: 15px;
}

.mobile-menu-tab {
	flex: 1;
	text-align: center;
	padding: 12px 5px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	opacity: 0.7;
	position: relative;
}

.mobile-menu-tab.active {
	opacity: 1;
	color: var(--lab-primary);
}

.mobile-menu-tab.active:after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--lab-primary);
	box-shadow: 0 0 10px rgba(82, 113, 255, 0.3);
}

.mobile-menu-content {
	display: none;
}

.mobile-menu-content.active {
	display: block;
}

.org-menu-container {
	padding: 0 15px;
}

.org-menu-title {
	margin: 15px 0 10px;
	font-size: 16px;
	font-weight: 600;
	opacity: 0.9;
}

.bb-cover-list-item .ld-status {
	top: 341px !important;
}
.bb-cover-wrap {
	border-radius: 3px;
	position: relative;
	overflow: visible;
	padding-top: 96.52%;
	display: block;
	background: var(--bb-cover-image-background-color);
}
.bb-course-items .bb-course-cover {
	overflow: visible;
	position: relative;
}

.learndash-wrapper .ld-primary-background,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active:after {
	background: var(--bb-primary-button-background-regular) !important;
}

.learndash-wrapper,
.learndash-wrapper:not(
	.ld-registration__outer-wrapper,
	.learndash-wrapper--modern
) {
	color: black;
	line-height: inherit;
}

.learndash_content_wrap .learndash-wrapper .learndash_mark_complete_button,
.learndash_content_wrap
	.learndash-wrapper:not(
	.ld-registration__outer-wrapper,
	.learndash-wrapper--modern
	)
	.learndash_mark_complete_button {
	border-radius: var(--bb-button-radius);
	background-color: var(--bb-primary-button-background-regular) !important;
	color: var(--bb-primary-button-text-regular) !important;
	border: 1px solid var(--bb-primary-button-border-regular);
	-webkit-transition: all linear 0.2s;
	transition: all linear 0.2s;
	font-size: 15px;
	font-weight: 500;
	padding: 10px 20px;
}

.learndash-wrapper.learndash-wrap.learndash-shortcode-wrap {
	margin-bottom: 0px !important;
}

.learndash-shortcode-wrap .ld-course-status {
	display: none !important;
}

.wc-block-checkout__order-notes,
.wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout-shipping-method-block {
	display: none !important;
}

.post-47 .entry-header {
	display: none !important;
}

.wc-block-checkout__billing-fields {
	margin-bottom: 0px !important;
}

ul#menu-legal-pages a {
	font-size: 8px !important;
}

/* Add your custom styles below this line */

/* BuddyPanel native styles (replaces Tailwind utilities) */
.bp-toggle-btn {
	display: block;
	margin: 0 auto 10px;
	background: transparent;
	border: none;
	padding: 0;
}

.bp-toggle-btn:hover {
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
	background: #f8fafc;
}

.bp-toggle-btn:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.bp-toggle-icon {
	width: 16px;
	height: 16px;
	color: #64748b;
	transition: transform 0.3s ease;
}

.bp-card {
	padding: 16px 12px 8px;
	margin: 16px 8px 0;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.bp-group-heading {
	font-size: 14px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.25;
	margin-bottom: 6px;
	word-break: break-word;
}

.bp-group-name {
	padding-bottom: 4px;
}

.bp-group-label {
	margin-bottom: 10px;
	letter-spacing: -0.01em;
}

.bp-hint {
	font-size: 12px;
	color: #94a3b8;
	padding-bottom: 8px;
}

.bp-select-wrapper {
	position: relative;
	padding-bottom: 4px;
}

.bp-select {
	width: 100%;
	appearance: none;
	border: 1px solid #e2e8f0;
	background: #fff;
	padding: 10px 38px 10px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	transition:
	border-color 0.2s ease,
	box-shadow 0.2s ease;
}

.bp-select:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.bp-hidden {
	display: none;
}

.bp-select-icon {
	pointer-events: none;
	position: absolute;
	inset: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 12px;
	color: #94a3b8;
}

.bp-select-icon-svg {
	width: 16px;
	height: 16px;
}

.bp-nav-links {
	margin-top: 12px;
	padding: 0 8px;
}

.bp-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	font-size: 14px;
	color: #94a3b8;
}

.bp-spinner {
	width: 16px;
	height: 16px;
	color: #94a3b8;
	animation: bp-spin 1s linear infinite;
}

@keyframes bp-spin {
	from {
	transform: rotate(0deg);
	}
	to {
	transform: rotate(360deg);
	}
}

.bp-empty {
	padding: 12px;
	font-size: 14px;
	color: #94a3b8;
}

.bp-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	border-top: 1px solid #f1f5f9;
}

.bp-menu-item {
	padding: 2px 0;
	border-radius: 10px;
	transition:
	background-color 0.2s ease,
	color 0.2s ease;
}

.bp-menu-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: white;
	text-decoration: none;
	background: transparent;
	transition:
	background-color 0.2s ease,
	color 0.2s ease;
}

/* .bp-menu-link:hover {
	background: var( --e-global-color-a9d6911 );
	color: #0f172a;
} */

.bp-menu-link--restricted {
	color: #cbd5e1;
	cursor: not-allowed;
	background: transparent;
}

.bp-menu-link--restricted:hover {
	background: transparent;
	color: #cbd5e1;
}

.bp-menu-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #64748b;
	flex-shrink: 0;
}

.bp-menu-icon--restricted {
	color: #cbd5e1;
}

.bp-menu-title {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bp-restricted-icon {
	flex-shrink: 0;
	color: #cbd5e1;
	font-size: 12px;
}

.footer-bottom-left {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sticky-header .site-header {
	-webkit-transition: width 0.2s;
	transition: width 0.2s;
	box-shadow: none !important;
	position: fixed;
	z-index: 612;
	width: 100%;
}

.site-header {
	background-color: var(--bb-body-background-color) !important;
	box-shadow: inset 0 -1px 0 0 #dcdfe3;
	position: relative;
}

.site-header:before {
	content: "";
	position: absolute;
	top: 0;
	left: -13px;
	bottom: 0;
	width: 13px;
	box-shadow: none !important;
	pointer-events: none;
}

aside#buddypanel {
	background-color: var(--bb-primary-color);
}

#buddypanel span.menu-title.bp-menu-title {
	color: white;
}

#buddypanel span.menu-title.bp-menu-title:hover {
	color: #ffa62b;
}

.content-area {
	padding-top: 0px !important;
}

a.button.small.outline.signin-button.link {
	display: none !important;
}
div#primary-navbar * {
	font-size: 13px !important;
}

.groups-type-navs.main-navs {
	display: none !important;
}

.groups-header .moderators-lists #group-admins>li img {
    width: 50px !important;
}

ul#group-admins {
	gap: 8px;
}