.elementor-6833 .elementor-element.elementor-element-af26fc0{--display:flex;}.elementor-6833 .elementor-element.elementor-element-5e19ff9{--display:flex;}.elementor-6833 .elementor-element.elementor-element-f45f3f4 > .elementor-widget-container{margin:-22px 0px 0px 0px;}.elementor-6833 .elementor-element.elementor-element-8e53cde{--display:flex;--margin-top:-38px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-6833 .elementor-element.elementor-element-79c92df{--display:flex;--margin-top:-46px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-6833 .elementor-element.elementor-element-d54dabe{--display:flex;--margin-top:-17px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-6833 .elementor-element.elementor-element-e873dee{--display:flex;--margin-top:-24px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(min-width:768px){.elementor-6833 .elementor-element.elementor-element-af26fc0{--content-width:70%;}.elementor-6833 .elementor-element.elementor-element-5e19ff9{--content-width:70%;}}@media(max-width:1024px) and (min-width:768px){.elementor-6833 .elementor-element.elementor-element-af26fc0{--content-width:90%;}}/* Start custom CSS for shortcode, class: .elementor-element-f45f3f4 *//* === Compact BuddyPress Buttons Under Profile Card === */
.bp-profile-card .bp-profile-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #243b74;
  margin-top: 15px;
  padding-top: 10px;
  gap: 4px !important;
}

/* === Center Avatar === */
.bp-profile-card .bp-profile-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.bp-profile-card .bp-profile-avatar img {
  display: block;
  margin: 0 auto;
}

/* === Remove Margins from Wrappers === */
.bp-profile-card .bp-profile-buttons .generic-button,
.bp-profile-card .bp-profile-buttons .friendship-button,
.bp-profile-card .bp-profile-buttons > span,
.bp-profile-card .bp-profile-buttons > div {
  margin: 0 !important;
  padding: 0 !important;
}

/* === Core Buttons === */
.bp-profile-card .bp-profile-buttons a,
.bp-profile-card .bp-profile-buttons button,
.bp-profile-card .bp-profile-buttons input[type="button"],
.bp-profile-card .bp-profile-buttons input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #243b74 !important;
  color: #fff !important;
  border: 1px solid #3a4fa0 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 1px 0 !important;
}

.bp-profile-card .bp-profile-buttons a:hover,
.bp-profile-card .bp-profile-buttons button:hover {
  background: #3a4fa0 !important;
  border-color: #5168c2 !important;
  transform: translateY(-1px);
}

/* === Icons Alignment === */
.bp-profile-card .bp-profile-buttons i,
.bp-profile-card .bp-profile-buttons svg,
.bp-profile-card .bp-profile-buttons .dashicons {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  line-height: 1 !important;
}

/* === Layout Tweaks === */
.bp-profile-card .bp-profile-top {
  justify-content: center !important;
  align-items: flex-start;
}

.bp-profile-card .bp-profile-buttons {
  align-items: center;
}

.bp-profile-card .bp-profile-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* === Details Colors === */
.bp-profile-card .bp-profile-location,
.bp-profile-card .bp-profile-active {
  color: #ffffff !important;
}

.bp-profile-card .bp-profile-distance {
  color: gold !important;
}

/* === Make "Add Verif." Button Match === */
html body button.bp-verif-trigger.fab,
html body .bp-profile-card button.bp-verif-trigger.fab {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #243b74 !important;
  color: #fff !important;
  border: 1px solid #3a4fa0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  padding: 4px 10px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 2px 4px !important;
}

html body button.bp-verif-trigger.fab:hover,
html body .bp-profile-card button.bp-verif-trigger.fab:hover {
  background: #3a4fa0 !important;
  border-color: #5168c2 !important;
  transform: translateY(-1px);
}

/* === Profile Name (bigger & gold) === */
html body a.bp-profile-name,
html body .bp-profile-card a.bp-profile-name {
  font-size: 2.2em !important;
  font-weight: 800 !important;
  color: gold !important;
  text-transform: capitalize !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
  transition: color 0.25s ease !important;
}

html body a.bp-profile-name:hover,
html body .bp-profile-card a.bp-profile-name:hover {
  color: #ffdf70 !important;
}

/* === Mobile Tweaks === */
@media (max-width: 600px) {
  .bp-profile-card .bp-profile-avatar img {
    width: 120%;
    height: auto;
  }

  .bp-profile-card .bp-profile-buttons {
    margin-left: 15px !important;
    transform: none !important;
  }

  .bp-profile-card .bp-profile-buttons a,
  .bp-profile-card .bp-profile-buttons button,
  html body button.bp-verif-trigger.fab {
    font-size: 12px !important;
    padding: 3px 8px !important;
  }
}

/* === Desktop Tweaks === */
@media (min-width: 1025px) {
  .bp-profile-card .bp-profile-buttons a,
  .bp-profile-card .bp-profile-buttons button {
    font-size: 15px !important;
    padding: 3px 9px !important;
  }
}
/* ✅ FIX: keep buttons NEXT TO the avatar (same row) */
.bp-profile-card .bp-profile-top {
  display: flex !important;
  flex-direction: row !important;   /* same line */
  align-items: center !important;   /* vertical alignment */
  justify-content: center !important;
  gap: 10px !important;             /* space between avatar and buttons */
}

/* stop the avatar from taking the full row */
.bp-profile-card .bp-profile-avatar {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* buttons as a vertical stack to the RIGHT of the avatar */
.bp-profile-card .bp-profile-buttons {
  display: flex !important;
  flex-direction: column !important;  /* vertical column */
  align-items: center !important;      /* or flex-start if you prefer left-aligned */
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: none !important;         /* remove the top divider that created space */
}

/* ensure no mobile rule re-expands them to full width */
@media (max-width: 600px) {
  .bp-profile-card .bp-profile-avatar,
  .bp-profile-card .bp-profile-buttons {
    width: auto !important;
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-0f56a07 *//* === BuddyPress Preferences Display Styling === */
.bp-member-preferences {
  background: #16213E !important;
  border: 1px solid #3a4fa0 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  padding: 12px 16px !important;
  margin-top: 10px !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Title spacing adjustment */
.bp-member-preferences h3 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;   /* ✅ half of 15px → tighter gap */
  color: gold !important;
  font-size: 18px;
  font-weight: 700;
}

/* Each item line */
.bp-member-preferences .pref-item {
  margin-bottom: 6px !important;
  color: #fff !important;
}

/* Highlight labels */
.bp-member-preferences .pref-item strong {
  color: gold !important;
  font-weight: 600 !important;
}

/* Edit Preferences button */
.bp-member-preferences .bp-edit-pref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #243b74 !important;
  color: #fff !important;
  border: 1px solid #3a4fa0 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-top: 8px !important;
  transition: all 0.2s ease !important;
}

.bp-member-preferences .bp-edit-pref-btn:hover {
  background: #3a4fa0 !important;
  border-color: #5168c2 !important;
  transform: translateY(-1px);
}

/* Pref group container */
.bp-member-preferences .pref-group {
  background: rgba(36, 59, 116, 0.3);
  border: 1px solid #3a4fa0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 25px;
}

/* 🖥️ Desktop */
@media (min-width: 1025px) {
  .bp-member-preferences {
    font-size: 14px !important;
    padding: 10px 14px !important;
  }
}

/* 📱 Mobile */
@media (max-width: 600px) {
  .bp-member-preferences {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
  .bp-member-preferences .pref-item {
    margin-bottom: 4px !important;
  }
}/* End custom CSS */