/* ===== Get Gift Popup — Frontend Styles ===== */

.ggp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: radial-gradient(circle at 50% 20%, #2c2467 0%, #1c1747 60%, #14103a 100%);
	overflow-y: auto;
}

.ggp-overlay.ggp-active {
	display: flex;
}

.ggp-box {
	position: relative;
	width: 100%;
	max-width: 380px;
	text-align: center;
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', Arial, sans-serif;
}

.ggp-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 18px;
	padding: 0 10px;
	position: relative;
	z-index: 3;
}

.ggp-card {
	position: relative;
	background: #ffffff;
	border-radius: 26px;
	padding: 46px 26px 26px;
	box-shadow: 0 25px 60px rgba(0,0,0,0.35);
	z-index: 2;
}

.ggp-close-x {
	position: absolute;
	top: 12px;
	left: 14px;
	background: rgba(0,0,0,0.06);
	border: none;
	color: #333;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.ggp-image-wrap {
	margin: -10px auto 14px;
	max-width: 220px;
}

.ggp-image-wrap img.ggp-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 12px 18px rgba(0,0,0,0.25));
}

.ggp-desc p {
	margin: 4px 0;
	color: #1f2430;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.7;
}

.ggp-countdown-wrap {
	margin: 14px 0 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.ggp-countdown-label {
	font-size: 14px;
	color: #6a7180;
	font-weight: 500;
}

.ggp-countdown {
	font-size: 26px;
	font-weight: 800;
	color: #ef4b4b;
	letter-spacing: 1px;
	direction: ltr;
	unicode-bidi: bidi-override;
}

.ggp-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 6px;
}

.ggp-input {
	width: 100%;
	box-sizing: border-box;
	background: #f1f1f3;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 14px 18px;
	font-size: 15px;
	text-align: center;
	color: #333;
	font-family: inherit;
	outline: none;
	transition: border-color .15s ease;
}

.ggp-input:focus {
	border-color: #ef4b4b;
	background: #fff;
}

.ggp-message {
	font-size: 13px;
	min-height: 16px;
}

.ggp-message.ggp-msg-error { color: #d92d2d; }
.ggp-message.ggp-msg-success { color: #1f9d55; }

.ggp-submit-btn {
	width: 100%;
	border: none;
	border-radius: 999px;
	background: #ef4b4b;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	padding: 15px 18px;
	cursor: pointer;
	font-family: inherit;
	transition: transform .1s ease, background .15s ease;
}

.ggp-submit-btn:hover {
	background: #e13a3a;
}

.ggp-submit-btn:active {
	transform: scale(0.98);
}

.ggp-submit-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.ggp-close-link {
	display: inline-block;
	margin-top: 16px;
	background: none;
	border: none;
	color: #1f2430;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	font-family: inherit;
}

/* ----- Decorative confetti (simple shapes around the card) ----- */
.ggp-confetti {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	border-radius: 50%;
}

.ggp-c1 { width: 14px; height: 14px; background: #f6b93b; top: -10px; right: 10%; }
.ggp-c2 { width: 10px; height: 10px; background: #ef4b4b; top: 30%; left: -14px; }
.ggp-c3 { width: 8px;  height: 8px;  background: #f6b93b; bottom: 15%; right: -10px; }
.ggp-c4 { width: 12px; height: 12px; border: 2px solid #f6b93b; background: transparent; top: 10%; left: 6%; }
.ggp-c5 { width: 16px; height: 16px; border: 2px solid #ef4b4b; background: transparent; bottom: -6px; left: 20%; }
.ggp-c6 { width: 9px;  height: 9px;  background: #ffd25c; top: 55%; right: -12px; }

@media (max-width: 420px) {
	.ggp-box { max-width: 100%; }
	.ggp-card { padding: 40px 18px 22px; }
	.ggp-countdown { font-size: 22px; }
}
