/* css/pp-verified-label.css */

/* ============================================================
   VERIFIED OVERLAY ON LISTING IMAGES (white checkmark)
   ============================================================ */

.ppv-verified-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 3px 1px 3px rgba(0, 0, 0, 1);
  pointer-events: none;
}

.ppv-verified-text {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1;
}

.ppv-verified-icon {
  margin-left: 5px;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(3px 1px 3px rgb(0 0 0 / 1));
}

/* ============================================================
   PROFILE SHORTCODE STYLES (moved from inline + theme css)
   ============================================================ */

.buddypress-profile-picture {
  position: relative;
  display: inline-block;
  text-align: center;
}

/* Wrapper used to draw a robust gradient ring BEHIND the avatar */
.pp-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  border-radius: 50% !important;
}

/* Gradient ring (4px) */
.pp-profile-avatar-wrap.is-verified::before {
  content: "";
  position: absolute;
  inset: -4px; /* ring thickness */
  border-radius: 50% !important;
  background: linear-gradient(135deg, #5b247a, #1bcedf);
  z-index: 0;
}

/* Avatar image: force true circle */
.buddypress-profile-picture img.profile-picture {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
}

/* Verified label under avatar */
.verification-container {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.verification-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.verified-user-text {
  color: #2e4c71;
  font-weight: bold;
}

/* Shared badge styling (used by shortcode + inline display) */
.verification-badge {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 5px white);
  display: inline-block;
}

/* Inline variant (verification_status_only) */
.pp-verification-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Users table icon (admin) */
.pp-verified-admin-icon {
  width: 22px;
  height: 22px;
}

/* ============================================================
   BUDDYPRESS AVATAR FILTER BADGE (restored original placement)
   - badge is appended after avatar (no absolute positioning)
   ============================================================ */

.pp-bp-avatar-wrap {
  display: inline-block;
}

.pp-bp-verif-badge {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 5px white);
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px; /* subtle spacing, similar to typical inline rendering */
}