.ebm-remind-open { overflow: hidden; }

.ebm-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	width: auto;
}

a.ebm-know-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	flex: 0 0 auto;
	padding: 9px 16px;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 14px rgba(17, 24, 39, 0.16);
}

a.ebm-know-more:hover,
a.ebm-know-more:focus {
	background: #0f766e;
	color: #fff;
}

button.ebm-remind-btn,
button.ebm-trip__remind {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: auto;
	max-width: max-content;
	flex: 0 0 auto;
	margin: 0;
	padding: 9px 14px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(239, 68, 68, 0.24);
}

.ebm-trips--mini button.ebm-trip__remind { padding: 6px 9px; font-size: 11px; }

.ebm-landing-sidebar-remind p {
	margin: 0 0 14px;
}

.ebm-landing-sidebar-remind button.ebm-remind-btn {
	width: auto;
	max-width: max-content;
	align-self: flex-start;
}

.ebm-remind-overlay {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(72, 28, 8, 0.55);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.ebm-remind-overlay.is-open { opacity: 1; }

.ebm-remind-card {
	width: min(440px, 100%);
	padding: 28px 24px 22px;
	text-align: center;
	color: #3b1d0a;
	font-family: "Quicksand", "Segoe UI", sans-serif !important;
	background:
		radial-gradient(circle at 12% 10%, rgba(251, 191, 36, 0.7), transparent 32%),
		radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.45), transparent 28%),
		linear-gradient(165deg, #fff7ed 0%, #fff 55%, #ffedd5 100%);
	border-radius: 28px;
	box-shadow: 0 24px 60px rgba(72, 28, 8, 0.28);
}

.ebm-remind-card--success {
	background:
		radial-gradient(circle at 12% 10%, rgba(52, 211, 153, 0.55), transparent 32%),
		radial-gradient(circle at 90% 0%, rgba(37, 211, 102, 0.4), transparent 28%),
		linear-gradient(165deg, #f0fdf4 0%, #fff 50%, #ecfdf5 100%);
	color: #14532d;
}

.ebm-remind-bell {
	width: 64px;
	height: 64px;
	margin: 0 auto 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #fbbf24, #f97316);
	font-size: 30px;
	box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.ebm-remind-card--success .ebm-remind-bell {
	background: linear-gradient(135deg, #34d399, #059669);
}

.ebm-remind-kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c2410c;
}

.ebm-remind-card h2 {
	margin: 8px 0 10px;
	font-family: "Scope One", "Palatino Linotype", Palatino, serif !important;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.03em;
}
.ebm-remind-note, .ebm-remind-event { margin: 0 0 12px; font-family: "Quicksand", "Segoe UI", sans-serif !important; }
.ebm-remind-event { font-weight: 400; font-size: 17px; }
.ebm-remind-kicker,
.ebm-remind-card label,
.ebm-remind-card input,
.ebm-remind-error,
.ebm-remind-cancel,
.ebm-remind-close,
.ebm-remind-submit,
.ebm-remind-group {
	font-family: "Quicksand", "Segoe UI", sans-serif !important;
}

.ebm-remind-card label {
	display: block;
	margin: 10px 0;
	text-align: left;
	font-size: 13px;
	font-weight: 700;
}

.ebm-remind-card input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #fdba74;
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
}

.ebm-remind-error { color: #b91c1c; font-weight: 700; }
.ebm-remind-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }

.ebm-remind-cancel,
.ebm-remind-close,
.ebm-remind-submit,
.ebm-remind-group {
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.ebm-remind-cancel, .ebm-remind-close { background: #fff; color: #9a3412; }
.ebm-remind-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f97316, #dc2626);
	color: #fff;
}

.ebm-remind-success-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	margin-top: 18px;
}

.ebm-remind-card--success .ebm-remind-group,
.ebm-remind-card--success .ebm-remind-close {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 20px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	box-sizing: border-box;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ebm-remind-card--success .ebm-remind-group {
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(18, 140, 126, 0.32);
}

.ebm-remind-card--success .ebm-remind-group svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.ebm-remind-card--success .ebm-remind-close {
	background: #14532d;
	color: #fff;
	box-shadow: 0 8px 18px rgba(20, 83, 45, 0.2);
}

.ebm-remind-card--success .ebm-remind-group:hover,
.ebm-remind-card--success .ebm-remind-group:focus,
.ebm-remind-card--success .ebm-remind-close:hover,
.ebm-remind-card--success .ebm-remind-close:focus {
	color: #fff;
	transform: translateY(-1px);
}
