/* PATH: wp-content/themes/astra-child/inc/water-tax/notification/notification-public.css
 * Citizen-side "Notification on करा" (banner, slot, popup).
 * Every class starts with gpnp- so it cannot clash with the theme.
 */

.gpnp-banner,
.gpnp-overlay,
.gpnp-slot {
	font-family: inherit;
	box-sizing: border-box;
}

.gpnp-banner *,
.gpnp-overlay *,
.gpnp-slot * {
	box-sizing: border-box;
}

/* ---------------- Buttons ---------------- */

.gpnp-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #0f2a5c;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	padding: 11px 18px;
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
}

.gpnp-btn:hover { background: #f1f5f9; }

.gpnp-primary {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

.gpnp-primary:hover { background: #1e40af; }

.gpnp-btn[disabled] { opacity: .6; cursor: wait; }

.gpnp-link {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 13px;
	color: #1d4ed8;
	text-decoration: underline;
	cursor: pointer;
}

/* ---------------- First-visit banner ---------------- */

.gpnp-banner {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 14px;
	background: #0f2a5c;
	color: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(15, 42, 92, .35);
	font-size: 14px;
	line-height: 1.4;
}

.gpnp-banner-text { flex: 1 1 220px; }

.gpnp-banner-actions { display: flex; gap: 8px; align-items: center; }

.gpnp-banner .gpnp-btn { padding: 9px 14px; font-size: 14px; }

.gpnp-banner .gpnp-later {
	background: transparent;
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

.gpnp-banner .gpnp-later:hover { background: rgba(255, 255, 255, .12); }

/* ---------------- Slot (inside tax / receipt pages) ---------------- */

.gpnp-slot { margin: 14px 0; }

.gpnp-slot-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 14px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	color: #0f2a5c;
}

.gpnp-slot-box span {
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	color: #475569;
	margin-top: 2px;
}

.gpnp-slot-on {
	padding: 10px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	color: #166534;
	font-size: 14px;
}

.gpnp-slot-note {
	padding: 8px 12px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	color: #64748b;
	font-size: 13px;
}

/* ---------------- Popup ---------------- */

.gpnp-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(15, 23, 42, .55);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.gpnp-sheet {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	overflow-y: auto;
	background: #fff;
	color: #0f172a;
	border-radius: 18px 18px 0 0;
	padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px));
	font-size: 15px;
	line-height: 1.5;
}

@media (min-width: 600px) {
	.gpnp-overlay { align-items: center; padding: 16px; }
	.gpnp-sheet { border-radius: 18px; padding-bottom: 22px; }
}

.gpnp-x {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.gpnp-sheet h3 {
	margin: 0 28px 6px 0;
	font-size: 19px;
	color: #0f2a5c;
}

.gpnp-sub { margin: 0 0 14px; color: #475569; font-size: 14px; }

.gpnp-sheet label {
	display: block;
	margin: 10px 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #0f2a5c;
}

.gpnp-sheet input[type="text"],
.gpnp-sheet input[type="tel"] {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	font: inherit;
	font-size: 17px;
	background: #fff;
	color: #0f172a;
}

.gpnp-sheet input[type="text"]:focus,
.gpnp-sheet input[type="tel"]:focus {
	outline: none;
	border-color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29, 78, 216, .15);
}

.gpnp-hint { margin: 6px 0 0; font-size: 12.5px; color: #64748b; }

.gpnp-err { min-height: 0; margin: 8px 0 0; font-size: 13.5px; color: #b91c1c; }
.gpnp-err:empty { display: none; }

.gpnp-sheet .gpnp-btn { width: 100%; margin-top: 14px; }
.gpnp-sheet .gpnp-btn + .gpnp-btn { margin-top: 8px; }

.gpnp-card {
	margin: 10px 0;
	padding: 12px 14px;
	background: #f1f5f9;
	border-radius: 12px;
	font-size: 15px;
}

.gpnp-card b { color: #0f2a5c; }

.gpnp-card-sm { padding: 8px 12px; font-size: 14px; }

.gpnp-sheet .gpnp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 14px 0 0;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 400;
	color: #334155;
	cursor: pointer;
}

.gpnp-check input {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
}

.gpnp-ok {
	margin: 10px 0;
	padding: 12px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	color: #166534;
}

.gpnp-warn {
	margin: 10px 0;
	padding: 12px 14px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	color: #92400e;
	font-size: 14px;
}

/* iPhone steps */

.gpnp-steps { list-style: none; margin: 12px 0; padding: 0; }

.gpnp-steps li {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14.5px;
}

.gpnp-steps li:last-child { border-bottom: 0; }

.gpnp-step-ico {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eff6ff;
	border-radius: 12px;
	color: #1d4ed8;
}

.gpnp-step-ico svg { width: 26px; height: 26px; }

