/**
 * Open Abandoned Cart - Public Styles (Popups & Modals)
 */

.oac-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: 16px;
	box-sizing: border-box;
}

.oac-modal-card {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	max-width: 520px;
	width: 100%;
	padding: 36px 32px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	text-align: center;
	animation: oacFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes oacFadeUp {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.oac-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.15s ease;
}

.oac-modal-close:hover {
	color: #0f172a;
}

.oac-modal-image {
	max-width: 90px;
	margin: 0 auto 16px auto;
	display: block;
}

.oac-modal-title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.oac-modal-desc {
	font-size: 15px;
	color: #64748b;
	margin: 0 0 24px 0;
	line-height: 1.5;
}

.oac-modal-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.oac-input-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.oac-modal-input {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 15px;
	color: #1e293b;
	background: #f8fafc;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.oac-modal-input:focus {
	outline: none;
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.oac-modal-submit {
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 10px;
	background: #2563eb;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	box-sizing: border-box;
}

.oac-modal-submit:hover {
	background: #1d4ed8;
}

.oac-modal-submit:active {
	transform: scale(0.98);
}

.oac-modal-success {
	display: none;
	padding: 18px 12px;
	color: #15803d;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	font-weight: 600;
}

.oac-instant-coupon-badge {
	display: inline-block;
	background: #fef08a;
	color: #854d0e;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 12px;
	letter-spacing: 0.5px;
}

/* Mobile responsive */
@media (max-width: 640px) {
	.oac-modal-card {
		padding: 24px 20px;
	}
	.oac-modal-title {
		font-size: 19px;
	}
	.oac-modal-desc {
		font-size: 14px;
	}
}
