/* ===========================================================================
   DETAIL PUBLISHER — Publisher card, verified badges, owner edit
   Petz.gr — All petz-exclusive, 0 !important
   =========================================================================== */

/* ── Publisher info ──────────────────────────────────────── */

.fp-publisher {
	text-align: center;
	font-size: 0.9rem;
	color: var(--petz-text-medium);
	margin-bottom: 16px;
}

.fp-publisher a {
	color: var(--mds-color-main);
	font-weight: 600;
}

/* ── Publisher card ──────────────────────────────────────── */

.petz-publisher-card {
	margin: 15px 0;
	padding: 12px;
	border-radius: 10px;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
}

.petz-publisher-card.private-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
}

.petz-publisher-card .user-avatar-sm {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.petz-publisher-card .user-name-link {
	font-weight: 600;
	color: #333;
	text-decoration: none;
}

.petz-publisher-card .user-name-link:hover {
	color: var(--petz-primary, #5cb85c);
}

/* ── Organization card ───────────────────────────────────── */

.petz-publisher-card.org-card {
	text-align: center;
	padding: 15px;
}

.petz-publisher-card .org-logo-wrapper {
	margin-bottom: 10px;
}

.petz-publisher-card .org-logo {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--petz-primary, #5cb85c);
}

.petz-publisher-card .org-info {
	margin-bottom: 10px;
}

.petz-publisher-card .org-name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #212529;
	margin-bottom: 4px;
}

.petz-publisher-card .org-type-badge {
	display: inline-block;
	font-size: 10px;
	padding: 3px 8px;
	background: var(--petz-primary, #5cb85c);
	color: white;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.petz-publisher-card .org-type-badge.service {
	background: #17a2b8;
}

.petz-publisher-card .btn-view-profile {
	background: transparent;
	border: 1px solid var(--petz-primary, #5cb85c);
	color: var(--petz-primary, #5cb85c);
	font-size: 12px;
	font-weight: 600;
	padding: 6px 15px;
}

.petz-publisher-card .btn-view-profile:hover {
	background: var(--petz-primary, #5cb85c);
	color: white;
}

.petz-org-section .petz-publisher-card.org-card {
	background: #ffffff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Owner edit badge — merged from 2 blocks ─────────────── */

.owner-edit-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 100;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.25s ease;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.owner-edit-badge:hover {
	background: var(--petz-primary);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(92, 184, 92, 0.35);
	text-decoration: none;
}

.owner-edit-badge svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

.owner-edit-badge:hover svg {
	stroke: #fff;
	transform: rotate(-5deg);
}

/* ── Verified badge ──────────────────────────────────────── */

.verified-org svg {
	filter: drop-shadow(0 1px 2px rgba(29, 161, 242, 0.3));
}
