/* Obsequiarte CRM — ventana de inicio (mismo estilo que obsequiarte.com.ec) */

html.ocrm-ec-open,
html.ocrm-ec-open body {
	overflow: hidden;
}

.ocrm-ec {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: 16px;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ocrm-ec *,
.ocrm-ec *::before,
.ocrm-ec *::after {
	box-sizing: border-box;
}

.ocrm-ec-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 16, 41, .55);
	opacity: 0;
	transition: opacity .2s ease;
	backdrop-filter: blur(2px);
}

.ocrm-ec-card {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 30px 26px 24px;
	border: 1px solid rgba(88, 22, 125, .06);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(29, 16, 41, .05), 0 24px 60px -12px rgba(29, 16, 41, .35);
	color: #1d1029;
	text-align: center;
	opacity: 0;
	transform: translateY(14px) scale(.98);
	transition: opacity .2s ease, transform .2s ease;
}

.ocrm-ec.is-in .ocrm-ec-backdrop {
	opacity: 1;
}

.ocrm-ec.is-in .ocrm-ec-card {
	opacity: 1;
	transform: none;
}

.ocrm-ec-x {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f3ecfa;
	color: #58167d;
	cursor: pointer;
}

.ocrm-ec-x:hover {
	background: #e9dcf6;
}

.ocrm-ec-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 18px;
	background: #f3ecfa;
	color: #58167d;
}

.ocrm-ec .ocrm-ec-title {
	margin: 0 0 6px;
	padding: 0;
	color: #1d1029;
	font-family: "Fraunces", Georgia, serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-transform: none;
}

.ocrm-ec-text {
	margin: 0 0 18px;
	padding: 0;
	color: #5d5168;
	font-size: 14.5px;
	line-height: 1.5;
}

.ocrm-ec-form {
	margin: 0;
	text-align: left;
}

.ocrm-ec-label {
	display: block;
	margin: 0 0 6px;
	color: #1d1029;
	font-size: 13px;
	font-weight: 700;
}

.ocrm-ec .ocrm-ec-input {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid #e2d8ec;
	border-radius: 14px;
	background: #fff;
	color: #1d1029;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .02em;
	box-shadow: none;
	outline: none;
}

.ocrm-ec .ocrm-ec-input:focus {
	border-color: #58167d;
	box-shadow: 0 0 0 4px rgba(88, 22, 125, .12);
}

.ocrm-ec .ocrm-ec-input:focus-visible {
	outline: none;
}

.ocrm-ec .ocrm-ec-input[aria-invalid="true"] {
	border-color: #c62b45;
	box-shadow: 0 0 0 4px rgba(198, 43, 69, .12);
}

.ocrm-ec-error {
	margin: 8px 0 0;
	color: #c62b45;
	font-size: 13px;
	font-weight: 600;
}

.ocrm-ec-hint {
	margin: 8px 0 0;
	color: #85799a;
	font-size: 12.5px;
	line-height: 1.4;
}

.ocrm-ec .ocrm-ec-btn {
	display: block;
	width: 100%;
	min-height: 52px;
	margin: 18px 0 0;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: #58167d;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease;
}

.ocrm-ec .ocrm-ec-btn:hover {
	background: #6c2496;
}

.ocrm-ec .ocrm-ec-btn:active {
	transform: scale(.99);
}

.ocrm-ec :focus-visible {
	outline: 2px solid #58167d;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.ocrm-ec {
		align-items: end;
		padding: 0;
	}

	.ocrm-ec-card {
		max-width: none;
		padding: 28px 20px calc(20px + env(safe-area-inset-bottom));
		border-radius: 24px 24px 0 0;
		transform: translateY(40px);
	}

	.ocrm-ec .ocrm-ec-title {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ocrm-ec-backdrop,
	.ocrm-ec-card {
		transition: none;
	}
}
