/* =========================================================
   WE & CO â€” Member Dashboard (v1.1 Optimized)
   ========================================================= */
.weandco-dashboard {
  font-family: "Poppins", sans-serif;
  text-align: center;
  padding: 2rem 1rem;
  color: #333;
  max-width: 1100px;
  margin: 0 auto;
}
.weandco-dashboard h2 {
  color: #1c3a80;
  font-weight: 700;
  font-size: 1.6rem;
}
.weandco-dashboard-subtext {
  color: #6b6b6b;
  margin-bottom: 1.75rem;
}

/* =========================================================
   WE & CO â€” Stats Styled Like Tiles (Expandable)
   ========================================================= */

/* Wrap the stats grid just like tiles */
.weandco-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Make stats look like tiles */
/* =========================================================
   Stat Tile Layout â€” Adjusted for KPI Tag (More Vertical Space)
   ========================================================= */
.weandco-stat {
  overflow: visible !important; /* allow kpi tag to hang outside */
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  padding: 2rem 1.25rem 2.5rem; /* increased bottom padding for KPI */
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  min-height: 180px; /* ensures breathing room even with KPI tag */
}

.weandco-stat:hover {
  transform: translateY(-4px);
  border-color: #1c6dd0;
  background: #f9fbff;
}




/* Number + label formatting like tiles */
.weandco-stat strong {
  display: block;
  font-size: 1.0rem;
  font-weight: 700;
  color: #1c3a80;
  margin-bottom: 0.25rem;
}

.weandco-stat span {
  color: #555;
  font-size: 1rem;
  font-weight: 600;
}

/* Subtext under stats (e.g. Attendance %) */
.weandco-stat small.weandco-subtext {
  display: block;
  color: #000000;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Expansion styling */
.weandco-stat.expandable {
  cursor: pointer;
  overflow: hidden;
}

/* Details area (hidden by default) */
.weandco-stat .weandco-details {
  display: none;
  text-align: left;
  margin-top: 1rem;
  background: #f9fafb;
  border-top: 1px dashed #e5e7eb;
  padding: 1rem;
  border-radius: 0 0 10px 10px;
  animation: expandDetails 0.3s ease;
}

/* Show details when open */
.weandco-stat.open .weandco-details {
  display: block;
}

/* Simple expand animation */
@keyframes expandDetails {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Optional: Icon for indicating expand */
.weandco-stat::after {
  content: "\f150"; /* FontAwesome down arrow (or BuddyBoss equivalent) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.weandco-stat.open::after {
  transform: rotate(180deg);
  color: #1c6dd0;
}

/* Inside details */
.weandco-details ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.weandco-details li {
  margin: 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e5e7eb;
  line-height: 1.5;
}

.weandco-details i.bb-icon {
  font-size: 20px;
  color: #1c3a80;
  margin-right: 6px;
}


/* =========================================================
   Quick Tiles Grid
   ========================================================= */
.weandco-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.weandco-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  padding: 1.25rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.weandco-tile:hover {
  transform: translateY(-4px);
}
.tile-label {
  color: #1c3a80;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* =========================================================
   Dashboard Expansion Styles
   ========================================================= */
.weandco-stat.expandable {
  position: relative;
  cursor: pointer;
}
.weandco-stat.expandable .weandco-details {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #333;
  text-align: left;
}
.weandco-stat.expandable.open {
  background: #f0f7ff;
  border-color: #1c6dd0;
}
.weandco-stat.expandable.open .weandco-details {
  display: block;
}

.weandco-details ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding-left: 0;
}
.weandco-details li {
  margin: 0.35rem 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #e2e8f0;
  line-height: 1.5;
}
.weandco-details strong { color: #1c3a80; }
.weandco-details em {
  color: #6b6b6b;
  font-style: normal;
}
.weandco-details .weandco-date {
  display: inline-block;
  margin-left: 0.4rem;
  color: #888;
  font-size: 0.85em;
}
/* ðŸ”§ Fix: Align BuddyBoss icons with text inside details */
.weandco-details li i.bb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 1.1em;
  margin-right: 6px;
  line-height: 1;
}


/* =========================================================
   BuddyBoss Icon Styling
   ========================================================= */
.weandco-dashboard i.bb-icon,
.weandco-dashboard i[class^="bb-icon-"] {
  font-size: 34px;
  display: block;
  margin: 0 auto 8px;
  transition: all 0.3s ease;
}
.weandco-details i.bb-icon {
  font-size: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.weandco-tile:hover i.bb-icon {
  transform: scale(1.15);
}

/* =========================================================
   Per-Tile Color Themes (Class-Based)
   ========================================================= */

/* Submit a Referral */
.bb-icon-rf.bb-icon-currency-dollar { color: #0ea5e9; }
.tile-referral:hover { background-color: #e0f2fe; border-color: #0ea5e9; }

/* My Referrals */
.bb-icon-bl.bb-icon-currency-dollar { color: #16a34a; }
.tile-myreferrals:hover { background-color: #dcfce7; border-color: #16a34a; }

/* Events */
.bb-icon-calendar { color: #f97316; }
.tile-events:hover { background-color: #ffedd5; border-color: #f97316; }

/* Business Listings */
.bb-icon-address-book { color: #9333ea; }
.tile-business-listings:hover { background-color: #f3e8ff; border-color: #9333ea; }

/* Members */
.bb-icon-membership-card { color: #eab308; }
.tile-members:hover { background-color: #fef9c3; border-color: #eab308; }

/* =========================================================
   Stat Section Icons (inside details)
   ========================================================= */

.bb-icon-user         { color: #00bfa6; }   /* Visitors */
.bb-icon-check        { color: #16a34a; }   /* Attended */
.bb-icon-times        { color: #dc2626; }   /* Missed */
.bb-icon-warning      { color: #eab308; }   /* Alert */
.bb-icon-info-circle  { color: #6b7280; }   /* Info */
.bb-icon-building     { color: #1c3a80; }   /* Huddle Name */
/* Optional per-tile color accents */

.bb-icon-briefcase { color: #0ea5e9; }      /* Job Board - blue */
.bb-icon-share { color: #f59e0b; }          /* Referral Tracking - amber */
.bb-icon-graduation-cap { color: #9333ea; } /* Learning Dashboard - purple */
.bb-icon-users { color: #e11d48; }          /* Collaboration - pink */
.bb-icon-target { color: #22c55e; }         /* Goal Setting - green */
.bb-icon-compass { color: #3b82f6; }        /* Strategic Planning - blue */
.bb-icon-calendar { color: #f97316; }       /* Huddles - orange */
.bb-icon-user-crown { color: #eab308; }     /* rich gold — same as your Members tile accent */
.bb-icon-credit-card { color: #eab308; } 

/* Optional hover polish for icons used in headers */
.weandco-section-header i.bb-icon-user-crown:hover {
  color: #facc15;  /* lighter metallic gold hover */
  transform: scale(1.15);
}


/* Icons */
.stars i { font-size: 24px; }
.bb-icon-star { color: #FFD700; }
.bb-icon-currency-dollar { color: #85bb65; }

/* =========================================================
   Responsive Adjustments
   ========================================================= */
@media (max-width: 768px) {
  .weandco-stat { width: 100%; }
  .tile-label { font-size: 0.95rem; }
  .weandco-dashboard h2 { font-size: 1.4rem; }
}
.weandco-stat strong,
.weandco-stat span {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}

.weandco-stat span {
  font-weight: 400;  /* normal weight for 'of' */
  color: #555;
}
/* Welcome Back line under name */
.welcome-subtext {
  display: block;
  font-size: 1.1rem;
  color: #4b5563; /* subtle gray tone */
  font-weight: 500;
  margin-top: 0.3rem;
}
/* =========================================================
   WE&CO — KPI Tag (Gradient Theme Match)
   ========================================================= */
.kpi-tag {
  position: absolute;
  top: -6px;
  right: -10px;
  background: linear-gradient(135deg, #007d82, #1c3a80);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
  animation: kpiPulse 3s infinite ease-in-out;
}

/* =========================================================
   WE&CO — KPI Pulse Animation (Subtle Glow)
   ========================================================= */
@keyframes kpiPulse {
  0% {
    box-shadow: 0 0 8px rgba(0, 125, 130, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(28, 58, 128, 0.6);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 8px rgba(0, 125, 130, 0.4);
    transform: scale(1);
  }
}


/* =========================================================
   Attendance â€” Missed Styling (Red Variant)
   ========================================================= */

/* Section header for missed */
.weandco-details h4 i.bb-icon-times {
  color: #dc2626; /* red icon */
}

.weandco-details h4:has(.bb-icon-times) {
  color: #dc2626;
}

/* Each missed attendance entry */
.weandco-details ul li i.bb-icon-warning {
  color: #dc2626 !important;
}

.weandco-details ul li.missed-entry {
  background-color: #fef2f2;  /* light red background */
  border-left: 3px solid #dc2626;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  margin-bottom: 0.4rem;
}

/* Attendance KPI Success â€” green highlight (already defined, adding subtle glow) */
.weandco-stat.kpi-met {
  background-color: #dcfce7 !important;
  border-color: #16a34a !important;
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.4);
  animation: kpiPulse 2s infinite ease-in-out;
}

/* =========================================================
   KPI Unmet â€” Soft Amber Warning Style
   ========================================================= */
.weandco-stat.kpi-unmet {
  background-color: #fff7ed !important;   /* soft amber background */
  border-color: #f59e0b !important;       /* amber border */
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  animation: kpiPulseWarning 2s infinite ease-in-out;
}

@keyframes kpiPulseWarning {
  0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.6); }
  100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
}



/* KPI pulse animation */
@keyframes kpiPulse {
  0% { box-shadow: 0 0 10px rgba(22,163,74,0.3); }
  50% { box-shadow: 0 0 25px rgba(22,163,74,0.6); }
  100% { box-shadow: 0 0 10px rgba(22,163,74,0.3); }
}
/* =========================================================
   Notification Badge (for My Referrals)
   ========================================================= */
.notification-badge {
  position: absolute;
  top: -10px;
  right: -14px;
  background: #dc2626; /* red */
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 50%;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Ensure tiles are positioned correctly for badge placement */
.weandco-tile {
  position: relative;
}

/* =========================================================
   WE&CO â€” MemberPress Login Page Styling
   ========================================================= */
.weandco-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: linear-gradient(145deg, #f0f9ff, #ffffff);
  padding: 2rem;
}

.weandco-login-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  animation: fadeInUp 0.5s ease;
}

.weandco-login-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c3a80;
  margin-bottom: 0.25rem;
}

.weandco-login-title i.bb-icon {
  font-size: 1.5rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.weandco-login-subtext {
  color: #000000;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* MemberPress Form Field Styling */
.weandco-login-card form input[type="text"],
.weandco-login-card form input[type="email"],
.weandco-login-card form input[type="password"] {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.weandco-login-card form input:focus {
  outline: none;
  border-color: #1c6dd0;
  box-shadow: 0 0 0 2px rgba(28, 109, 208, 0.2);
}

/* Login Button */
.weandco-login-card form input[type="submit"],
.weandco-login-card form button {
  width: 100%;
  background-color: #1c6dd0;
  color: #fff;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.weandco-login-card form input[type="submit"]:hover {
  background-color: #155ab3;
  transform: translateY(-1px);
}

/* Forgot Password & Register Links */
.mepr-login-actions {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.mepr-login-actions a {
  color: #1c6dd0;
  text-decoration: none;
  font-weight: 500;
}

.mepr-login-actions a:hover {
  text-decoration: underline;
}

/* Subtle fade-in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .weandco-login-card {
    padding: 1.5rem;
  }
  .weandco-login-title {
    font-size: 1.4rem;
  }
}

/* =========================================================
   Fix Alignment â€” Center Title with Form Fields
   ========================================================= */
.weandco-login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.weandco-login-title,
.weandco-login-subtext,
.weandco-login-card form {
  width: 100%;
  max-width: 360px; /* same width as MemberPress input boxes */
  margin: 0 auto;
}

.weandco-login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c3a80;
  margin-bottom: 0.5rem;
}

.weandco-login-title i.bb-icon {
  font-size: 1.5rem;
  color: #1c3a80;
  vertical-align: middle;
}

.weandco-login-subtext {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: center;
}

.mepr-login-actions {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* =========================================================
   WE&CO â€” BuddyBoss Login Page Centering Fix
   ========================================================= */

/* Ensure the page container allows centering */
.weandco-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* use center if you want full vertical centering */
  min-height: 80vh;
  padding: 2rem 1rem;
  background: #f9fafb;
}



/* Center the login card and form */
.weandco-login-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin: 0 auto;
}

/* Title and subtext alignment */
.weandco-login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c3a80;
  margin-bottom: 0.4rem;
}

.weandco-login-title i.bb-icon {
  font-size: 1.5rem;
  color: #1c3a80;
}



/* Ensure MemberPress form is centered with same width */
.weandco-login-card form {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

/* Align Remember Me + Forgot Password properly */
.mepr-login-actions,
.mepr_loginform .mp-form-row,
.mepr-login-actions a {
  text-align: center;
}

/* Center the form submit area */
.mepr_loginform .submit {
  display: flex;
  justify-content: center;
}

/* Optional: vertically center the whole layout */
@media (min-height: 800px) {
  .weandco-login-wrapper {
    align-items: center;
  }
}
.weandco-login-wrapper {
  background: linear-gradient(160deg, #f0f9ff 0%, #ffffff 100%);
}
/* =========================================================
   WE&CO â€” Branded Login Logo Styling
   ========================================================= */

/* Center everything nicely */
.weandco-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 90vh;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  padding: 2rem 1rem;
}

/* Login card container */
.weandco-login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: fadeInCard 0.8s ease forwards;
  font-family: "Poppins", sans-serif;
}

/* Logo styling */
.weandco-login-logo {
  margin-bottom: 1.75rem; /* increased from 1.25rem */
  animation: fadeInLogo 1.2s ease forwards;
}

.weandco-login-logo img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.15));
  opacity: 0;
  transform: translateY(-10px);
  animation: logoReveal 1s ease forwards;
}


/* Animations */
@keyframes logoReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Title & subtext */
.weandco-login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c3a80;
  margin-bottom: 0.25rem;
}

.weandco-login-title i.bb-icon {
  font-size: 1.5rem;
  color: #1c3a80;
}

.weandco-login-subtext {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 1.75rem;
}

/* MemberPress form alignment */
.weandco-login-card form {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

/* Buttons & link row */
.mepr-login-actions {
  text-align: center;
}

.mepr-login-actions a {
  color: #1c3a80;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mepr-login-actions a:hover {
  color: #0ea5e9;
}

/* Responsive */
@media (max-width: 600px) {
  .weandco-login-card {
    padding: 2rem 1.25rem;
  }

  .weandco-login-logo img {
    width: 130px;
  }
}
.mp-hide-pw button {
  background: none;
  border: none;
  color: #1c3a80;
  font-size: 1.1rem;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 8px;
}

.mp-hide-pw button:hover {
  color: #0ea5e9;
}

/* =========================================================
   Business Listings Stat Styling
   ========================================================= */
.weandco-details .directorist-listing-item {
  display: block;
  text-align: center;
  background: #f9fafb;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.weandco-details .directorist-listing-item:hover {
  background: #eef6ff;
  transform: translateY(-2px);
}

.weandco-details .listing-thumb {
  border-radius: 6px;
  margin-bottom: 0.5rem;
  object-fit: cover;
}


.add-listing-button {
  display: inline-block;
  background: #1c6dd0;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.add-listing-button:hover {
  background: #155ab3;
  transform: translateY(-2px);
}
/* =========================================================
   WE & CO â€” Business Listing Stat Styling (Non-KPI)
   ========================================================= */

/* Business Listing Stat â€” Subtle purple highlight on hover */
.weandco-stat.business-listing-stat:hover {
  background-color: #f9f5ff;
  border-color: #9333ea;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.15);
}

/* Listing item container */
.weandco-details .directorist-listing-item {
  display: block;
  text-align: center;
  background: #f9fafb;
  border-radius: 8px;
  padding: 0.9rem 0.75rem;
  margin-bottom: 0.9rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.weandco-details .directorist-listing-item:hover {
  background: #f3e8ff;
  border-color: #9333ea;
  transform: translateY(-2px);
}

/* Thumbnail styling */
.weandco-details .listing-thumb {
  display: block;
  border-radius: 6px;
  margin: 0 auto 0.5rem;
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Listing title */
.weandco-details .directorist-listing-item strong {
  color: #1c3a80;
  font-size: 1rem;
  font-weight: 600;
}

/* Edit Listing link */
.weandco-details .start-huddle-link,
.weandco-details .listing-edit-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #1c6dd0;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.35rem;
  transition: color 0.2s ease;
}
.weandco-details .start-huddle-link:hover,
.weandco-details .listing-edit-link:hover {
  text-decoration: underline;
  color: #155ab3;
}

/* Add Listing button (CTA if user has no listings) */
.add-listing-button {
  display: inline-block;
  background: linear-gradient(90deg, #4f46e5, #9333ea);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(147, 51, 234, 0.25);
}

.add-listing-button:hover {
  background: linear-gradient(90deg, #4338ca, #7e22ce);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.35);
}

/* Icons inside the business listing block */
.weandco-details .bb-icon-edit {
  color: #1c6dd0;
  font-size: 1rem;
  vertical-align: middle;
  margin-right: 4px;
}

.weandco-details .bb-icon-plus-circle {
  font-size: 1.1rem;
  vertical-align: middle;
  margin-right: 4px;
}

/* Ensure detail area spacing is consistent */
.weandco-details .directorist-listing-item:last-child {
  margin-bottom: 0;
}

/* Responsive fine-tuning */
@media (max-width: 600px) {
  .weandco-details .listing-thumb {
    max-width: 100px;
  }
  .add-listing-button {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
}
/* =========================================================
   WE&CO â€” Add Listing Badge (Clickable + Fixed Position)
   ========================================================= */
.add-listing-badge {
  position: absolute;
  top: -10px;
  right: -14px;
  background: #dc2626; /* red */
  color: #fff;
  font-size: 1.0rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 50%;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}



/* Ensure it's fully visible and not clipped */
.weandco-stat.tile-member-business-listings {
  position: relative;
  overflow: visible; /* âœ… Prevents the badge from being cut off */
}

.add-listing-badge:hover {
  background: #b91c1c;
  transform: scale(1.15);
}

.add-listing-badge i.bb-icon {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
/* =========================================================
   WE&CO â€” Always-Open Stats (No Expander Arrow or Animation)
   ========================================================= */
.weandco-stat.always-open {
  cursor: default;
  overflow: visible;
}

.weandco-stat.always-open::after {
  display: none; /* hides the down-arrow icon */
}

.weandco-stat.always-open .weandco-details {
  display: block !important; /* always visible */
  background: #f9fafb;
  border-top: 1px dashed #e5e7eb;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0 0 10px 10px;
}

/* Add subtle spacing consistency */
.weandco-stat.always-open .weandco-details ul {
  margin-top: 0.5rem;
}
/* =========================================================
   WE&CO â€” My Huddles Links Styling
   ========================================================= */
.huddle-link {
  color: #1c3a80;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.huddle-link:hover {
  color: #0ea5e9;
  text-decoration: underline;
  text-shadow: 0 0 4px rgba(14,165,233,0.2);
}
/* =========================================================
   WE&CO â€” Reduce Page Padding on Dashboard
   ========================================================= */
body.page-id-12489 .site-content,
body.page-id-12489 .content-area,
body.page-id-12489 .entry-content {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.page-id-13035 .site-content,
body.page-id-13035 .content-area,
body.page-id-13035 .entry-content,
body.page-id-4 .site-content,
body.page-id-4 .content-area,
body.page-id-4 .entry-content, 
body.page-id-5 .site-content,
body.page-id-5 .content-area,
body.page-id-5 .entry-content {
  padding-top: .8rem !important;
  padding-bottom: 1.5rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =========================================================
   WE&CO â€” Feature Stat Tiles (Same Style as Dashboard Stats)
   ========================================================= */
.weandco-feature-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-tile {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  padding: 2rem 1.25rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: #1c6dd0;
  background: #f9fbff;
}

.feature-tile i.bb-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  transition: all 0.3s ease;
}

.feature-tile:hover i.bb-icon {
  transform: scale(1.15);
  color: #0ea5e9;
}

.feature-tile strong {
  display: block;
  color: #1c3a80;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-tile span {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

/* =========================================================
   WE&CO â€” MEC Event Mobile Layout Fix
   ========================================================= */



  /* Optional: Reduce image size for small screens */
  .mec-event-image-wrap img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  /* Tighter event spacing on mobile */
  .mec-event-article {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #e5e7eb;
  }

  /* Ensure event titles donâ€™t overflow */
  .mec-event-title a {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    display: inline-block;
    word-wrap: break-word;
  }

/* =========================================================
   WE&CO â€” Event Category Tiles (Match Dashboard Aesthetic)
   ========================================================= */
.weandco-event-category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.weandco-event-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.25rem;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.weandco-event-tile:hover {
  transform: translateY(-4px);
  border-color: #1c6dd0;
  background: #f9fbff;
  box-shadow: 0 6px 16px rgba(28, 109, 208, 0.15);
}

.weandco-event-tile i.bb-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #1c6dd0;
  transition: all 0.3s ease;
}

.weandco-event-tile:hover i.bb-icon {
  transform: scale(1.15);
  color: #0ea5e9;
}

.weandco-event-tile strong {
  color: #1c3a80;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.weandco-event-tile span {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* =========================================================
   Per-Category Tile Accents
   ========================================================= */
.tile-springfield i.bb-icon { color: #16a34a; }
.tile-springfield:hover { border-color: #16a34a; background-color: #dcfce7; }

.tile-joplin i.bb-icon { color: #f97316; }
.tile-joplin:hover { border-color: #f97316; background-color: #ffedd5; }

.tile-weco i.bb-icon { color: #9333ea; }
.tile-weco:hover { border-color: #9333ea; background-color: #f3e8ff; }

/* Responsive Tweak */
@media (max-width: 480px) {
  .weandco-event-tile {
    padding: 1.5rem 1rem;
  }
  .weandco-event-tile strong {
    font-size: 1rem;
  }
}
/* =========================================================
   WE&CO â€” Shoutouts / Testimonials Grid
   ========================================================= */
.weandco-shoutouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1100px;
}

.weandco-shoutout-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 1.75rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.weandco-shoutout-card:hover {
  transform: translateY(-5px);
  border-color: #1c6dd0;
  background: #f9fbff;
  box-shadow: 0 6px 15px rgba(28,109,208,0.15);
}

.weandco-shoutout-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.25rem;
}

.weandco-shoutout-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.weandco-shoutout-footer img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007d82;
}

.weandco-shoutout-footer strong {
  color: #1c3a80;
  font-size: 0.95rem;
  display: block;
}

.weandco-shoutout-footer span {
  color: #6b7280;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .weandco-shoutout-card {
    padding: 1.25rem;
  }
  .weandco-shoutout-footer img {
    width: 50px;
    height: 50px;
  }
}
/* =========================================================
   WE&CO â€” 14-Day Free Trial CTA
   ========================================================= */
.weandco-cta-section {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 700px;
  margin: 3rem auto;
  transition: all 0.3s ease;
  position: relative;
}

.weandco-cta-section:hover {
  border-color: #1c6dd0;
  box-shadow: 0 6px 20px rgba(28,109,208,0.15);
  transform: translateY(-4px);
}

/* Heading */
.weandco-cta-heading {
  color: #007d82;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Subtext */
.weandco-cta-subtext {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1.75rem;
  font-style: italic;
}

/* Button */
.weandco-cta-button {
  background: linear-gradient(135deg, #007d82, #1d3a7e);
  color: #ffffff !important;
  padding: 0.9rem 2.4rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.weandco-cta-button:hover {
  background: linear-gradient(135deg, #1c6dd0, #0e2970);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(28,109,208,0.25);
}


/* Responsive */
@media (max-width: 480px) {
  .weandco-cta-heading {
    font-size: 1.6rem;
  }
  .weandco-cta-subtext {
    font-size: 0.9rem;
  }
  .weandco-cta-button {
    width: 100%;
    padding: 1rem;
  }
}

/* =========================================================
   WE&CO â€” Huddle Intro Card
   ========================================================= */
.weandco-huddle-intro-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 1200px;
  color: #374151;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.weandco-huddle-intro-card:hover {
  border-color: #1c6dd0;
  box-shadow: 0 6px 16px rgba(28,109,208,0.15);
  transform: translateY(-2px);
}

.weandco-huddle-intro-header h2 {
  color: #1c3a80;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}


.weandco-highlight {
  color: #007d82;
}

.weandco-huddle-subtext {
  color: #000000;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.weandco-huddle-intro-body p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.weandco-huddle-intro-section {
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  margin: 1.5rem 0;
}

.weandco-huddle-intro-section h3 {
  color: #007d82;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: left;
  gap: 0.4rem;
}

.weandco-huddle-kpis {
  list-style: none;
  margin: 0;
  padding: 0;
}

.weandco-huddle-kpis li {
  margin: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.weandco-huddle-kpis li i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
  color: #16a34a;
}

.weandco-huddle-leader {
  font-weight: 500;
  color: #1c3a80;
  margin-top: 1.5rem;
}
.weandco-huddle-intro-item h4 i.bb-icon-handshake {
  color: #16a34a; /* or #007d82 for teal */
  margin-right: 6px;
  vertical-align: middle;
}


.weandco-time {
  color: #000000;
  font-weight: 400;
  font-size: 0.9rem;
}

.weandco-huddle-note {
  color: #000000;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.weandco-huddle-steps {
  padding-left: 1.5rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.weandco-huddle-steps li {
  margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 600px) {
  .weandco-huddle-intro-card {
    padding: 1.5rem 1.25rem;
  }
  .weandco-huddle-intro-header h2 {
    font-size: 1.4rem;
  }
  .weandco-huddle-intro-section h3 {
    font-size: 1.1rem;
  }
}

.start-event-link {
  margin-left: auto;
  background: #1a73e8;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.start-event-link:hover {
  background: #004aad;
}

/* =========================================================
   WE&CO â€” Event Tiles (Tight Layout & Consistent Buttons)
   ========================================================= */


.mec-event-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 160px;
  text-align: center;
}

.mec-event-image-wrap img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.mec-event-date {
  background-color: #1a73e8;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 8px;
  line-height: 1.2;
  text-align: center;
}

.mec-event-day {
  font-size: 1.2rem;
  font-weight: 700;
}

.mec-event-month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.weandco-event-button {
  margin-top: 8px;
}

/* --- Buttons --- */
.weandco-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

.weandco-btn.start-huddle {
  background-color: var(--weco-blue, #1a73e8);
  color: #fff;
}

.weandco-btn.start-event {
  background-color: var(--weco-green, #28a745);
  color: #fff;
}

.weandco-btn.disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.8;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
  .mec-event-content {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .mec-event-content > .weandco-event-button {
    width: 100%;
    text-align: left !important;
    margin-top: 6px;
    height: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .mec-event-content > .weandco-event-button .weandco-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .mec-event-article {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .mec-event-image-wrap,
  .mec-event-content {
    width: 80% !important;
    max-width: 500px !important;
    padding: 0 !important;
    margin: 0 auto 1rem auto !important;
  }
}

/* --- Tighten List Layout --- */
.weandco-event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weandco-no-events {
  color: #000000;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- Variables --- */
:root {
  --weco-blue: #1a73e8;
  --weco-green: #28a745;
}
/* =========================================================
   WE&CO â€” Center Event Details (Location + Date)
   ========================================================= */
.mec-event-detail {
  text-align: center !important;
  width: 100%;
  margin-top: 4px;
}

.mec-event-detail > div {
  display: inline-block;
  margin: 2px 8px; /* spacing between location & date */
  font-size: 0.95rem;
  color: #374151;
  vertical-align: middle;
}

.mec-event-detail i {
  margin-right: 4px;
  color: #1c3a80;
  font-size: 0.95rem;
  vertical-align: middle;
}

/* =========================================================
   WE&CO â€” Fix Center Alignment for Business Listings
   ========================================================= */
.weandco-details ul li {
  text-align: center;                /* centers all inner content */
}

.weandco-details .listing-thumb {
  display: block;
  margin: 0 auto 0.5rem auto;        /* center image horizontally */
  border-radius: 6px;
  max-width: 150px;
  height: auto;
  object-fit: cover;
}

.weandco-details ul li > a:first-of-type {
  display: inline-block;
  text-align: center;
  color: #1c3a80;
  text-decoration: none;
}

.weandco-details ul li > a:first-of-type strong {
  display: block;
  margin-top: 0.4rem;
  color: #1c3a80;
  font-size: 1rem;
  font-weight: 600;
}

.weandco-details .listing-edit-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: #1c6dd0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.weandco-details .listing-edit-link:hover {
  color: #155ab3;
  text-decoration: underline;
}
/* =========================================================
   WE&CO â€” Theme Cohesion for Listings + Events
   (Unifies tile look with KPI + We&Co Tiles)
   ========================================================= */

/* ---- Shared Tile Base ---- */
.weandco-details .directorist-listing-item,
.mec-event-article {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 1.25rem;
  transition: all 0.3s ease;
  text-align: center;
}

/* ---- Hover State ---- */
.weandco-details .directorist-listing-item:hover,
.mec-event-article:hover {
  transform: translateY(-4px);
  border-color: #1c6dd0;
  background: #f9fbff;
  box-shadow: 0 6px 16px rgba(28,109,208,0.15);
}

/* ---- Image & Icon Treatment ---- */
.weandco-details .listing-thumb img,
.mec-event-image-wrap img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
}

.weandco-details .listing-thumb img:hover,
.mec-event-image-wrap img:hover {
  transform: scale(1.03);
}

/* ---- Typography ---- */
.weandco-details strong
{
  color: #1c3a80;
  font-weight: 700;
  font-size: 1rem;
}

.weandco-details .listing-edit-link,
.mec-event-detail div {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- Button Style Unification ---- */
.weandco-btn,
.listing-edit-link,
.add-listing-button {
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.weandco-btn.start-huddle,
.weandco-btn.start-event,
.add-listing-button {
  background-color: #1c6dd0;
  color: #fff;
}

.weandco-btn.start-huddle:hover,
.weandco-btn.start-event:hover,
.add-listing-button:hover {
  background-color: #155ab3;
  transform: translateY(-2px);
}

/* ---- Center Listing Elements ---- */
.weandco-details ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---- Consistent Bottom Padding ---- */
.mec-event-article,
.weandco-details .directorist-listing-item {
  margin-bottom: 1rem;
}

/* ---- Keep Date Box Aligned (Events Only) ---- */
.mec-event-date {
  background-color: #1c6dd0;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 10px auto 0 auto;
  text-align: center;
  width: fit-content;
}

.weandco-details .listing-edit-link i {
  vertical-align: middle;
  margin-right: 4px;
}

/* =========================================================
   WE&CO â€” Gradient Button & Tile Unification
   ========================================================= */

/* ---- Unified Gradient (We&Co Brand) ---- */
:root {
  --weco-gradient: linear-gradient(90deg, #4f46e5, #9333ea);
  --weco-gradient-hover: linear-gradient(90deg, #4338ca, #7e22ce);
  --weco-blue: #1c6dd0;
}

/* ---- Tile Cohesion ---- */
.mec-event-article,
.weandco-details .directorist-listing-item {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 1.25rem;
  transition: all 0.3s ease;
  text-align: center;
}

.mec-event-article:hover,
.weandco-details .directorist-listing-item:hover {
  transform: translateY(-4px);
  border-color: #9333ea;
  background: #f9f5ff;
  box-shadow: 0 6px 14px rgba(147, 51, 234, 0.15);
}

/* ---- Unified Button Theme ---- */
.weandco-btn,
.add-listing-button,
.listing-edit-link {
  display: inline-block;
  background: var(--weco-gradient);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(147, 51, 234, 0.25);
}

.weandco-btn:hover,
.add-listing-button:hover,
.listing-edit-link:hover {
  background: var(--weco-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(147, 51, 234, 0.35);
}

/* ---- Disabled Button Variant ---- */
.weandco-btn.disabled {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  cursor: not-allowed;
  box-shadow: none;
}

/* ---- Icons ---- */
.listing-edit-link i.bb-icon,
.weandco-btn i.bb-icon {
  margin-right: 6px;
  vertical-align: middle;
  font-size: 1rem;
}

/* ---- Add Listing CTA Match ---- */
.add-listing-button {
  font-size: 0.95rem;
  padding: 0.65rem 1.6rem;
}

/* ---- Subtle Glow Animation (Optional) ---- */
@keyframes wecoGlow {
  0% { box-shadow: 0 0 8px rgba(147,51,234,0.4); }
  50% { box-shadow: 0 0 18px rgba(79,70,229,0.6); }
  100% { box-shadow: 0 0 8px rgba(147,51,234,0.4); }
}
.weandco-btn.start-huddle,
.weandco-btn.start-event {
  animation: wecoGlow 3s infinite ease-in-out;
}

/* =========================================================
   WE&CO — Unified Gradient Theme (Admin Tools Alignment)
   ========================================================= */

/* ---- Brand Gradient (Admin Tools Header) ---- */
:root {
  --weco-gradient: linear-gradient(135deg, #007d82, #1c3a80);
  --weco-gradient-hover: linear-gradient(135deg, #0ea5e9, #1d3a7e);
  --weco-blue: #1c3a80;
  --weco-accent: #007d82;
}

/* ---- Gradient Buttons (Huddles, Events, Listings, Add Buttons) ---- */
.weandco-btn,
.add-listing-button,
.listing-edit-link {
  display: inline-block;
  background: var(--weco-gradient);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(28, 58, 128, 0.25);
}

.weandco-btn:hover,
.add-listing-button:hover,
.listing-edit-link:hover {
  background: var(--weco-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 125, 130, 0.35);
}

.weandco-btn.disabled {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  cursor: not-allowed;
  box-shadow: none;
}

/* ---- Icon Alignment ---- */
.weandco-btn i.bb-icon,
.listing-edit-link i.bb-icon {
  margin-right: 6px;
  vertical-align: middle;
  font-size: 1rem;
}

/* ---- Add Listing CTA (slightly larger for emphasis) ---- */
.add-listing-button {
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
}

/* ---- Event Date Badge Glow ---- */
.mec-event-date {
  background: var(--weco-gradient);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 8px;
  text-align: center;
  width: fit-content;
  box-shadow: 0 0 10px rgba(0, 125, 130, 0.4),
              0 0 20px rgba(28, 58, 128, 0.25);
  transition: all 0.3s ease;
}

.mec-event-date:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 125, 130, 0.6),
              0 0 30px rgba(28, 58, 128, 0.4);
}

/* ---- Subtle pulse animation for active events ---- */
@keyframes wecoGlowPulse {
  0% { box-shadow: 0 0 10px rgba(0,125,130,0.4), 0 0 20px rgba(28,58,128,0.25); }
  50% { box-shadow: 0 0 22px rgba(0,125,130,0.6), 0 0 35px rgba(28,58,128,0.4); }
  100% { box-shadow: 0 0 10px rgba(0,125,130,0.4), 0 0 20px rgba(28,58,128,0.25); }
}

.mec-event-date.active-today {
  animation: wecoGlowPulse 3s infinite ease-in-out;
}

/* =========================================================
   WE&CO — Event + Listing Tiles (Blue Theme Alignment)
   ========================================================= */

/* Remove all purple borders/hover tones */
.mec-event-article,
.weandco-details .directorist-listing-item {
  border: 2px solid #e5e7eb !important;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

/* Hover + focus now use We&Co Blue Gradient */
.mec-event-article:hover,
.weandco-details .directorist-listing-item:hover {
  border-color: #1c6dd0 !important;                /* primary blue border */
  background: #f9fbff !important;                  /* soft blue background */
  box-shadow: 0 6px 14px rgba(28,109,208,0.15);    /* subtle blue glow */
  transform: translateY(-3px);
}

/* Images and icons keep same shadow and corner treatment */
.mec-event-image-wrap img,
.weandco-details .listing-thumb img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

.mec-event-image-wrap img:hover,
.weandco-details .listing-thumb img:hover {
  transform: scale(1.03);
}

/* Date badge stays branded in gradient */
.mec-event-date {
  background: linear-gradient(135deg, #007d82, #1c3a80);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  width: fit-content;
  box-shadow: 0 0 10px rgba(0,125,130,0.4),
              0 0 20px rgba(28,58,128,0.2

/* =========================================================
   WE&CO — Force Larger BuddyBoss Icons in Event + Listing Tiles
   ========================================================= */

/* All bb-icon pseudo-elements */
.bb-icon::before {
  font-size: 22px !important;   /* bump from 14–16px → 22px */
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* Huddle icon next to group name */
.huddle-link .bb-icon::before {
  font-size: 24px !important;
  color: #007d82 !important;
  margin-right: 8px;
}

/* Event detail icons (building + calendar) */
.mec-event-detail .bb-icon::before {
  color: #007d82 !important;
  font-size: 22px !important;
  margin-right: 6px !important;
}

/* Listing edit icons */
.listing-edit-link .bb-icon::before {
  color: #1c3a80 !important;
  font-size: 22px !important;
  margin-right: 6px !important;
}

/* Start button icons */
.weandco-btn .bb-icon::before {
  font-size: 22px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

/* Optional hover glow */
.weandco-btn:hover .bb-icon::before,
.listing-edit-link:hover .bb-icon::before,
.mec-event-detail .bb-icon:hover::before {
  color: #0ea5e9 !important;
  transition: color 0.2s ease;
}
/* =========================================================
   WE&CO — Force Single-Column Layout for All Event Tiles
   ========================================================= */

/* Reset MEC layout overrides */
.mec-event-article,
.mec-event-content,
.mec-event-image-wrap,
.weandco-event-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Tile spacing + visual tightening */
.mec-event-article {
  border: 2px solid #e5e7eb !important;
  border-radius: 10px;
  background: #fff;
  padding: 10px 8px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

/* Image always centered, full width, never side-by-side */
.mec-event-image-wrap {
  width: 100% !important;
  margin: 0 auto 6px auto !important;
}

.mec-event-image-wrap img {
  display: block;
  width: 90% !important;
  max-width: 400px !important;
  height: auto !important;
  border-radius: 8px;
  margin: 0 auto 4px auto !important;
}

/* Start button centered */
.weandco-event-button {
  text-align: center !important;
  margin: 6px 0 8px 0 !important;
  width: 100%;
}

/* Content block stacked */
.mec-event-content {
  padding: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
}

/* Title + details tighter */
.mec-event-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1c3a80;
  margin-bottom: 4px;
}

.mec-event-detail {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  color: #4b5563;
}

/* Larger, centered icons */
.mec-event-detail .bb-icon::before {
  font-size: 20px !important;
  margin-right: 4px;
  color: #007d82;
  vertical-align: middle;
}

/* Responsive safety — force stacking always */
@media (max-width: 2000px) {
  .mec-event-article,
  .mec-event-content,
  .mec-event-image-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}
/* =========================================================
   WE&CO — Section Headers (My Huddles / My Business)
   ========================================================= */

/* =========================================================
   WE&CO — Keep section icon + title inline (same row)
   ========================================================= */
.weandco-section-header {
  display: inline-flex !important;           /* keep icon + text on one line */
  align-items: center !important;            /* vertically align */
  justify-content: center !important;        /* center in parent */
  gap: 8px !important;                       /* spacing between icon and text */
  margin-bottom: 0.6rem;
  width: 100%;
  text-align: center;
}

.weandco-section-header i.bb-icon {
  display: inline-block !important;
  vertical-align: middle;
  font-size: 1.4rem;
  margin-right: 6px;
}

.weandco-section-title {
  display: inline-block !important;
  vertical-align: middle;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}



.weandco-section-header:hover i.bb-icon {
  transform: scale(1.15);
  color: #0ea5e9;
}

/* =========================================================
   WE&CO — My Business Listings (Match Huddle Event Style)
   ========================================================= */

/* Business Listings Container */
.tile-member-business-listings .weandco-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Each Business Listing Tile */
.tile-member-business-listings .weandco-details li {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tile-member-business-listings .weandco-details li:hover {
  transform: translateY(-4px);
  border-color: #1c6dd0;
  box-shadow: 0 6px 16px rgba(28,109,208,0.15);
  background: #f9fbff;
}

/* Listing Image */
.tile-member-business-listings .listing-thumb {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Listing Title */
.tile-member-business-listings li strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c3a80;
  display: block;
  margin-bottom: 8px;
}

/* Edit Listing Link */
.tile-member-business-listings .listing-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #007d82;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.tile-member-business-listings .listing-edit-link:hover {
  color: #1c6dd0;
  text-decoration: underline;
}

/* Icon alignment */
.tile-member-business-listings .listing-edit-link i {
  font-size: 1.1rem;
}

/* Add Listing Badge */
.add-listing-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1c6dd0, #0ea5e9);
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  margin: 1rem auto;
  transition: all 0.3s ease;
}

.add-listing-badge:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #007d82, #1c3a80);
}

/* Responsive */
@media (max-width: 768px) {
  .tile-member-business-listings .weandco-details li {
    width: 100%;
  }
}

/* =========================================================
   WE&CO — My Business Listing Tiles (match Huddle Events)
   ========================================================= */

/* Each listing matches event tile layout */
.weandco-business-article {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 20px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.weandco-business-article:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  border-color: #1c6dd0;
}

/* Image column */
.weandco-business-article .mec-event-image-wrap {
  width: 35%;
  max-width: 250px;
  margin: 0 auto;
}

.weandco-business-article .mec-event-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.weandco-business-article .mec-event-image-wrap img:hover {
  transform: scale(1.03);
}

/* Content column */
.weandco-business-article .mec-event-content {
  width: 65%;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Business title */
.weandco-business-article .mec-event-title a {
  color: #1c3a80;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.weandco-business-article .mec-event-title a:hover {
  color: #007d82;
  text-decoration: underline;
}

/* Edit button matches other tiles */
.weandco-business-article .weandco-btn {
  background: linear-gradient(135deg, #007d82, #1c3a80);
  color: #fff !important;
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.weandco-business-article .weandco-btn:hover {
  background: linear-gradient(135deg, #1c3a80, #007d82);
  transform: translateY(-2px);
}

/* Responsive stacking on small screens */
@media (max-width: 768px) {
  .weandco-business-article {
    flex-direction: column;
    text-align: center;
  }

  .weandco-business-article .mec-event-image-wrap,
  .weandco-business-article .mec-event-content {
    width: 100%;
    padding-left: 0;
  }

  .weandco-business-article .mec-event-content {
    margin-top: 1rem;
  }
}
.weandco-qr-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #dce3ef;
  border-radius: 50%;
  cursor: pointer;
  color: #1c3a80;
  font-size: 18px;
  padding: 6px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all .2s ease;
  z-index: 2;
}
.weandco-qr-toggle:hover {
 
  
  transform: scale(1.1);
}

/* =======================================================
   We&Co Directorist Theme
   Matches Huddles + MEC + Overall Site Styling
   ======================================================= */

/* --- Base Reset --- */
.atbd_wrapper,
.atbd_content_active {
  background: #fafbfd;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
}

/* --- Listing Cards --- */
.atbd_listing_card,
.atbd_single_listing {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.atbd_listing_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(28,58,128,0.15);
}

/* --- Listing Image --- */
.atbd_listing_thumbnail img {
  border-radius: 14px 14px 0 0;
  object-fit: cover;
  height: 240px;
  width: 100%;
  display: block;
}

/* --- Listing Title --- */
.atbd_listing_title a {
  color: #1C3A80;
  font-weight: 700;
  font-size: 1.25em;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.atbd_listing_title a:hover {
  color: #0EA5E9;
  text-decoration: none;
}

/* --- Meta & Details --- */
.atbd_meta span {
  color: #666;
  font-size: 0.9em;
}

.atbd_listing_info {
  padding: 10px 15px;
}

/* --- Action Buttons --- */
.atbdp_action_button,
.atbd-btn,
.atbdp-save-btn,
.btn-primary {
  background: linear-gradient(135deg, #1C3A80, #0EA5E9);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(28,58,128,0.3);
}

.atbdp_action_button:hover,
.atbd-btn:hover,
.atbdp-save-btn:hover,
.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* --- Share/QR Icon --- */
.weandco-qr-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #1C3A80, #0EA5E9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform .2s ease, opacity .2s ease;
}

.weandco-qr-toggle::after {
  content: "•";
  color: #EAB308;
  font-size: 24px;
  position: absolute;
  top: -4px;
  right: -4px;
}

.weandco-qr-toggle:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* --- Hidden QR Popup --- */
.weandco-qr-wrap {
  display: none;
  text-align: center;
  margin-top: 12px;
}

.weandco-qr-wrap img {
  max-width: 140px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* =========================================================
   WE&CO — KPI Header Integration (Icon + Title + Gradient Tag)
   ========================================================= */

/* ✅ 1. Header row for each KPI tile */
.weandco-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  position: relative;
  padding: 0 0.25rem;
}

/* Left side: icon + title */
.weandco-stat-header span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1c3a80;
  display: flex;
  align-items: center;
  gap: 8px;
}

.weandco-stat-header i.bb-icon {
  font-size: 1.4rem;
  color: #007d82; /* teal-blue accent */
  transition: transform 0.25s ease, color 0.25s ease;
}

.weandco-stat-header i.bb-icon:hover {
  color: #0ea5e9;
  transform: scale(1.15);
}

/* ✅ 2. KPI tag gradient update */


/* ✅ 3. Ensure KPI tiles flow with this header */
.weandco-stat {
  padding-top: 2.2rem; /* adds space for icon header row */
}

/* ✅ 4. Optional: subtext spacing harmony */
.weandco-stat small.weandco-subtext {
  margin-top: 0.35rem;
  font-weight: 500;
  color: #4b5563;
}

/* ✅ 5. Subtle hover polish for KPI icons */
.weandco-stat-header i.bb-icon::before {
  transition: all 0.25s ease;
}

/* 🔹 Make Huddle intro headers black instead of gray */
.weandco-huddle-intro-header h2,
.weandco-huddle-intro-header h2 i,
.weandco-huddle-intro-header .weandco-time {
  color: #000000 !important;
}

/* Optional: make section headers consistent too */
.weandco-huddle-intro-section h3,
.weandco-huddle-intro-section h3 i,
.weandco-huddle-intro-section .weandco-time {
  color: #000000 !important;
}
/* Subtle section dividers for dashboard */
.weandco-section-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1c3a80;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  opacity: 0.85;
}
.weandco-section-divider i {
  font-size: 1.3rem;
  background: linear-gradient(135deg, #007d82, #1c3a80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =======================================================
   WE&CO — My Subscriptions Section
   ======================================================= */
.weandco-subscription-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.weandco-subscription-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.weandco-subscription-item:hover {
  background: #fff;
  transform: translateY(-1px);
}

.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sub-header a {
  color: #1c3a80;
  font-weight: 600;
  text-decoration: none;
}

.sub-header a:hover {
  text-decoration: underline;
}

.sub-status {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-transform: capitalize;
  font-weight: 600;
  color: #fff;
}

.status-active { background: #16a34a; }
.status-pending { background: #f59e0b; }
.status-cancelled,
.status-suspended { background: #dc2626; }

.sub-body div {
  color: #374151;
  font-size: 0.9rem;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.weandco-btn.available-plans-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #007d82, #1c3a80);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.weandco-btn.available-plans-link:hover {
  background: linear-gradient(135deg, #00666a, #183069);
  transform: translateY(-1px);
}
.weandco-membership-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.weandco-membership-list .membership-item {
  padding: 8px 12px;
  border-left: 3px solid #0ea5e9;
  margin-bottom: 10px;
  background: #f9fafc;
  border-radius: 6px;
  line-height: 1.4;
}
.weandco-membership-list .membership-item strong {
  color: #1c3a80;
}

/* Grid layout */
.weandco-announcement-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 20px 0;
}

/* Card */
.weandco-announcement-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Image */
.weandco-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Title */
.weandco-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 14px 16px 6px;
    color: #222;
}

/* Meta block */
.weandco-card-meta {
    margin: 4px 16px 12px;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4rem;
}

.weandco-card-meta div i {
    margin-right: 6px;
    color: #1c3a80; /* We&Co blue */
}

/* QR block (always visible) */
.weandco-card-qr {
    margin: 0 auto;
    text-align: center;
    margin-top: auto;
}

.weandco-card-qr img {
    width: 130px;
    height: auto;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.weandco-card-qr .qr-label {
    display: block;
    font-size: 0.75rem;
    color: #444;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
