/* Uneed Promo Popup — sao chép giao diện popup uneed.vn */
.uneed-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 16px;
	box-sizing: border-box;
}
.uneed-popup-overlay[hidden] { display: none !important; }

.uneed-popup-card {
	position: relative;
	width: 500px;
	max-width: 92vw;
	max-height: 92vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1e293b;
	box-sizing: border-box;
}

.uneed-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	color: #334155;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.uneed-popup-close:hover { background: #f1f5f9; }

.uneed-popup-banner {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 16px 16px 0 0;
}

.uneed-popup-body { padding: 20px 24px 18px; }

.uneed-popup-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #64748b;
	text-align: left;
	margin-bottom: 12px;
}

.uneed-popup-codebox {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1.5px dashed #7aa8e0;
	background: #eff6ff;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 14px;
}
.uneed-popup-ticket {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #dbeafe;
	color: #0b6bff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.uneed-popup-code-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	margin-right: auto;
}
.uneed-popup-code {
	font-size: 28px;
	font-weight: 800;
	color: #0b6bff;
	letter-spacing: .02em;
}
.uneed-popup-discount {
	font-size: 15px;
	font-weight: 700;
	color: #0b6bff;
}
.uneed-popup-copy {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0b6bff;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.uneed-popup-copy:hover { background: #0958d6; }
.uneed-popup-copy.is-copied { background: #16a34a; }

.uneed-popup-expiry {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 14px;
	color: #64748b;
	margin-bottom: 14px;
}
.uneed-popup-expiry-date { color: #dc2626; font-weight: 700; }

.uneed-popup-cta {
	display: block;
	width: 100%;
	height: 48px;
	background: #0b6bff;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	margin-bottom: 10px;
	transition: background .15s ease;
}
.uneed-popup-cta:hover { background: #0958d6; }

.uneed-popup-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 14px;
}
.uneed-popup-hint strong { color: #64748b; }

.uneed-popup-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #e2e8f0;
	padding-top: 12px;
}
.uneed-popup-dontshow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: #64748b;
	cursor: pointer;
	user-select: none;
}
.uneed-popup-dontshow input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #0b6bff;
	cursor: pointer;
	margin: 0;
}
.uneed-popup-later {
	background: none;
	border: none;
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	cursor: pointer;
	padding: 4px 2px;
}
.uneed-popup-later:hover { text-decoration: underline; }

/* Nút nổi mở lại */
.uneed-popup-float {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99998;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	padding: 6px 16px 6px 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #0b6bff;
	cursor: pointer;
}
.uneed-popup-float[hidden] { display: none !important; }
.uneed-popup-float-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #0b6bff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.uneed-popup-float:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }

@media (max-width: 540px) {
	.uneed-popup-body { padding: 16px 16px 14px; }
	.uneed-popup-code { font-size: 24px; }
	.uneed-popup-codebox { flex-wrap: wrap; }
	.uneed-popup-copy { width: 100%; justify-content: center; }
}

.uneed-popup-copy svg[hidden] { display: none !important; }
