/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Member list: role badges (wpee_member_list_after_member_avatar) */
.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .img-holder {
	position: relative;
}

.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-expert-badge,
.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge,
.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

/* Meet Me widget: Expert pill (wpee_meet_me_after_member_avatar) */
.meet-to-info .dsp-meetme-image,
.wpee-meet-me-box .dsp-meetme-image {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.meet-to-info .dsp-meetme-image .wpdating-ca-member-expert-badge,
.wpee-meet-me-box .dsp-meetme-image .wpdating-ca-member-expert-badge,
.meet-to-info .dsp-meetme-image .wpdating-ca-member-mentor-badge,
.wpee-meet-me-box .dsp-meetme-image .wpdating-ca-member-mentor-badge,
.meet-to-info .dsp-meetme-image .wpdating-ca-member-member-badge,
.wpee-meet-me-box .dsp-meetme-image .wpdating-ca-member-member-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

/* Profile: I Viewed / Viewed Me tabs (wpee_i_viewed_after_member_avatar, wpee_viewed_me_after_member_avatar) */
#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .img-holder,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .img-holder {
	position: relative;
}

#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-expert-badge,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-expert-badge,
#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge,
#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge,
.meet-to-info .dsp-meetme-image .wpdating-ca-member-mentor-badge,
.wpee-meet-me-box .dsp-meetme-image .wpdating-ca-member-mentor-badge,
#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-mentor-badge {
	background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.wpee-member-list-content .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge,
.meet-to-info .dsp-meetme-image .wpdating-ca-member-member-badge,
.wpee-meet-me-box .dsp-meetme-image .wpdating-ca-member-member-badge,
#m_list_i_viewed .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge,
#m_list_viewed_me .main-member-list-wrap .member-detail-wrap .wpdating-ca-member-member-badge {
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Profile header: role badges (wpee_profile_header_after_username_row) — own & others’ profiles */
.profile-user-details .user-info-wrapper .wpdating-ca-profile-expert-row,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-mentor-row,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-row {
	margin-top: 0.45rem;
	margin-bottom: 0.1rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-expert-badge--header,
.wpdating-ca-profile-expert-row .wpdating-ca-profile-expert-badge--header,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-mentor-badge--header,
.wpdating-ca-profile-mentor-row .wpdating-ca-profile-mentor-badge--header,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-badge--header,
.wpdating-ca-profile-member-row .wpdating-ca-profile-member-badge--header {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.7rem 0.3rem 0.55rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #172554 100%);
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow:
		0 2px 10px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-mentor-badge--header,
.wpdating-ca-profile-mentor-row .wpdating-ca-profile-mentor-badge--header {
	background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 55%, #3b0764 100%);
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-badge--header,
.wpdating-ca-profile-member-row .wpdating-ca-profile-member-badge--header {
	background: linear-gradient(135deg, #10b981 0%, #047857 55%, #064e3b 100%);
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-expert-badge__icon,
.wpdating-ca-profile-expert-row .wpdating-ca-profile-expert-badge__icon,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-mentor-badge__icon,
.wpdating-ca-profile-mentor-row .wpdating-ca-profile-mentor-badge__icon,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-badge__icon,
.wpdating-ca-profile-member-row .wpdating-ca-profile-member-badge__icon {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
	box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.4);
	flex-shrink: 0;
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-expert-badge__text,
.wpdating-ca-profile-expert-row .wpdating-ca-profile-expert-badge__text,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-mentor-badge__text,
.wpdating-ca-profile-mentor-row .wpdating-ca-profile-mentor-badge__text,
.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-badge__text,
.wpdating-ca-profile-member-row .wpdating-ca-profile-member-badge__text {
	position: relative;
	top: 0.02em;
}

.profile-user-details .user-info-wrapper .wpdating-ca-profile-member-badge__icon,
.wpdating-ca-profile-member-row .wpdating-ca-profile-member-badge__icon {
	background: linear-gradient(180deg, #a7f3d0 0%, #34d399 100%);
	box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.45);
}

/* .wpdating-ca-profile-expert-row .wpdating-ca-profile-expert-badge__text {
	position: relative;
	top: 0.02em;
}

.wpdating-ca-profile-expert-row .wpdating-ca-profile-expert-badge__icon {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
	box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.4);
	flex-shrink: 0;
} */

/* Meet Me + Members list: profile questions under title (badges + <mark> for answers) */
.wpdating-ca-profile-header-qa {
	margin-top: 0.35rem;
	margin-bottom: 0.25rem;
	padding-top: 0.4rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.75rem;
	line-height: 1.45;
	color: #374151;
	text-align: left;
}

.wpdating-ca-profile-header-qa__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.wpdating-ca-profile-header-qa__item {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.wpdating-ca-profile-header-qa--answer-only .wpdating-ca-profile-header-qa__item {
	gap: 0.3rem;
}

.wpdating-ca-ph-line {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
}

.wpdating-ca-ph-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	font-size: 0.58rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	border: 1px solid transparent;
}

/* Question pill: neutral */
.wpdating-ca-ph-badge--q {
	color: #1e293b;
	background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
	border-color: rgba(15, 23, 42, 0.12);
}

/* Answer pill label — pairs with job-title style answer */
.wpdating-ca-ph-badge--a {
	color: #f1f5f9;
	background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
	border-color: rgba(241, 245, 249, 0.18);
	box-shadow:
		0 1px 3px rgba(15, 23, 42, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wpdating-ca-ph-question {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	color: #1f2937;
	font-size: 0.72rem;
	line-height: 1.35;
}

/*
 * Answer: “job title / headline” — CV-style emphasis (left rule, paper field, strong type).
 */
mark.wpdating-ca-ph-answer {
	flex: 1;
	min-width: 0;
	margin: 0;
	display: inline-block;
	padding: 0.5rem 0.75rem 0.5rem 0.85rem;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-transform: none;
	color: #0c1222;
	background: linear-gradient(105deg, #eef2f6 0%, #f7f8fa 35%, #fafbfc 70%, #ffffff 100%);
	border: 1px solid rgba(30, 58, 95, 0.14);
	border-left: 3px solid #1e3a5f;
	border-radius: 0 10px 10px 0;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	font-variant-numeric: tabular-nums;
	text-rendering: optimizeLegibility;
}

.wpdating-ca-profile-header-qa--answer-only .wpdating-ca-ph-line--answer {
	align-items: stretch;
}

.wpdating-ca-profile-header-qa--answer-only mark.wpdating-ca-ph-answer {
	width: 100%;
	box-sizing: border-box;
}

.wpdating-ca-profile-header-qa .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.wpdating-ca-profile-header-qa {
	order: -1;
}

span[data-label="member-country"], span[data-label="member-state"], span[data-label="member-city"] {
    display: none !important;
}

.wpdating-ca-profile-header-qa {
	order: -1;
}

span[data-label="member-country"], span[data-label="member-state"], span[data-label="member-city"] {
    display: none !important;
}

.member-detail-wrap .member-user-name{
	margin-top: -35px;
}

.wpee-member-list-content .user-detail-content p > [class^="gender-"] + span[data-label="member-label"] {
	display: none;
}

.member-list-tab-content .user-detail-content p > [class^="gender-"] + span[data-label="member-label"] {
	display: none;
}

.user-detail-content p > [class^="gender-"] + span[data-label="member-label"] {
	display: none;
}

/* Registration: Display Anonymous username option */
.wpee-register-form-wrap #wpee-registration-form .register-anonymous-username-group.wpdating-ca-register-anonymous-option,
#wpee-registration-form .register-anonymous-username-group.wpdating-ca-register-anonymous-option {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	margin: 8px 0 20px;
	padding: 0;
}

.wpdating-ca-register-anonymous-option__card {
	align-items: center;
	width: 100%;
	padding: 14px 16px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-sizing: border-box;
}

.wpdating-ca-register-anonymous-option__card:hover {
	border-color: rgba(223, 23, 86, 0.35);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.wpdating-ca-register-anonymous-option__body {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.wpdating-ca-register-anonymous-option__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	color: #475569;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.wpdating-ca-register-anonymous-option__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wpdating-ca-register-anonymous-option__title {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: #0f172a;
}

.wpdating-ca-register-anonymous-option__hint {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.45;
	color: #64748b;
}

.wpdating-ca-register-anonymous-option__switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.wpdating-ca-register-anonymous-option__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wpdating-ca-register-anonymous-option__slider {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 26px;
	background: #cbd5e1;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.wpdating-ca-register-anonymous-option__slider::before {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
	transition: transform 0.2s ease;
}

.wpdating-ca-register-anonymous-option__input:focus-visible + .wpdating-ca-register-anonymous-option__slider {
	outline: 2px solid #df1756;
	outline-offset: 2px;
}

.wpdating-ca-register-anonymous-option__input:checked + .wpdating-ca-register-anonymous-option__slider {
	background: linear-gradient(135deg, #df1756 0%, #b91347 100%);
}

.wpdating-ca-register-anonymous-option__input:checked + .wpdating-ca-register-anonymous-option__slider::before {
	transform: translateX(20px);
}

.register-anonymous-username-group.wpdating-ca-register-anonymous-option:has(.wpdating-ca-register-anonymous-option__input:checked) .wpdating-ca-register-anonymous-option__card {
	border-color: rgba(223, 23, 86, 0.45);
	background: linear-gradient(135deg, #fff5f8 0%, #fdf2f6 100%);
}

.register-anonymous-username-group.wpdating-ca-register-anonymous-option:has(.wpdating-ca-register-anonymous-option__input:checked) .wpdating-ca-register-anonymous-option__icon {
	color: #df1756;
	border-color: rgba(223, 23, 86, 0.2);
}

.register-anonymous-username-group.form-group-error .wpdating-ca-register-anonymous-option__card {
	border-color: #dc2626;
	box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}

.register-anonymous-username-group.form-group-error .input-error {
	display: block;
	width: 100%;
	margin-top: 8px;
	font-size: 0.8125rem;
	color: #dc2626;
}

@media screen and (max-width: 480px) {
	.wpdating-ca-register-anonymous-option__card {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.wpdating-ca-register-anonymous-option__switch {
		margin-left: 52px;
	}
}

/* Account settings: anonymous display name toggle */
.setting-page-account .wpdating-ca-account-anonymous-option {
	width: 100%;
	margin: 12px 0 24px;
	padding: 0;
}

.setting-page-account .wpdating-ca-account-anonymous-option__field-label {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	font-weight: 600;
	color: #0f172a;
}

.setting-page-account .wpdating-ca-account-anonymous-option__card {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 14px 16px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
}

.setting-page-account .wpdating-ca-account-anonymous-option__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.setting-page-account .wpdating-ca-account-anonymous-option__title {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: #0f172a;
}

.setting-page-account .wpdating-ca-account-anonymous-option__hint {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.45;
	color: #64748b;
}

.setting-page-account .wpdating-ca-account-anonymous-option__preview {
	display: block;
	margin-top: 4px;
	font-size: 0.8125rem;
	color: #475569;
}

.setting-page-account .wpdating-ca-account-anonymous-option__preview strong {
	color: #0f172a;
	font-weight: 700;
}

.setting-page-account .wpdating-ca-account-anonymous-option__switch {
	margin: 0;
	width: auto;
}

.setting-page-account .wpdating-ca-account-anonymous-option__card:has(.wpdating-ca-register-anonymous-option__input:checked) {
	border-color: rgba(223, 23, 86, 0.35);
	background: linear-gradient(135deg, #fff5f8 0%, #fdf2f6 100%);
}

.setting-page-account .wpdating-ca-account-password-section {
	width: 100%;
	margin: 4px 0 18px;
	padding: 0;
}

.setting-page-account .wpdating-ca-account-password-info {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
	border: 1px solid rgba(37, 99, 235, 0.2);
	border-left: 4px solid #3b82f6;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
	box-sizing: border-box;
}

.setting-page-account .wpdating-ca-account-password-info__content {
	flex: 1;
	min-width: 0;
}

.setting-page-account .wpdating-ca-account-password-info__title {
	display: block;
	margin: 0 0 4px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1e3a8a;
}

.setting-page-account .wpdating-ca-account-password-info__text {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: #475569;
}

.setting-page-account .wpdating-ca-optional-label {
	font-weight: 400;
	color: #94a3b8;
}