/* FastAI Push Alerts - matches the Powerboat News theme (navy #0f4c75, Barlow Condensed labels, Open Sans text). */

.fapush-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 18px;
	border: 2px solid #0f4c75;
	border-radius: 999px;
	background: #0f4c75;
	color: #fff;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 800;
	font-size: 16px;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}
.fapush-btn:hover,
.fapush-btn:focus-visible { background: #1b6ca8; border-color: #1b6ca8; }
.fapush-btn:focus-visible { outline: 3px solid #87CEEB; outline-offset: 2px; }
.fapush-btn[disabled] { opacity: .7; cursor: default; }
.fapush-btn--ghost { background: transparent; color: #0f4c75; }
.fapush-btn--ghost:hover,
.fapush-btn--ghost:focus-visible { background: #eef5fa; color: #0f4c75; border-color: #0f4c75; }

.fapush-note { margin: 6px 0 0; font-size: 14px; color: #666; }

/* Slide-in card */
.fapush-card {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	width: 360px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 18px 18px 16px;
	background: #fff;
	border-top: 4px solid #0f4c75;
	border-radius: 10px;
	box-shadow: 0 12px 40px rgba(15, 76, 117, .25);
	font-family: 'Open Sans', sans-serif;
	color: #333;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
.fapush-card--in { opacity: 1; transform: none; }
.fapush-card__head { display: flex; align-items: center; gap: 12px; padding-right: 24px; }
.fapush-card__icon { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.fapush-card__title {
	margin: 0;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 800;
	font-size: 21px;
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #0f4c75;
}
.fapush-card__text { margin: 10px 0 14px; font-size: 14.5px; line-height: 1.5; }
.fapush-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fapush-card__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.fapush-card__close:hover,
.fapush-card__close:focus-visible { color: #0f4c75; }

@media (max-width: 640px) {
	.fapush-card {
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
	}
}

/* End-of-article box */
.fapush-box {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 28px 0 8px;
	padding: 16px 18px;
	background: linear-gradient(135deg, #eef6fb 0%, #ffffff 100%);
	border: 1px solid #d6e6f2;
	border-left: 4px solid #0f4c75;
	border-radius: 10px;
	font-family: 'Open Sans', sans-serif;
}
.fapush-box__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #0f4c75;
	color: #fff;
}
.fapush-box__text { flex: 1; min-width: 0; }
.fapush-box__title {
	display: block;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	font-weight: 800;
	font-size: 19px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #0f4c75;
}
.fapush-box__desc { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: #333; }
.fapush-box .fapush-btn { flex: none; }

@media (max-width: 640px) {
	.fapush-box { flex-wrap: wrap; }
	.fapush-box .fapush-btn { width: 100%; }
}

/* [fastai_push_button] */
.fapush-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: 'Open Sans', sans-serif; }
.fapush-ctl__status { font-weight: 600; color: #0f4c75; }

@media (prefers-reduced-motion: reduce) {
	.fapush-card { transition: none; transform: none; }
	.fapush-btn { transition: none; }
}
