/*
 * Tnaqniq — Matrimony directory filters + member meta chips.
 */

/* Filters hook into the flex directory container as a sibling of the list —
   force a full-width row so the listing sits below, not beside. */
.bb-rl-members-directory-container {
	flex-wrap: wrap;
}

.bbat-matrimony-filters {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 14px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e7e7e9);
	border-radius: 8px;
	background: var(--bb-rl-background-color, #fff);
}

.bb-rl-members-directory-container > .bb-rl-members-directory-content {
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
}

.bbat-matrimony-filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.bbat-matrimony-filters__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 120px;
	flex: 1 1 140px;
}

.bbat-matrimony-filters__field--check {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	min-width: auto;
	flex: 0 0 auto;
	padding-bottom: 8px;
	font-size: 0.85rem;
}

.bbat-matrimony-filters__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bb-rl-text-tertiary-color, #6d6d6e);
}

.bbat-matrimony-city-suggest {
	position: relative;
}

.bbat-city-suggest__input,
.bbat-matrimony-filters select {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e7e7e9);
	border-radius: 6px;
	background: var(--bb-rl-background-color, #fff);
	color: var(--bb-rl-text-color, #0c0c0d);
	font-size: 0.875rem;
}

.bbat-city-suggest__list {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	right: 0;
	margin: 2px 0 0;
	padding: 4px 0;
	max-height: 220px;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--bb-rl-border-secondary-color, #e7e7e9);
	border-radius: 6px;
	background: var(--bb-rl-background-color, #fff);
	box-shadow: 0 8px 20px rgba(12, 12, 13, 0.08);
}

.bbat-city-suggest__list li {
	padding: 8px 10px;
	cursor: pointer;
	font-size: 0.875rem;
}

.bbat-city-suggest__list li:hover,
.bbat-city-suggest__list li:focus {
	background: var(--bb-rl-background-secondary-color, #f3f3f3);
}

.bbat-matrimony-filters__submit {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	background: var(--bb-rl-primary-color, #4946fe);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.bbat-matrimony-filters__submit:hover,
.bbat-matrimony-filters__submit:focus-visible {
	opacity: 0.92;
	outline: none;
}

/* —— Member card / profile meta —— */
.bbat-member-card-meta,
.bbat-profile-extra-fields {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	box-sizing: border-box;
	text-align: center;
}

.bbat-member-card-meta__statusline,
.bbat-profile-extra-fields__statusline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0.8125rem;
	color: var(--bb-rl-text-secondary-color, #4e4e50);
}

.bbat-member-card-meta__presence,
.bbat-profile-extra-fields__presence {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.bbat-member-card-meta__dot,
.bbat-profile-extra-fields__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #9ca3af;
	flex-shrink: 0;
}

.bbat-member-card-meta__presence--online .bbat-member-card-meta__dot,
.bbat-profile-extra-fields__presence--online .bbat-profile-extra-fields__dot {
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.bbat-member-card-meta__sep,
.bbat-profile-extra-fields__sep {
	opacity: 0.45;
}

.bbat-member-card-meta__years,
.bbat-profile-extra-fields__years {
	font-weight: 500;
}

.bbat-member-card-meta__badge,
.bbat-profile-extra-fields__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fde8ea;
	color: #e11d48;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.3;
}

.bbat-member-card-meta__badge-icon {
	display: inline-flex;
	color: #e11d48;
}

.bbat-member-card-meta__login-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 2px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e7e7e9);
	background: var(--bb-rl-background-secondary-color, #f6f6f6);
	color: var(--bb-rl-primary-color, #4946fe);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
}

.bbat-member-card-meta__login-cta:hover,
.bbat-member-card-meta__login-cta:focus-visible {
	background: var(--bb-rl-background-brand-secondary-color, #dde4ff);
	outline: none;
}

.bbat-member-card-meta__bio,
.bbat-profile-extra-fields__bio {
	margin: 0;
	max-width: 100%;
	padding: 0 4px;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--bb-rl-text-secondary-color, #4e4e50);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bbat-member-card-meta__location,
.bbat-profile-extra-fields__location {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff5f5;
	border: 1px solid #f8d7da;
	box-sizing: border-box;
	text-align: left;
}

.bbat-member-card-meta__location-icon,
.bbat-profile-extra-fields__location-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #e11d48;
}

.bbat-member-card-meta__location-text,
.bbat-profile-extra-fields__location-text {
	flex: 1;
	min-width: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--bb-rl-text-color, #0c0c0d);
	text-decoration: none;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

a.bbat-member-card-meta__location-text:hover,
a.bbat-profile-extra-fields__location-text:hover {
	color: #e11d48;
}

.bbat-member-card-meta__facts,
.bbat-profile-extra-fields__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.bbat-member-card-meta__item,
.bbat-profile-extra-fields__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	min-width: 0;
	min-height: 48px;
	padding: 7px 8px;
	border-radius: 10px;
	border: 1px solid var(--bb-rl-border-secondary-color, #ececec);
	background: #fafafa;
	box-sizing: border-box;
	text-align: left;
}

.bbat-member-card-meta__icon,
.bbat-profile-extra-fields__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	flex-shrink: 0;
}

.bbat-member-card-meta--gender .bbat-member-card-meta__icon,
.bbat-profile-extra-fields--gender .bbat-profile-extra-fields__icon {
	background: #efe9ff;
	color: #7c3aed;
}

.bbat-member-card-meta--marital_status .bbat-member-card-meta__icon,
.bbat-profile-extra-fields--marital_status .bbat-profile-extra-fields__icon {
	background: #fde8ea;
	color: #e11d48;
}

.bbat-member-card-meta--monthly_income .bbat-member-card-meta__icon,
.bbat-profile-extra-fields--monthly_income .bbat-profile-extra-fields__icon {
	background: #e8f8ef;
	color: #16a34a;
}

.bbat-member-card-meta--age .bbat-member-card-meta__icon,
.bbat-profile-extra-fields--age .bbat-profile-extra-fields__icon {
	background: #fff6db;
	color: #ca8a04;
}

.bbat-member-card-meta__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	flex: 1 1 auto;
}

.bbat-member-card-meta__label,
.bbat-profile-extra-fields__label {
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bb-rl-text-tertiary-color, #8a8a8e);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bbat-member-card-meta__value,
.bbat-profile-extra-fields__value {
	font-weight: 700;
	font-size: 0.78rem;
	line-height: 1.25;
	color: var(--bb-rl-text-color, #0c0c0d);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.bbat-member-card-meta__footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
	margin-top: 2px;
	padding-top: 12px;
	border-top: 1px solid var(--bb-rl-border-secondary-color, #ececec);
	text-align: left;
}

.bbat-member-card-meta__footer-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.bbat-member-card-meta__footer-icon {
	display: inline-flex;
	margin-top: 2px;
	flex-shrink: 0;
}

.bbat-member-card-meta__footer-item--joined .bbat-member-card-meta__footer-icon {
	color: #e11d48;
}

.bbat-member-card-meta__footer-item--active .bbat-member-card-meta__footer-icon {
	color: #16a34a;
}

.bbat-member-card-meta__footer-copy {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.bbat-member-card-meta__footer-label {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bb-rl-text-tertiary-color, #8a8a8e);
}

.bbat-member-card-meta__footer-value {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bb-rl-text-color, #0c0c0d);
	word-break: break-word;
}

/* Grid: match mockup card look + responsive columns */
.bb-rl-members-directory-content .bb-rl-members ul.bp-list.grid,
.bb-rl-members-directory-container .bb-rl-members ul.bp-list.grid,
.bb-rl-primary-container .bb-rl-members ul.bp-list.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

@media screen and (max-width: 640px) {
	.bb-rl-members-directory-content .bb-rl-members ul.bp-list.grid,
	.bb-rl-members-directory-container .bb-rl-members ul.bp-list.grid,
	.bb-rl-primary-container .bb-rl-members ul.bp-list.grid {
		grid-template-columns: 1fr;
	}
}

.bb-rl-members .bp-list.grid .item-entry:has(.bbat-member-card-meta--matrimony) .list-wrap {
	border: 1px solid #f0d5d8;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	/* Avoid overflow:hidden — it clips Connect/Message tooltips on the left edge. */
	overflow: visible;
}

.bb-rl-members .bp-list.grid .item-entry:has(.bbat-member-card-meta--matrimony) .item-avatar img,
.bb-rl-members .bp-list.grid .item-entry:has(.bbat-member-card-meta--matrimony) .item-avatar .avatar {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(225, 29, 72, 0.45);
}

.bb-rl-members .bp-list.grid .item-entry:has(.bbat-member-card-meta--matrimony) .bb-rl-item-block-assets > .item-meta.bb-rl-item-meta-asset {
	display: none;
}

.bb-rl-members .bp-list.grid .item-entry .bbat-member-card-meta {
	margin-top: 8px;
	padding: 0 2px;
}

/*
 * Connect / Message footer — stacked full-width pills.
 * Theme accent #e11d48.
 * IMPORTANT: .friendship-button exists on BOTH wrapper div and inner <a> —
 * only style the interactive child, never the wrapper (avoids double border).
 */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-member-buttons-wrap {
	width: 100%;
	margin-top: auto;
	padding: 12px 14px 14px;
	border-top: 1px solid #f0d5d8;
	box-sizing: border-box;
	overflow: visible;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-item-actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .button-wrap,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .footer-button-wrap {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	align-items: stretch;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-item-actions.bb-rl-idle-primary .bb-rl-secondary-actions .button-wrap {
	justify-content: stretch;
}

/* Wrappers — no chrome (border lives only on <a>/<button>) */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button.friendship-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button.follow-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions div.friendship-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions div.send-message,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions div.follow-button {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	color: inherit !important;
	min-height: 0 !important;
	height: auto !important;
}

/* Interactive controls only */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.follow-button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.follow-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	height: auto !important;
	min-height: 44px !important;
	max-height: none;
	padding: 12px 18px !important;
	border: 1.5px solid #e11d48 !important;
	outline: none !important;
	border-radius: 999px !important;
	background: #fff !important;
	background-image: none !important;
	color: #e11d48 !important;
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button:focus-visible,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button:focus-visible,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message:focus-visible,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message:focus-visible,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a:focus-visible,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button:focus,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Connect / Request Sent — outline pill */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.follow-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.follow-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a.friendship-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button.friendship-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a.follow-button:hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button.follow-button:hover {
	background: #fff5f5 !important;
	border-color: #be123c !important;
	color: #be123c !important;
	box-shadow: none !important;
}

/* Send Message — solid filled pill */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions button.send-message:not(.bb-rl-send-message-disabled) {
	border-color: #e11d48 !important;
	background: #e11d48 !important;
	background-image: none !important;
	color: #fff !important;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions a.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions button.send-message:not(.bb-rl-send-message-disabled):hover {
	border-color: #be123c !important;
	background: #be123c !important;
	color: #fff !important;
}

/* Not connected — same filled look, not clickable */
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > .bb-rl-send-message-disabled,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions .bb-rl-send-message-disabled {
	pointer-events: none !important;
	cursor: not-allowed !important;
	border-color: #e11d48 !important;
	background: #e11d48 !important;
	background-image: none !important;
	color: #fff !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.follow-button i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.follow-button i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > a i,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions .generic-button > button i {
	display: inline-flex;
	flex-shrink: 0;
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1;
	color: inherit;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.send-message i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.send-message i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.friendship-button i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.friendship-button i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions a.follow-button i::before,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions button.follow-button i::before {
	font-size: 16px !important;
	color: inherit;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions [data-balloon] {
	position: relative;
	overflow: visible;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-secondary-actions [data-balloon]:after {
	z-index: 20;
	white-space: nowrap;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions {
	flex: 0 0 auto;
	width: 100%;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions .primary-action {
	width: 100%;
}

.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions button,
.bb-rl-members .bp-list.grid .item-entry .bb-rl-primary-actions a {
	width: 100%;
	min-height: 44px;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

/*
 * List view — same labeled stacked pills as grid (ReadyLaunch defaults to icon-only).
 */
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-member-buttons-wrap {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: center;
	min-width: 200px;
	max-width: 240px;
	width: 240px;
	padding: 0;
	box-sizing: border-box;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-item-actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .button-wrap,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .footer-button-wrap {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	align-items: stretch;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button.friendship-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button.follow-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions div.friendship-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions div.send-message,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions div.follow-button {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	color: inherit !important;
	min-height: 0 !important;
	height: auto !important;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > a,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.friendship-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.friendship-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.send-message,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.send-message,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.follow-button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.follow-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	height: auto !important;
	min-height: 40px !important;
	padding: 10px 14px !important;
	border: 1.5px solid #e11d48 !important;
	outline: none !important;
	border-radius: 999px !important;
	background: #fff !important;
	background-image: none !important;
	color: #e11d48 !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.friendship-button:hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.friendship-button:hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.follow-button:hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.follow-button:hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > a.friendship-button:hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > button.friendship-button:hover {
	background: #fff5f5 !important;
	border-color: #be123c !important;
	color: #be123c !important;
	box-shadow: none !important;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > button.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions a.send-message:not(.bb-rl-send-message-disabled),
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions button.send-message:not(.bb-rl-send-message-disabled) {
	border-color: #e11d48 !important;
	background: #e11d48 !important;
	background-image: none !important;
	color: #fff !important;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > a.send-message:not(.bb-rl-send-message-disabled):hover,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > button.send-message:not(.bb-rl-send-message-disabled):hover {
	border-color: #be123c !important;
	background: #be123c !important;
	color: #fff !important;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > .bb-rl-send-message-disabled,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions .bb-rl-send-message-disabled {
	pointer-events: none !important;
	cursor: not-allowed !important;
	border-color: #e11d48 !important;
	background: #e11d48 !important;
	background-image: none !important;
	color: #fff !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.send-message i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.send-message i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.friendship-button i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.friendship-button i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.follow-button i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.follow-button i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > a i,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions .generic-button > button i {
	display: inline-flex;
	flex-shrink: 0;
	margin: 0 !important;
	font-size: 0.9375rem !important;
	line-height: 1;
	color: inherit;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.send-message i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.send-message i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.bb-rl-send-message-disabled i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.bb-rl-send-message-disabled i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.friendship-button i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.friendship-button i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions a.follow-button i::before,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-secondary-actions button.follow-button i::before {
	font-size: 15px !important;
	color: inherit;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions {
	width: 100%;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions button,
.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-primary-actions a {
	width: 100%;
	min-height: 40px;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

@media screen and (max-width: 768px) {
	.bb-rl-members .bp-list:not(.grid) .item-entry .bb-rl-member-buttons-wrap {
		margin-left: 0;
		width: 100%;
		max-width: none;
		min-width: 0;
	}
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bbat-member-card-meta {
	align-items: flex-start;
	text-align: left;
	max-width: 460px;
	margin-top: 8px;
}

.bb-rl-members .bp-list:not(.grid) .item-entry .bbat-member-card-meta__statusline,
.bb-rl-members .bp-list:not(.grid) .item-entry .bbat-member-card-meta__badge {
	align-self: flex-start;
}

.bb-rl-members .bp-list:not(.grid) .item-entry:has(.bbat-member-card-meta--matrimony) .bb-rl-item-block-assets > .item-meta.bb-rl-item-meta-asset {
	display: none;
}

.bbat-profile-extra-fields {
	align-items: flex-start;
	text-align: left;
	margin-top: 12px;
}

.bbat-profile-extra-fields .bbat-profile-extra-fields__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
