/* Claimed-profile flag: clickable "Claimed profile • Mon YYYY" badge +
   info popup on the partner link detail page (single-vd_link.php). */

/* The verified flag is a <button> now — override the non-clickable look
   from link-detail.css (loaded earlier). */
.vd-claim-flag.is-verified {
	cursor: pointer;
}
.vd-claim-flag.is-verified:hover {
	box-shadow: 0 1px 4px rgba(17, 24, 39, .12);
}
.vd-claim-flag.is-verified[aria-expanded="true"] {
	box-shadow: 0 1px 4px rgba(17, 24, 39, .12);
}

/* Popup is anchored to the badge itself (wrapper = badge-sized flex item). */
.vd-claimed-wrap {
	position: relative;
	margin-left: auto;
}
.vd-claimed-pop {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 40;
	width: min(360px, calc(100vw - 48px));
	background: #fff;
	border: 1px solid var(--vd-border, #e5e7eb);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
	padding: 18px 20px 16px;
	text-align: left;
}
.vd-claimed-pop-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 26px;
	height: 26px;
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	border-radius: 6px;
	padding: 0;
}
.vd-claimed-pop-close:hover {
	background: #f3f4f6;
	color: #111827;
}
.vd-claimed-pop-text {
	margin: 0 24px 12px 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: #374151;
}
.vd-claimed-pop-div {
	border: 0;
	border-top: 1px solid var(--vd-border, #e5e7eb);
	margin: 0 0 12px;
}
.vd-claimed-pop-title {
	margin: 0 0 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: #111827;
}
.vd-claimed-pop-sub {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}
.vd-claimed-pop-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.vd-claimed-pop-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	line-height: 1.45;
	color: #374151;
}
.vd-claimed-pop-ic {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1.5px solid #9ca3af;
	color: #6b7280;
}

@media (max-width: 768px) {
	.vd-claimed-wrap {
		margin-left: 0;
	}
	.vd-claimed-pop {
		right: 0;
		left: 0;
		width: auto;
	}
}
