/* csinfo Subscriptions — popup styles. Neutral magazine aesthetic, no heavy shadows. */

/* Centered card overlay */
.csinfo-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 24, 30, 0.55);
	padding: 20px;
	box-sizing: border-box;
}
.csinfo-popup-overlay .csinfo-popup-inner {
	position: relative;
	max-width: 440px;
	width: 100%;
	border-radius: 10px;
	padding: 30px 30px 22px;
	border: 1px solid #e3e6ea;
	background: #ffffff;
	box-sizing: border-box;
}

/* Slide-in corner */
.csinfo-popup-slidein {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	max-width: 360px;
	width: calc(100% - 40px);
	box-sizing: border-box;
}
.csinfo-popup-slidein .csinfo-popup-inner {
	position: relative;
	border-radius: 10px;
	padding: 24px 22px 20px;
	border: 1px solid #e3e6ea;
	background: #ffffff;
}

/* Bottom bar */
.csinfo-popup-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	box-sizing: border-box;
}
.csinfo-popup-bar .csinfo-popup-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 60px 14px 24px;
	border-top: 1px solid #e3e6ea;
	background: #ffffff;
	flex-wrap: wrap;
}
.csinfo-popup-bar .csinfo-bar-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 220px;
	min-width: 200px;
}
.csinfo-popup-bar .csinfo-bar-form {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 2 1 320px;
}
.csinfo-popup-bar .csinfo-bar-form .csinfo-field {
	margin: 0;
	flex: 1;
}
.csinfo-popup-bar .csinfo-bar-form .csinfo-submit {
	flex: 0 0 auto;
}

/* Shared */
.csinfo-popup-inner h2,
.csinfo-popup-inner h3 {
	margin: 0 0 10px 0;
	font-size: 22px;
	line-height: 1.3;
	color: #1c1e21;
	font-weight: 700;
}
.csinfo-popup-subtext {
	margin: 0 0 16px 0;
	color: #5a5f66;
	font-size: 15px;
	line-height: 1.55;
}
.csinfo-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #8a8f98;
	cursor: pointer;
	padding: 4px 8px;
}
.csinfo-popup-close:hover {
	color: #1c1e21;
}
.csinfo-popup-form .csinfo-field {
	margin: 0 0 12px 0;
}
.csinfo-popup-form input[type="email"],
.csinfo-popup-form input[type="text"] {
	width: 100%;
	padding: 11px 14px;
	font-size: 15px;
	border: 1px solid #ccd0d5;
	border-radius: 6px;
	box-sizing: border-box;
	background: #fff;
}
.csinfo-popup-form input[type="email"]:focus,
.csinfo-popup-form input[type="text"]:focus {
	border-color: var(--csinfo-brand, #1a73e8);
	outline: none;
}
.csinfo-popup-form button[type="submit"] {
	width: 100%;
	padding: 12px 18px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}
.csinfo-popup-form button[type="submit"]:hover {
	filter: brightness(0.94);
}
.csinfo-popup-form button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: wait;
}
.csinfo-popup-bar .csinfo-popup-form button[type="submit"] {
	width: auto;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.csinfo-popup-overlay .csinfo-popup-inner {
		padding: 26px 20px 22px;
	}
	.csinfo-popup-slidein {
		right: 10px;
		bottom: 10px;
		width: calc(100% - 20px);
	}
	.csinfo-popup-bar .csinfo-popup-inner {
		padding: 12px 48px 12px 16px;
	}
}


