/* ==========================================================================
   CoolHub Push — Frontend Opt-In Prompt & Floating Bell Styles
   ========================================================================== */

.chp-soft-prompt {
	--chp-accent: #0ea5e9;
	position: fixed;
	top: 16px;
	left: 16px;
	width: min(370px, calc(100vw - 32px));
	background: #ffffff;
	color: #0f172a;
	border-radius: 16px;
	padding: 18px 18px 15px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(15, 23, 42, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
	z-index: 100040;
	opacity: 0;
	transform: translateY(-12px) scale(0.97);
	transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

body.admin-bar .chp-soft-prompt {
	top: 48px;
}

.chp-soft-prompt.is-top-center {
	left: 50%;
	transform: translateX(-50%) translateY(-12px) scale(0.97);
}

.chp-soft-prompt.is-top-right {
	left: auto;
	right: 16px;
}

.chp-soft-prompt.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.chp-soft-prompt.is-top-center.is-visible {
	transform: translateX(-50%) translateY(0) scale(1);
}

.chp-soft-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 99px;
	background: transparent;
	color: #64748b;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.chp-soft-close:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.chp-soft-row {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding-right: 22px;
}

.chp-soft-icon,
.chp-soft-bell-ico {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	flex-shrink: 0;
	object-fit: contain;
}

.chp-soft-bell-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(14, 165, 233, 0.12);
	font-size: 20px;
}

.chp-soft-copy strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
	margin-bottom: 4px;
}

.chp-soft-copy p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #475569;
}

.chp-soft-btns {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 14px;
}

.chp-soft-btn {
	border: 0;
	border-radius: 99px;
	padding: 8px 18px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

.chp-soft-btn.is-later {
	background: #f1f5f9;
	color: #334155;
}

.chp-soft-btn.is-later:hover {
	background: #e2e8f0;
}

.chp-soft-btn.is-allow {
	background: var(--chp-accent, #0ea5e9);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.chp-soft-btn.is-allow:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

/* Floating Bell Launcher */
.chp-bell-fab {
	--chp-accent: #0ea5e9;
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(148, 163, 184, 0.24);
	background: #0f172a;
	color: #f8fafc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 99980;
	box-shadow: 0 10px 26px rgba(2, 6, 23, 0.36);
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chp-bell-fab.is-bottom-right {
	left: auto;
	right: 20px;
}

.chp-bell-fab:hover {
	transform: scale(1.06);
	border-color: var(--chp-accent, #0ea5e9);
	color: #38bdf8;
}

.chp-bell-dot {
	position: absolute;
	top: 9px;
	right: 10px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 0 2px #0f172a;
}

.chp-bell-fab.is-subscribed .chp-bell-dot {
	background: #10b981;
}

/* Shortcode Inline Button */
.chp-inline-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 99px;
	border: 1px solid rgba(14, 165, 233, 0.35);
	background: #0ea5e9;
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.18s ease;
}

.chp-inline-btn.is-subscribed {
	background: #10b981;
	border-color: #10b981;
}
