/* Single Supporter template */

.bazrbaroon-supporter-single {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 3rem;
	box-sizing: border-box;
	margin-top: -150px;
}

.bazrbaroon-supporter__hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 2rem;
}

.bazrbaroon-supporter__avatar {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 1.25rem;
	flex-shrink: 0;
}

.bazrbaroon-supporter__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.bazrbaroon-supporter__title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.bazrbaroon-supporter__content {
	margin-top: 1.5rem;
	line-height: 1.8;
}

.bazrbaroon-supporter__certificate {
	text-align: justify;
	direction: rtl;
}

.bazrbaroon-supporter__certificate p {
	margin: 0 0 1rem;
}

.bazrbaroon-supporter__certificate p:last-child {
	margin-bottom: 0;
}

.bazrbaroon-supporter__registered-at {
	margin: 1.5rem 0 0;
	text-align: left;
	direction: ltr;
	font-size: 0.95rem;
	color: #444;
}

.bazrbaroon-supporter__qr {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.bazrbaroon-supporter__qr img,
.bazrbaroon-supporter__qr canvas {
	width: 160px;
	height: 160px;
	display: block;
}

@media (max-width: 480px) {
	.bazrbaroon-supporter__avatar {
		width: 140px;
		height: 140px;
	}
}

/* Floating collaboration button */

.bazrbaroon-fab {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 0.5rem;
	direction: rtl;
}

.bazrbaroon-fab__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	direction: ltr;
}

.bazrbaroon-fab__toggle {
	appearance: none;
	border: 2px solid #20997a;
	cursor: pointer;
	background: #fff;
	color: #20997a;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bazrbaroon-fab__toggle:hover,
.bazrbaroon-fab__toggle:focus-visible {
	background: #e8f6f1;
	color: #1a8268;
	outline: none;
}

.bazrbaroon-fab__toggle[aria-expanded="true"] {
	background: #e8f6f1;
	box-shadow: 0 4px 14px rgba(32, 153, 122, 0.25);
}

.bazrbaroon-fab__support {
	display: inline-block;
	background: #20997a;
	color: #fff;
	border: 2px solid #20997a;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(32, 153, 122, 0.35);
	transition: background 0.2s ease, color 0.2s ease;
}

.bazrbaroon-fab__support:hover,
.bazrbaroon-fab__support:focus-visible {
	background: #1a8268;
	border-color: #1a8268;
	color: #fff;
	outline: none;
}

.bazrbaroon-fab__menu {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 12.5rem;
	padding: 0.4rem;
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
	margin-left: auto;
}

.bazrbaroon-fab__menu[hidden] {
	display: none;
}

.bazrbaroon-fab__link {
	display: block;
	padding: 0.7rem 0.95rem;
	border-radius: 0.75rem;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	text-align: right;
	transition: background 0.15s ease, color 0.15s ease;
}

.bazrbaroon-fab__link:hover,
.bazrbaroon-fab__link:focus-visible {
	background: #e8f6f1;
	color: #20997a;
	outline: none;
}

@media (max-width: 480px) {
	.bazrbaroon-fab {
		right: 1rem;
		bottom: 1rem;
	}

	.bazrbaroon-fab__toggle,
	.bazrbaroon-fab__support {
		font-size: 0.875rem;
		padding: 0.75rem 1.1rem;
	}
}
