/**
 * Bio Sites — standalone microsite themes + the profile editor.
 *
 * @package BikerCommunity
 */

/* ----------------------------- Microsite -------------------------- */

.biker-bio {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 3rem 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.biker-bio * {
	box-sizing: border-box;
}

.biker-bio__card {
	width: 100%;
	max-width: 480px;
	text-align: center;
}

.biker-bio__avatar img {
	width: 132px;
	height: 132px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.biker-bio__name {
	margin: 1rem 0 0.15rem;
	font-size: 1.6rem;
	font-weight: 800;
}

.biker-bio__headline {
	margin: 0 0 0.35rem;
	opacity: 0.9;
	font-size: 1.02rem;
}

.biker-bio__location {
	margin: 0 0 0.5rem;
	opacity: 0.75;
	font-size: 0.9rem;
}

.biker-bio__about {
	margin: 0.5rem auto 1.25rem;
	max-width: 400px;
	opacity: 0.85;
	line-height: 1.5;
}

.biker-bio__links {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: 1.25rem;
}

.biker-bio__link {
	display: block;
	padding: 0.95rem 1rem;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.16);
	color: inherit;
	border: 1px solid rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(4px);
	transition: transform 0.08s ease, background 0.15s ease;
}

.biker-bio__link:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.28);
}

.biker-bio__footer {
	margin-top: 2.5rem;
	font-size: 0.8rem;
	opacity: 0.7;
}

.biker-bio__footer a {
	color: inherit;
	text-decoration: none;
}

/* ------------------------------ Themes ---------------------------- */

.biker-bio--midnight {
	background: linear-gradient(160deg, #0f2027, #203a43, #2c5364);
	color: #ffffff;
}

.biker-bio--sunset {
	background: linear-gradient(160deg, #ff512f, #dd2476);
	color: #ffffff;
}

.biker-bio--forest {
	background: linear-gradient(160deg, #134e5e, #71b280);
	color: #ffffff;
}

.biker-bio--ocean {
	background: linear-gradient(160deg, #2193b0, #6dd5ed);
	color: #05323f;
}

.biker-bio--ocean .biker-bio__link,
.biker-bio--mono .biker-bio__link {
	background: rgba(0, 0, 0, 0.06);
	border-color: rgba(0, 0, 0, 0.12);
	color: inherit;
}

.biker-bio--ocean .biker-bio__link:hover,
.biker-bio--mono .biker-bio__link:hover {
	background: rgba(0, 0, 0, 0.12);
}

.biker-bio--mono {
	background: #f4f5f7;
	color: #111318;
}

.biker-bio--mono .biker-bio__avatar img {
	border-color: #ffffff;
}

/* ------------------------------ Editor ---------------------------- */

.biker-bioedit__url {
	font-size: 0.9rem;
	word-break: break-all;
}

.biker-bioedit__links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.biker-bioedit__row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.biker-bioedit__row .form-control {
	flex: 1;
}

.biker-bioedit__row input[name="link_title[]"] {
	max-width: 40%;
}

.biker-bioedit__remove {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(220, 53, 69, 0.12);
	color: #dc3545;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.biker-bioedit__remove:hover {
	background: rgba(220, 53, 69, 0.22);
}
