/* =========================================================
   FRONT ORDER PAGE + AVATAR SUBMENU
========================================================= */
.npn-profile-menu {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.npn-profile-menu::after {
	content: "";
	position: absolute;
	top: 100%;
	right: -12px;
	width: 220px;
	height: 18px;
}
.npn-profile-submenu {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	width: 250px;
	padding: 12px;
	border-radius: 18px;
	border: 1px solid rgba(103, 232, 249, 0.24);
	background: rgba(5, 16, 45, 0.98);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 36px rgba(8, 213, 255, 0.16);
	backdrop-filter: blur(18px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(0.98);
	transition: 0.22s ease;
	z-index: 180;
}
.npn-profile-menu:hover .npn-profile-submenu,
.npn-profile-menu:focus-within .npn-profile-submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}
.npn-profile-submenu-user {
	padding: 12px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(8, 213, 255, 0.13), rgba(47, 94, 219, 0.13));
	border: 1px solid rgba(103, 232, 249, 0.16);
}
.npn-profile-submenu-user strong,
.npn-profile-submenu-user span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.npn-profile-submenu-user strong {
	font-size: 14px;
	color: #fff;
	font-weight: 900;
}
.npn-profile-submenu-user span {
	margin-top: 4px;
	font-size: 12px;
	color: rgba(225, 241, 255, 0.68);
}
.npn-profile-submenu > a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 850;
	color: #dff7ff;
	transition: 0.2s ease;
}
.npn-profile-submenu > a:hover {
	color: #70efff;
	background: rgba(8, 213, 255, 0.1);
	box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.14), 0 0 20px rgba(8, 213, 255, 0.12);
}

.npn-order-main {
	min-height: 78vh;
	background:
		radial-gradient(circle at 16% 8%, rgba(8, 213, 255, 0.16), transparent 28%),
		radial-gradient(circle at 88% 12%, rgba(124, 114, 255, 0.15), transparent 26%),
		linear-gradient(180deg, #07101f 0%, #050a16 100%);
}
.npn-order-shell {
	position: relative;
	overflow: hidden;
	padding: 54px 18px 76px;
}
.npn-order-bg {
	position: absolute;
	border-radius: 999px;
	filter: blur(20px);
	pointer-events: none;
	opacity: 0.65;
}
.npn-order-bg-1 {
	width: 360px;
	height: 360px;
	left: -150px;
	top: 80px;
	background: radial-gradient(circle, rgba(8, 213, 255, 0.18), transparent 62%);
}
.npn-order-bg-2 {
	width: 420px;
	height: 420px;
	right: -180px;
	bottom: 20px;
	background: radial-gradient(circle, rgba(47, 94, 219, 0.2), transparent 62%);
}
.npn-order-container {
	position: relative;
	z-index: 2;
    max-width: 1480px;
	margin: 0 auto;
}
.npn-order-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}
.npn-order-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(103, 232, 249, 0.22);
	background: rgba(8, 213, 255, 0.08);
	color: #70efff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
h3 {
	margin: 0;
}
.npn-order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 24px;
	align-items: start;
}

.npn-order-summary,
.npn-order-guard-card {
	border: 1px solid rgba(103, 232, 249, 0.16);
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.08), transparent 52%),
		linear-gradient(180deg, rgba(12, 24, 52, 0.93), rgba(6, 14, 32, 0.96));
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(16px);
}
.npn-order-panel-head {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}
.npn-order-panel-head h1 {
	margin: 0;
	font-family: 'Manrope-Extra';
	color: #fff;
    font-size: 26px;
	font-weight: 950;
}
.npn-order-panel-head p,
.npn-order-summary p {
	margin: 6px 0 0;
	color: rgba(225, 241, 255, 0.6);
	font-size: 16px;
	line-height: 1.5;
}
.npn-order-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.npn-order-service-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 188px;
	padding: 22px 18px 18px;
	border: 1px solid rgba(103, 232, 249, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(21, 35, 71, 0.86), rgba(13, 25, 54, 0.94));
	color: #fff;
	text-align: center;
	cursor: pointer;
	transition: 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.npn-order-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.26), transparent 44%),
		linear-gradient(135deg, rgba(8, 213, 255, 0.12), transparent 52%, rgba(124, 114, 255, 0.15));
	opacity: 0;
	transition: 0.24s ease;
}
.npn-order-service-card::after {
	content: "";
	position: absolute;
	top: -40%;
	left: -70%;
	width: 42%;
	height: 180%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), rgba(112,239,255,.18), transparent);
	transform: skewX(-18deg);
	opacity: 0;
	transition: 0.55s ease;
}
.npn-order-service-card:hover,
.npn-order-service-card.is-added {
	transform: translateY(-5px);
	border-color: rgba(112, 239, 255, 0.55);
	box-shadow: 0 0 30px rgba(8, 213, 255, 0.28), 0 20px 42px rgba(0, 0, 0, 0.26);
}
.npn-order-service-card:hover::before,
.npn-order-service-card.is-added::before {
	opacity: 1;
}
.npn-order-service-card:hover::after {
	opacity: 1;
	left: 135%;
}
.npn-order-service-icon,
.npn-order-cart-icon{
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	border: 1px solid rgba(53, 226, 255, 0.22);
	background:
		radial-gradient(circle at 50% 30%, rgba(31, 242, 226, 0.16), rgba(8, 18, 42, 0.92)),
		linear-gradient(180deg, rgba(16, 28, 58, 0.95), rgba(9, 18, 40, 0.98));
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,0.02),
		0 8px 22px rgba(0, 0, 0, 0.24),
		0 0 18px rgba(8, 213, 255, 0.08);
	transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.npn-order-service-icon svg,
.npn-order-cart-icon svg,
.icon-plus svg{
	width: 24px;
	height: 24px;
	display: block;
	stroke: #1df2e2;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	transition: all 0.28s ease;
	filter: drop-shadow(0 0 6px rgba(29, 242, 226, 0.14));
}

.npn-order-service-card:hover .npn-order-service-icon,
.npn-order-service-card.is-added .npn-order-service-icon {
	transform: translateY(-4px) scale(1.08);
	border-color: rgba(112, 239, 255, 0.55);
	background:
		radial-gradient(circle at 50% 30%, rgba(31, 242, 226, 0.28), rgba(8, 18, 42, 0.9)),
		linear-gradient(180deg, rgba(17, 34, 67, 0.96), rgba(10, 21, 46, 0.98));
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,0.04),
		0 14px 30px rgba(0, 0, 0, 0.28),
		0 0 28px rgba(8, 213, 255, 0.24),
		0 0 48px rgba(29, 242, 226, 0.12);
}

.npn-order-service-card:hover .npn-order-service-icon svg,
.npn-order-service-card.is-added .npn-order-service-icon svg {
	stroke: #72f7ff;
	transform: scale(1.06);
	filter:
		drop-shadow(0 0 8px rgba(29, 242, 226, 0.28))
		drop-shadow(0 0 18px rgba(8, 213, 255, 0.18));
}
.npn-order-service-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.35;
	text-transform: uppercase;
    font-family: 'Manrope-Extra';
    letter-spacing: 1.5px;
	margin-bottom: 10px;
}
.npn-order-service-card em {
	display: block;
	min-height: calc(12px * 1.45 * 2);
	margin: 8px auto 10px;
	font-size: 12px;
	font-style: normal;
	line-height: 1.45;
	color: rgba(225, 241, 255, 0.62);
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.npn-order-price {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #1df2e2;
}
.npn-order-summary {
	position: sticky;
	top: 96px;
	border-radius: 24px;
	padding: 20px;
}
.npn-order-summary-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(103, 232, 249, 0.12);
}
.npn-order-cart-icon {
    width: 44px;
    margin: 0;
    height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(8, 213, 255, 0.1);
}
.npn-order-summary-list {
	min-height: 280px;
	padding: 16px 0;
	display: grid;
	gap: 10px;
	align-content: start;
}
.npn-order-summary-empty {
	min-height: 250px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: rgba(225, 241, 255, 0.5);
}
.npn-order-summary-empty span {
	width: 42px;
	height: 42px;
	margin-bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(103, 232, 249, 0.08);
	color: #70efff;
	font-size: 20px;
}

.npn-order-checkout,
.npn-order-primary {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 13px;
	background: linear-gradient(135deg, #1df2e2, #0ea5e9);
	color: #04111f;
	font-weight: 950;
	cursor: pointer;
	box-shadow: 0 0 26px rgba(8, 213, 255, 0.3), 0 16px 30px rgba(0, 0, 0, 0.2);
	transition: 0.22s ease;
}
.npn-order-checkout:not(:disabled):hover,
.npn-order-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 38px rgba(8, 213, 255, 0.44), 0 20px 36px rgba(0, 0, 0, 0.28);
}
.npn-order-checkout:disabled {
	cursor: not-allowed;
	filter: grayscale(0.7);
	opacity: 0.55;
}
.npn-order-note {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.5;
	color: rgba(225, 241, 255, 0.46);
}
.npn-order-empty-wide {
	padding: 36px;
	border: 1px dashed rgba(103, 232, 249, 0.24);
	border-radius: 18px;
	text-align: center;
	color: rgba(225, 241, 255, 0.76);
}
.npn-order-guard {
	min-height: 68vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 18px;
	background:
		radial-gradient(circle at 50% 15%, rgba(8, 213, 255, 0.18), transparent 36%),
		linear-gradient(180deg, #07101f, #050a16);
}
.npn-order-guard-card {
	max-width: 520px;
	width: 100%;
	padding: 38px;
	border-radius: 26px;
	text-align: center;
}
.npn-order-guard-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 20px;
	background: rgba(8, 213, 255, 0.1);
}
.npn-order-guard-card h1 {
	margin: 0 0 12px;
	font-size: 30px;
	color: #fff;
}
.npn-order-guard-card p {
	margin: 0 0 22px;
	color: rgba(225, 241, 255, 0.68);
	line-height: 1.6;
}
.npn-order-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	padding: 0 24px;
}

@media (max-width: 1100px) {
	.npn-order-layout {
		grid-template-columns: 1fr;
	}
	.npn-order-summary {
		position: static;
	}
	.npn-order-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 680px) {
	.npn-order-shell {
		padding: 36px 14px 56px;
	}
	.npn-order-hero {
		display: block;
	}
	.npn-order-hero-badge {
		margin-top: 18px;
	}
	.npn-order-service-panel,
	.npn-order-summary {
		padding: 18px;
		border-radius: 20px;
	}
	.npn-order-service-grid {
		grid-template-columns: 1fr;
	}
	.npn-order-service-card {
		min-height: 160px;
	}
	.npn-profile-submenu {
		right: -48px;
	}
}
/* =========================================================
   ORDER SUMMARY - giống layout mẫu task card
========================================================= */

.npn-order-summary {
	position: sticky;
	top: 96px;
	width: 100%;
	border-radius: 18px;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(65, 102, 159, 0.42);
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.055), transparent 45%),
		linear-gradient(180deg, rgba(8, 18, 39, 0.98), rgba(5, 12, 28, 0.99));
	box-shadow:
		0 22px 64px rgba(0, 0, 0, 0.34),
		inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.npn-order-summary-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 22px 26px 22px;
	border-bottom: 1px solid rgba(65, 102, 159, 0.36);
}

.npn-order-cart-icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	margin: 0;
	border-radius: 9px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.npn-order-cart-icon svg {
	width: 30px;
	height: 30px;
	stroke: #25f4e2;
	stroke-width: 1.9;
}

.npn-order-summary-head h3 {
	margin: 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.npn-order-summary-head p {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.35;
	color: rgba(215, 229, 255, 0.67);
}

.npn-order-summary-list {
	max-height: calc(100vh - 345px);
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow-y: auto;
	border-bottom: 1px solid rgba(65, 102, 159, 0.36);
}

.npn-order-summary-list::-webkit-scrollbar {
	width: 6px;
}

.npn-order-summary-list::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(37, 244, 226, 0.28);
}

.npn-order-summary-empty {
	min-height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: rgba(215, 229, 255, 0.55);
}

.npn-order-summary-empty span {
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(37, 244, 226, 0.08);
	color: #25f4e2;
	font-size: 22px;
	box-shadow: 0 0 24px rgba(37, 244, 226, 0.12);
}

.npn-order-summary-empty strong {
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	font-weight: 850;
}

.npn-order-summary-empty p {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(215, 229, 255, 0.52);
}

.npn-order-line {
	position: relative;
	display: block;
	padding: 18px 18px 15px;
	border-radius: 13px;
	border: 1px solid rgba(65, 102, 159, 0.42);
	background: rgba(18, 31, 62, 0.92);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.018),
		0 14px 34px rgba(0, 0, 0, 0.18);
	animation: npnOrderPop 0.24s ease both;
	transition: 0.22s ease;
}

.npn-order-line:hover {
	transform: translateY(-2px);
	border-color: rgba(37, 244, 226, 0.36);
	box-shadow:
		0 0 0 1px rgba(37, 244, 226, 0.08),
		0 0 28px rgba(37, 244, 226, 0.12),
		0 16px 36px rgba(0, 0, 0, 0.24);
}

.npn-order-line-top {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
}

.npn-order-line-icon {
	width: 24px;
	height: 24px;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #25f4e2;
}

.npn-order-line-icon svg {
	width: 24px;
	height: 24px;
	display: block;
	fill: none;
	stroke: #25f4e2;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 7px rgba(37, 244, 226, 0.18));
}

.npn-order-line-info {
	min-width: 0;
	padding-right: 8px;
}

.npn-order-line-info strong {
	display: block;
	margin: 0;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 900;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-order-line-info a {
	display: inline-block;
	margin-top: 5px;
	color: #25f4e2;
	font-size: 13px;
	line-height: 1.25;
	text-decoration: none;
}

.npn-order-line-info a:hover {
	color: #76fff6;
	text-shadow: 0 0 14px rgba(37, 244, 226, 0.28);
}

.npn-order-line-info small {
	display: block;
	margin-top: 7px;
	color: rgba(215, 229, 255, 0.58);
	font-size: 13px;
	line-height: 1.25;
}

.npn-order-line-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-left: 8px;
}

.npn-order-line-edit,
.npn-order-line-remove {
	position: static;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: rgba(194, 210, 239, 0.78);
	cursor: pointer;
	transition: 0.18s ease;
}

.npn-order-line-edit svg,
.npn-order-line-remove svg {
    width: 30px;
    height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.npn-order-line-edit:hover {
	color: #25f4e2;
	background: rgba(37, 244, 226, 0.08);
	filter: drop-shadow(0 0 10px rgba(37, 244, 226, 0.24));
}

.npn-order-line-remove:hover {
	color: #ff7b8b;
	background: rgba(255, 83, 107, 0.1);
	filter: drop-shadow(0 0 10px rgba(255, 83, 107, 0.22));
}

.npn-order-line-bottom {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding-top: 13px;
	border-top: 1px solid rgba(65, 102, 159, 0.32);
}

.npn-order-line-bottom strong {
	color: #62fff3;
	font-size: 15px;
	line-height: 1;
	font-weight: 900;
	white-space: nowrap;
	text-shadow: 0 0 16px rgba(37, 244, 226, 0.18);
}

.npn-order-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 26px 12px;
	border-top: 0;
	color: rgba(225, 235, 255, 0.78);
	font-size: 16px;
	font-weight: 500;
}

.npn-order-total-row strong {
	color: #ffffff;
	font-size: 25px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.npn-order-checkout {
	display: flex;
	justify-content:center;
	align-items: center;
	width: calc(100% - 52px);
	height: 56px;
	margin: 20px 26px 20px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #20dbc8, #16aee7);
	color: #ffffff;
	font-size: 17px;
	font-weight: 900;
	cursor: pointer;
	box-shadow:
		0 0 30px rgba(32, 219, 200, 0.28),
		0 16px 30px rgba(0, 0, 0, 0.24);
	transition: 0.22s ease;
}

.npn-order-checkout:not(:disabled):hover {
	transform: translateY(-2px);
	box-shadow:
		0 0 42px rgba(32, 219, 200, 0.4),
		0 18px 36px rgba(0, 0, 0, 0.3);
}

.npn-order-checkout:disabled {
	cursor: not-allowed;
	filter: grayscale(0.55);
	opacity: 0.55;
}

.npn-order-note {
	display: none;
}
/* =========================================================
   ORDER PROJECT LIST PANEL
========================================================= */
.npn-order-projects-panel .npn-order-summary-list {
	min-height: 420px;
}
.npn-project-tree,
.npn-project-tree * {
	box-sizing: border-box;
}
.npn-project-tree {
	display: grid;
	gap: 14px;
}
.npn-project-folder {
	border: 1px solid rgba(103, 232, 249, 0.14);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(18, 34, 70, 0.82), rgba(9, 20, 48, 0.92));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), 0 14px 32px rgba(0,0,0,.18);
	overflow: visible;
}
.npn-project-folder-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px;
}
.npn-project-folder-title {
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	text-align: left;
}
.npn-project-folder-title span { color: #1df2e2; }
.npn-project-folder-title strong {
	font-size: 14px;
	font-weight: 950;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.npn-project-folder-title em {
	font-size: 11px;
	font-style: normal;
	color: rgba(225,241,255,.56);
}
.npn-project-folder-menu {
	position: relative;
	flex: 0 0 auto;
}
.npn-project-dots {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 10px;
	background: rgba(255,255,255,.055);
	color: rgba(225,241,255,.76);
	cursor: pointer;
}
.npn-project-dots svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill:none; }
.npn-project-menu-drop {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 130px;
	padding: 8px;
	border-radius: 13px;
	border: 1px solid rgba(103,232,249,.18);
	background: rgba(5,16,45,.98);
	box-shadow: 0 20px 50px rgba(0,0,0,.38), 0 0 24px rgba(8,213,255,.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .2s ease;
	z-index: 20;
}
.npn-project-folder-menu:hover .npn-project-menu-drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.npn-project-menu-drop button {
	width: 100%;
	height: 34px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: rgba(225,241,255,.8);
	text-align: left;
	padding: 0 10px;
	font-weight: 800;
	font-size: 12px;
	cursor: pointer;
}
.npn-project-menu-drop button:hover { background: rgba(8,213,255,.1); color: #70efff; }
.npn-project-child {
	margin: 0 12px 12px;
	padding: 12px;
	border-radius: 15px;
	border: 1px solid rgba(103,232,249,.11);
	background: rgba(10, 23, 55, .78);
	display: grid;
	grid-template-columns: 28px minmax(0,1fr) auto;
	gap: 10px;
	align-items: start;
}
.npn-project-child-icon,
.npn-project-child-icon svg {
	width: 24px;
	height: 24px;
	stroke: #1df2e2;
	stroke-width: 1.9;
	fill: none;
}
.npn-project-child-info strong {
	display: block;
	font-size: 13px;
	font-weight: 900;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.npn-project-child-info small {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: rgba(225,241,255,.54);
}
.npn-project-child > b {
	font-size: 13px;
	font-weight: 950;
	color: #1df2e2;
	white-space: nowrap;
}
.npn-project-child-actions {
	grid-column: 2 / 4;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	padding-top: 9px;
	border-top: 1px solid rgba(103,232,249,.1);
}
.npn-project-child-actions button {
	height: 30px;
	min-width: 34px;
	border: 0;
	border-radius: 9px;
	background: rgba(255,255,255,.06);
	color: rgba(225,241,255,.78);
	font-size: 11px;
	font-weight: 850;
	cursor: pointer;
}
.npn-project-child-actions button:hover { color: #04111f; background: linear-gradient(135deg,#1df2e2,#0ea5e9); }
.npn-project-child-actions svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill:none; }

/* =========================================================
   ORDER PAGE - PROJECT LIST CARD FIX
========================================================= */

.npn-project-tree {
	display: grid;
	gap: 14px;
}

.npn-project-folder {
	border-radius: 22px;
	border: 1px solid rgba(103, 232, 249, 0.16);
	background:
		radial-gradient(circle at 14% 0%, rgba(8, 213, 255, 0.09), transparent 42%),
		linear-gradient(180deg, rgba(13, 28, 62, 0.92), rgba(6, 17, 42, 0.98));
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.018),
		0 16px 38px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: 0.22s ease;
}

.npn-project-folder:hover {
	border-color: rgba(29, 242, 226, 0.28);
	box-shadow:
		0 0 0 1px rgba(29, 242, 226, 0.06),
		0 0 30px rgba(8, 213, 255, 0.09),
		0 18px 42px rgba(0, 0, 0, 0.24);
}

.npn-project-folder-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 14px 14px 12px;
}

.npn-project-folder-title {
	min-width: 0;
	width: 100%;
	border: 0;
	padding: 0;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 9px;
	color: #ffffff;
	text-align: left;
	cursor: pointer;
}

.npn-project-folder-title span {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(29, 242, 226, 0.08);
	color: #1df2e2;
	font-size: 14px;
	flex: 0 0 auto;
}

.npn-project-folder-title span img.emoji {
	width: 15px !important;
	height: 15px !important;
}

.npn-project-folder-title strong {
	min-width: 0;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.3;
    font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-project-folder-title em {
    flex: 0 0 auto;
    color: #FFF;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
}

.npn-project-folder-menu {
	position: relative;
}

.npn-project-dots {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(225, 241, 255, 0.82);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.18s ease;
}

.npn-project-dots svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.npn-project-dots:hover {
	color: #1df2e2;
	background: rgba(8, 213, 255, 0.12);
	box-shadow: 0 0 18px rgba(8, 213, 255, 0.13);
}

.npn-project-menu-drop {
	position: absolute;
    top:100%;
	right: 0;
	z-index: 30;
	min-width: 132px;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid rgba(103, 232, 249, 0.18);
	background: rgba(7, 18, 43, 0.98);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: 0.18s ease;
}

.npn-project-folder-menu:hover .npn-project-menu-drop,
.npn-project-folder-menu:focus-within .npn-project-menu-drop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.npn-project-menu-drop button {
	width: 100%;
	height: 34px;
	border: 0;
	border-radius: 10px;
	padding: 0 10px;
	background: transparent;
	color: rgba(225, 241, 255, 0.82);
	text-align: left;
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
	transition: 0.18s ease;
}

.npn-project-menu-drop button:hover {
	color: #ffffff;
	background: rgba(8, 213, 255, 0.12);
}

.npn-project-menu-drop button[data-project-delete]:hover {
	color: #ff8b9a;
	background: rgba(255, 83, 107, 0.1);
}

/* Children wrapper behavior */
.npn-project-folder .npn-project-child {
	margin: 0 12px 12px;
}

.npn-project-folder.is-collapsed .npn-project-child {
	display: none;
}

/* Child card */
.npn-project-child {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 10px 12px;
	align-items: start;
	padding: 16px;
	border-radius: 18px;
	border: 1px solid rgba(103, 232, 249, 0.15);
	background:
		radial-gradient(circle at 12% 0%, rgba(8, 213, 255, 0.08), transparent 42%),
		linear-gradient(180deg, rgba(18, 34, 70, 0.88), rgba(10, 23, 54, 0.96));
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.018),
		0 12px 28px rgba(0, 0, 0, 0.16);
	transition: 0.22s ease;
}

.npn-project-child:hover {
	transform: translateY(-2px);
	border-color: rgba(29, 242, 226, 0.42);
	box-shadow:
		0 0 0 1px rgba(29, 242, 226, 0.08),
		0 0 28px rgba(8, 213, 255, 0.12),
		0 18px 36px rgba(0, 0, 0, 0.24);
}

.npn-project-child-icon {
	grid-row: 1 / span 2;
	width: 34px;
	height: 34px;
	border-radius: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 213, 255, 0.08);
	border: 1px solid rgba(103, 232, 249, 0.14);
	color: #1df2e2;
}

.npn-project-child-icon svg {
	width: 21px;
	height: 21px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 7px rgba(29, 242, 226, 0.16));
}

.npn-project-child-info {
	min-width: 0;
}

.npn-project-child-info strong {
	display: block;
	margin: 0;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 950;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-project-child-info small {
	display: block;
	margin-top: 7px;
	color: rgba(225, 241, 255, 0.58);
	font-size: 12px;
	line-height: 1.45;
	font-weight: 650;
}

.npn-project-child > b {
	justify-self: end;
	align-self: start;
	color: #1df2e2;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 950;
	white-space: nowrap;
	text-shadow: 0 0 14px rgba(29, 242, 226, 0.18);
}

.npn-project-child-actions {
	grid-column: 2 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid rgba(103, 232, 249, 0.1);
}

.npn-project-child-actions button {
	min-height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.075);
	color: rgba(225, 241, 255, 0.84);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	transition: 0.2s ease;
}

.npn-project-child-actions button svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.npn-project-child-actions button:hover {
	transform: translateY(-1px);
	background: rgba(8, 213, 255, 0.12);
	color: #ffffff;
	box-shadow: 0 0 18px rgba(8, 213, 255, 0.12);
}

.npn-project-child-actions button[data-child-view] {
	color: #04111f;
	background: linear-gradient(135deg, #1df2e2, #0ea5e9);
	box-shadow: 0 0 22px rgba(8, 213, 255, 0.18);
}

.npn-project-child-actions button[data-child-view]:hover {
	color: #04111f;
	box-shadow: 0 0 30px rgba(8, 213, 255, 0.28);
}

.npn-project-child-actions button[data-child-delete]:hover {
	color: #ff8b9a;
	background: rgba(255, 83, 107, 0.1);
}

/* Optional paid/unpaid badge if later JS separates it */
.npn-project-status {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
}

.npn-project-status.is-unpaid {
	background: rgba(251, 191, 36, 0.13);
	color: #facc15;
}

.npn-project-status.is-paid {
	background: rgba(29, 242, 226, 0.12);
	color: #1df2e2;
}

@media (max-width: 680px) {
	.npn-project-child {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.npn-project-child > b {
		grid-column: 2;
		justify-self: start;
	}

	.npn-project-child-actions {
		grid-column: 1 / -1;
		grid-template-columns: 1fr;
	}
}
.npn-project-folder.is-collapsed .npn-project-child {
	display: none !important;
}

.npn-project-folder.is-collapsed .npn-project-folder-title span {
	opacity: 0.75;
}

.npn-project-folder.is-collapsed .npn-project-folder-title strong::after {
	content: "  (closed)";
	color: rgba(225, 241, 255, 0.42);
	font-size: 11px;
	font-weight: 700;
}
/* =========================================================
   Account panel on Order page
========================================================= */
.npn-order-account-card {
	padding: 18px;
	border: 1px solid rgba(103, 232, 249, 0.14);
	background: linear-gradient(180deg, rgba(15, 30, 67, 0.82), rgba(7, 18, 38, 0.92));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 38px rgba(0,0,0,.18);
}
.npn-order-account-user {
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(103, 232, 249, 0.12);
}
.npn-order-account-user strong {
	display: block;
	color: #fff;
	font-size: 18px;
	font-weight: 950;
}
.npn-order-account-user span {
	display: block;
	margin-top: 5px;
	color: rgba(225, 241, 255, .58);
	font-size: 13px;
	word-break: break-word;
}
.npn-order-account-stats {
	display: grid;
	gap: 10px;
}
.npn-order-account-stats div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 14px;
	border-radius: 14px;
	background: rgba(255,255,255,.055);
	border: 1px solid rgba(255,255,255,.055);
}
.npn-order-account-stats span {
	color: rgba(225, 241, 255, .62);
	font-size: 13px;
	font-weight: 750;
}
.npn-order-account-stats b {
	color: #fff;
	font-size: 15px;
	font-weight: 950;
	white-space: nowrap;
}
.npn-order-account-stats .is-balance {
	background: rgba(29, 242, 226, .1);
	border-color: rgba(29, 242, 226, .2);
}
.npn-order-account-stats .is-balance b { color: #1df2e2; }
.npn-order-account-detail-link { text-decoration: none; text-align: center; }

/* =========================================================
   v13 - Service card demo button
========================================================= */
.npn-order-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.npn-order-service-actions {
	position: relative;
	z-index: 2;
	width: 100%;
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.npn-order-demo-link,
.npn-order-start-btn {
	min-height: 34px;
	padding: 0 14px;
	font-family: 'Manrope-Extra';
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: 0.2s ease;
}

.npn-order-demo-link {
	border: 1px solid rgba(112, 239, 255, 0.28);
	background: rgba(8, 213, 255, 0.08);
	color: #70efff;
}

.npn-order-demo-link:hover {
	border-color: rgba(112, 239, 255, 0.62);
	background: rgba(8, 213, 255, 0.16);
	color: #ffffff;
	box-shadow: 0 0 20px rgba(8, 213, 255, 0.16);
}

.npn-order-start-btn {
	border: 0;
	background: linear-gradient(135deg, #1df2e2, #0ea5e9);
	color: #04111f;
}

.npn-order-start-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 22px rgba(8, 213, 255, 0.24);
}

@media (max-width: 680px) {
	.npn-order-service-actions {
		flex-direction: column;
	}

	.npn-order-demo-link,
	.npn-order-start-btn {
		width: 100%;
	}
}

/* =========================================================
   v29 - Distinct service card colors/icons on order page
========================================================= */
.npn-order-service-card {
	--npn-service-color-1: hsl(var(--npn-service-hue, 185deg) 92% 55%);
	--npn-service-color-2: hsl(calc(var(--npn-service-hue, 185deg) + 42deg) 90% 62%);
	border-color: color-mix(in srgb, var(--npn-service-color-1), transparent 72%);
	background:
		radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--npn-service-color-1), transparent 82%), transparent 48%),
		linear-gradient(180deg, rgba(21, 35, 71, 0.9), rgba(13, 25, 54, 0.96));
}
.npn-order-service-card::before {
	background:
		radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--npn-service-color-1), transparent 62%), transparent 44%),
		linear-gradient(135deg, color-mix(in srgb, var(--npn-service-color-1), transparent 80%), transparent 52%, color-mix(in srgb, var(--npn-service-color-2), transparent 78%));
}
.npn-order-service-card:hover,
.npn-order-service-card.is-added {
	border-color: color-mix(in srgb, var(--npn-service-color-1), white 10%);
	box-shadow: 0 0 34px color-mix(in srgb, var(--npn-service-color-1), transparent 68%), 0 20px 42px rgba(0, 0, 0, 0.26);
}
.npn-order-service-icon {
	border-color: color-mix(in srgb, var(--npn-service-color-1), transparent 64%);
	background:
		radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--npn-service-color-1), transparent 78%), rgba(8, 18, 42, 0.92)),
		linear-gradient(180deg, rgba(16, 28, 58, 0.95), rgba(9, 18, 40, 0.98));
}
.npn-order-service-icon svg {
	stroke: var(--npn-service-color-1);
}
.npn-order-service-card:hover .npn-order-service-icon {
	border-color: color-mix(in srgb, var(--npn-service-color-1), white 8%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 14px 30px rgba(0,0,0,.28), 0 0 32px color-mix(in srgb, var(--npn-service-color-1), transparent 68%);
}
.npn-order-service-theme-photo-editing { --npn-service-hue: 184deg; }
.npn-order-service-theme-retouching { --npn-service-hue: 316deg; }
.npn-order-service-theme-virtual-staging { --npn-service-hue: 252deg; }
.npn-order-service-theme-video { --npn-service-hue: 205deg; }
.npn-order-service-theme-virtual-twilight { --npn-service-hue: 268deg; }
.npn-order-service-theme-green-grass { --npn-service-hue: 124deg; }


/* =========================================================
   v30 - Center the last odd service card without changing width
========================================================= */
@media (min-width: 981px) {
	.npn-order-service-grid > .npn-order-service-card:last-child:nth-child(3n + 1) {
		grid-column: 2 / span 1;
		justify-self: stretch;
		width: auto;
	}
}
@media (min-width: 681px) and (max-width: 980px) {
	.npn-order-service-grid > .npn-order-service-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - 14px) / 2);
		max-width: calc((100% - 14px) / 2);
	}
}
@media (max-width: 680px) {
	.npn-order-service-grid > .npn-order-service-card:last-child:nth-child(odd) {
		grid-column: auto;
		justify-self: stretch;
		width: auto;
		max-width: none;
	}
}

/* Customer account code in order summary */
.npn-order-account-user span {
    letter-spacing: .01em;
}

/* v12 - Project folder actions are always visible at the bottom, no hover menu */
.npn-project-folder-head {
	align-items: flex-start;
}

.npn-project-folder-title {
	width: 100%;
}

.npn-project-folder-menu,
.npn-project-dots,
.npn-project-menu-drop {
	display: none !important;
}

.npn-project-folder-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 0 12px 12px;
}

.npn-project-folder-action {
	min-width: 0;
	height: 38px;
	border: 1px solid rgba(103, 232, 249, 0.16);
	border-radius: 13px;
	background: rgba(15, 32, 68, 0.82);
	color: rgba(225, 241, 255, 0.9);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 10px;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: 0.18s ease;
}

.npn-project-folder-action svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.npn-project-folder-action:hover {
	transform: translateY(-1px);
	background: rgba(8, 213, 255, 0.12);
	border-color: rgba(103, 232, 249, 0.32);
	color: #70efff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.npn-project-folder-action.is-add {
	background: rgba(8, 213, 255, 0.10);
	border-color: rgba(29, 242, 226, 0.26);
	color: #93fbff;
}

.npn-project-folder-action.is-cart {
	background: rgba(29, 242, 226, 0.08);
	border-color: rgba(29, 242, 226, 0.2);
}

.npn-project-folder-action.is-delete {
	background: rgba(255, 83, 107, 0.10);
	border-color: rgba(255, 83, 107, 0.22);
	color: #ffb1bc;
}

.npn-project-folder-action.is-delete:hover {
	background: rgba(255, 83, 107, 0.16);
	border-color: rgba(255, 83, 107, 0.34);
	color: #fff;
}

@media (max-width: 480px) {
	.npn-project-folder-actions {
		grid-template-columns: 1fr;
	}
	.npn-project-folder-action {
		height: 40px;
	}
}

/* v52 - Order page service demo uses before/after pairs configured in admin */
.npn-before-after {
	position: relative;
	overflow: hidden;
	min-height: 240px;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	background: rgba(2, 8, 23, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.08);
	--pos: 50%;
}

.npn-ba-image {
	position: absolute;
	inset: 0;
}

.npn-ba-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
}

.npn-ba-after {
	clip-path: inset(0 0 0 var(--pos));
}

.npn-ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	transform: translateX(-1px);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.42);
	pointer-events: none;
}

.npn-ba-handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	transform: translate(-50%, -50%);
	background: #fff;
	box-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.npn-before-after input[data-ba-range] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
}

.npn-before-after em {
	position: absolute;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(2, 8, 23, 0.76);
	color: rgba(225, 241, 255, 0.9);
	font-style: normal;
	font-size: 12px;
}

.npn-demo-popup {
	display: grid;
	gap: 14px;
	text-align: left;
}

.npn-demo-popup-item {
	border: 1px solid rgba(103, 232, 249, 0.16);
	border-radius: 18px;
	background: rgba(8, 23, 52, 0.72);
	padding: 10px;
	overflow: hidden;
}

.npn-demo-slider-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	min-height: 42px;
}

.npn-demo-slider-nav button {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(103, 232, 249, 0.34);
	background: rgba(8, 145, 178, 0.18);
	color: #67e8f9;
	cursor: pointer;
}

.npn-demo-slider-nav button:hover,
.npn-demo-slider-nav button:focus-visible {
	border-color: rgba(103, 232, 249, 0.72);
	background: rgba(34, 211, 238, 0.22);
}

.npn-demo-slider-nav button svg {
	width: 22px;
	height: 22px;
}

.npn-demo-slider-nav span {
	min-width: 64px;
	color: rgba(226, 241, 255, 0.78);
	font-weight: 900;
	text-align: center;
}

body .swal2-popup.npn-demo-swal-popup {
	width: min(96vw, 1160px) !important;
	max-width: 96vw !important;
	max-height: calc(100dvh - 28px) !important;
	padding: clamp(10px, 1.6vh, 18px) clamp(12px, 1.8vw, 24px) clamp(12px, 1.8vh, 20px) !important;
	overflow: hidden !important;
	box-sizing: border-box;
}

body .swal2-popup.npn-demo-swal-popup .swal2-close {
	top: 8px;
	right: 10px;
}

body .swal2-popup.npn-demo-swal-popup .npn-demo-swal-title,
body .swal2-popup.npn-demo-swal-popup .swal2-title {
	margin: 0 42px 12px !important;
	padding: 0 !important;
	line-height: 1.15 !important;
	font-size: clamp(24px, 3.2vw, 40px) !important;
}

body .swal2-popup.npn-demo-swal-popup .npn-demo-swal-html,
body .swal2-popup.npn-demo-swal-popup .swal2-html-container {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-height: none !important;
	overflow: hidden !important;
}

body .swal2-popup.npn-demo-swal-popup .npn-demo-popup {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: clamp(8px, 1.2vh, 14px);
	max-height: calc(100dvh - 110px) !important;
	overflow: hidden !important;
	padding: 0 !important;
}

body .swal2-popup.npn-demo-swal-popup .npn-demo-popup .npn-before-after {
	width: 100%;
	height: min(70vh, calc(100dvh - 180px));
	min-height: 0 !important;
	aspect-ratio: auto;
	border-radius: 16px;
}

body .swal2-popup.npn-demo-swal-popup .npn-demo-popup[data-demo-slides="1"] .npn-before-after {
	height: min(76vh, calc(100dvh - 150px));
}

body .swal2-popup.npn-demo-swal-popup .npn-ba-image img {
	width: 100%;
	height: 100%;
	min-height: 0 !important;
	object-fit: contain;
	background: rgba(2, 8, 23, 0.72);
}

@media (max-width: 680px) {
	body .swal2-popup.npn-demo-swal-popup .npn-demo-popup .npn-before-after,
	body .swal2-popup.npn-demo-swal-popup .npn-demo-popup[data-demo-slides="1"] .npn-before-after {
		height: min(62vh, 460px);
	}
}

/* v63 - Compact Order page before/after demo popup */
body .swal2-popup.npn-order-demo-swal-popup {
    width: min(90vw, 880px) !important;
    max-width: 90vw !important;
    max-height: min(82vh, 760px) !important;
    padding: 14px 16px 16px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

body .swal2-popup.npn-order-demo-swal-popup .swal2-title,
body .swal2-popup.npn-order-demo-swal-popup .npn-demo-swal-title {
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.15 !important;
    margin: 0 42px 12px !important;
    padding: 0 !important;
}

body .swal2-popup.npn-order-demo-swal-popup .swal2-html-container,
body .swal2-popup.npn-order-demo-swal-popup .npn-demo-swal-html {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup {
    gap: 10px !important;
    max-height: calc(82vh - 88px) !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup-item {
    padding: 8px !important;
    border-radius: 14px !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup .npn-before-after {
    height: min(58vh, 560px) !important;
    min-height: 260px !important;
    aspect-ratio: auto !important;
    border-radius: 12px !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup[data-demo-slides="1"] .npn-before-after {
    height: min(60vh, 580px) !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-ba-image img {
    object-fit: contain !important;
    min-height: 0 !important;
    background: rgba(2, 8, 23, 0.72);
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-slider-nav {
    min-height: 36px !important;
    gap: 10px !important;
}

body .swal2-popup.npn-order-demo-swal-popup .npn-demo-slider-nav button {
    width: auto !important;
    min-width: 86px !important;
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
}

@media (max-width: 680px) {
    body .swal2-popup.npn-order-demo-swal-popup {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 12px !important;
    }
    body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup .npn-before-after,
    body .swal2-popup.npn-order-demo-swal-popup .npn-demo-popup[data-demo-slides="1"] .npn-before-after {
        height: min(56vh, 420px) !important;
        min-height: 220px !important;
    }
}
