@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "ManropeSemi";
	src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "ManropeBold";
	src: url("../fonts/Manrope-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "ManropeExBold";
	src: url("../fonts/Manrope-ExtraBold.ttf") format("truetype");
	font-weight: 800 900;
	font-style: normal;
	font-display: swap;
}
* {
	box-sizing: border-box;
}
.npn-admin-body {
	margin: 0;
	background: #f3f4f6;
	color: #0f172a;
	font-family: Manrope, Arial, sans-serif;
}
.npn-admin-body a {
	text-decoration: none;
}
.npn-admin-app {
	min-height: 100vh;
	display: flex;
	background: #f3f4f6;
}
.npn-sidebar {
	width: 292px;
	background: #0d1117;
	color: #fff;
	display: flex;
	flex-direction: column;
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 20;
}
.npn-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.npn-brand-logo {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #ffd000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #111827;
	font-weight: 900;
}
.npn-brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
}
.npn-brand-title strong {
	display: block;
	font-size: 17px;
	line-height: 1.2;
}
.npn-brand-title span {
	color: #9ca3af;
	font-size: 13px;
}
.npn-sidebar-menu {
	padding: 18px 12px;
	flex: 1;
	overflow-y: auto;
}
.npn-sidebar-link {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 50px;
	padding: 0 16px;
	border-radius: 12px;
	color: #f9fafb;
	margin-bottom: 8px;
	font-size: 15px;
	transition: 0.2s;
}
.npn-sidebar-link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.npn-sidebar-link.active {
	background: #ffd000;
	color: #111827;
	font-weight: 800;
}
.npn-sidebar-icon {
	width: 20px;
	text-align: center;
}
.npn-sidebar-user {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 22px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.npn-user-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid #ffd000;
	overflow: hidden;
	background: #fff;
}
.npn-user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.npn-user-info strong {
	display: block;
	font-size: 14px;
}
.npn-user-info a {
	color: #cbd5e1;
	font-size: 13px;
}
.npn-main {
	margin-left: 292px;
	width: calc(100% - 292px);
	min-height: 100vh;
}
.npn-topbar {
	height: 74px;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 22px;
	position: sticky;
	top: 0;
	z-index: 10;
}
.npn-topbar h1 {
	margin: 0;
	font-size: 22px;
}
.npn-topbar-right {
	display: flex;
	align-items: center;
	gap: 14px;
}
.npn-search,
.npn-panel-search,
.npn-date-box,
.npn-filter-select {
	height: 42px;
	border: 1px solid #e5e7eb;
	border-radius: 13px;
	padding: 0 14px;
	background: #fff;
	color: #64748b;
}
.npn-search {
	width: 370px;
}
.npn-bell {
	width: 42px;
	height: 42px;
	border: 1px solid #e5e7eb;
	border-radius: 13px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.npn-content {
	max-width: 100%;
	margin: 0 auto;
	padding: 28px 24px 80px;
}
.npn-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}
.npn-panel-head {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #eef2f7;
}
.npn-panel-head h3 {
	margin: 0 0 6px;
	font-size: 18px;
}
.npn-panel-head p,
.npn-page-form-head p {
	margin: 0;
	color: #64748b;
}
.npn-panel-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.npn-panel-search {
	width: 320px;
}
.npn-table {
	width: 100%;
	border-collapse: collapse;
}
.npn-table th,
.npn-table td {
	padding: 15px 20px;
	border-bottom: 1px solid #eef2f7;
	text-align: left;
	font-size: 14px;
	vertical-align: middle;
}
.npn-table th {
	color: #64748b;
	font-size: 12px;
	text-transform: uppercase;
	background: #fafafa;
}
.npn-empty {
	padding: 22px 20px;
	color: #64748b;
	font-size: 14px;
}
.npn-btn {
	font-family: 'ManropeExBold';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 13px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #0f172a;
	font-size: 13px;
	cursor: pointer;
}
.npn-btn-primary {
	background: #ffd000;
	border-color: #ffd000;
	color: #111827;
}
.npn-btn-danger {
	color: #dc2626;
	border-color: #fecaca;
}
.npn-alert {
	padding: 14px 16px;
	border-radius: 14px;
	margin-bottom: 18px;
	font-weight: 800;
}
.npn-alert-success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #bbf7d0;
}
.npn-alert-danger {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}
.npn-inline-search,
.npn-page-actions form {
	margin: 0;
}
.npn-page-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.npn-status,
.npn-seo-ok,
.npn-seo-missing {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
}
.npn-status-publish,
.npn-seo-ok {
	background: #dcfce7;
	color: #166534;
}
.npn-status-draft {
	background: #fef3c7;
	color: #92400e;
}
.npn-status-pending {
	background: #dbeafe;
	color: #1d4ed8;
}
.npn-status-private {
	background: #f3e8ff;
	color: #7e22ce;
}
.npn-seo-missing {
	background: #fee2e2;
	color: #991b1b;
}
.npn-row-id {
	color: #94a3b8;
	font-size: 12px;
	margin-top: 4px;
}
.npn-page-form-head {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	margin-bottom: 18px;
}
.npn-page-form-head h2 {
	margin: 0 0 6px;
	font-size: 28px;
}
.npn-page-form-actions {
	display: flex;
	gap: 10px;
}
.npn-admin-edit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 20px;
}
.npn-settings-grid {
	grid-template-columns: minmax(0, 1fr) 380px;
}
.npn-admin-edit-main {
	display: grid;
	gap: 20px;
}
.npn-admin-edit-side {
	position: sticky;
	top: 92px;
	height: max-content;
}
.npn-edit-card {
	overflow: visible;
}
.npn-edit-body {
	padding: 20px;
}
.npn-field {
	margin-bottom: 18px;
}
.npn-field:last-child {
	margin-bottom: 0;
}
.npn-field label {
	display: block;
	font-weight: 900;
	margin-bottom: 8px;
	color: #0f172a;
}
.npn-field label span {
	color: #dc2626;
}
.npn-field input[type="text"],
.npn-field input[type="password"],
.npn-field input[type="number"],
.npn-field input[type="color"],
.npn-field textarea,
.npn-field select {
	width: 100%;
	min-height: 42px;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	padding: 9px 12px;
	background: #fff;
	color: #0f172a;
	font-size: 14px;
}
.npn-field input[type="color"] {
	width: 90px;
	padding: 4px;
}
.npn-field textarea {
	min-height: 130px;
	resize: vertical;
}
.npn-field small {
	display: block;
	color: #64748b;
	margin-top: 6px;
}
.npn-save-page-btn {
	width: 100%;
	height: 46px;
	font-size: 15px;
	margin-top: 14px;
}
.npn-seo-preview {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 18px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.npn-seo-preview-title {
	color: #1a0dab;
	font-size: 20px;
	line-height: 1.35;
	margin-bottom: 5px;
}
.npn-seo-preview-url {
	color: #006621;
	font-size: 13px;
	margin-bottom: 8px;
	word-break: break-all;
}
.npn-seo-preview-desc {
	color: #545454;
	font-size: 14px;
	line-height: 1.45;
}
.npn-seo-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.npn-seo-form-grid .npn-field {
	margin-bottom: 0;
}
.npn-field-full {
	grid-column: 1/-1;
}
.npn-media-preview {
	width: 220px;
	min-height: 110px;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.npn-media-preview img {
	max-width: 100%;
	max-height: 140px;
	display: block;
}
.npn-checkline {
	display: flex;
	gap: 9px;
	align-items: center;
	margin: 12px 0;
	font-weight: 800;
}
.npn-admin-form {
	margin: 0;
}

.npn-menu-row .npn-field {
	margin-bottom: 0;
}
@media (max-width: 1200px) {
	.npn-search,
	.npn-panel-search {
		width: 260px;
	}
	.npn-admin-edit-grid,
	.npn-settings-grid {
		grid-template-columns: 1fr;
	}
	.npn-admin-edit-side {
		position: static;
	}
	.npn-seo-form-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.npn-sidebar {
		position: relative;
		width: 100%;
		min-height: auto;
	}
	.npn-admin-app {
		display: block;
	}
	.npn-main {
		width: 100%;
		margin-left: 0;
	}
	.npn-topbar {
		position: relative;
		height: auto;
		padding: 16px;
		display: block;
	}
	.npn-topbar-right {
		margin-top: 12px;
	}
	.npn-search {
		width: 100%;
	}
	.npn-panel-head,
	.npn-page-form-head {
		display: block;
	}
	.npn-panel-actions,
	.npn-page-form-actions {
		margin-top: 14px;
		display: flex;
		flex-wrap: wrap;
	}
	.npn-panel-search,
	.npn-filter-select {
		width: 100%;
		margin-bottom: 8px;
	}
	.npn-menu-row {
		grid-template-columns: 1fr;
	}
}
.npn-thumb-cell {
	width: 74px;
	height: 54px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #94a3b8;
	font-weight: 900;
}
.npn-thumb-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.npn-help-text {
	display: block;
	margin-top: 10px;
	color: #64748b;
	font-size: 13px;
}
.npn-seo-form-grid .npn-media-field {
	grid-column: 1/-1;
}

.npn-home-edit-section {
	border-bottom: 1px solid #eef2f7;
	padding-bottom: 22px;
	margin-bottom: 22px;
}
.npn-home-edit-section:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}
.npn-home-edit-section h4 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 900;
	color: #0f172a;
}
.npn-help-text {
	color: #64748b;
	margin: 8px 0 0;
	font-size: 13px;
}

.npn-multi-media-field {
	display: block;
}

.npn-multi-media-list {
	display: grid;
	gap: 14px;
}

.npn-multi-media-item {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #f8fafc;
}

.npn-multi-media-item .npn-media-preview {
	width: 150px;
	min-height: 86px;
	margin: 0;
}

.npn-multi-media-item .npn-media-url {
	width: 100%;
}

.npn-add-multi-media {
	margin-top: 12px;
}
.npn-video-input-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
}

.npn-video-preview {
	margin-top: 10px;
	color: #64748b;
	font-size: 13px;
	word-break: break-all;
}

.npn-video-preview code {
	display: inline-block;
	max-width: 100%;
	padding: 8px 10px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #0f172a;
	white-space: normal;
}

@media (max-width: 768px) {
	.npn-video-input-row {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 900px) {
	.npn-multi-media-item {
		grid-template-columns: 1fr;
	}

	.npn-multi-media-item .npn-media-preview {
		width: 100%;
	}
}
/* =========================
   WP Editor trong admin frontend
========================= */

.npn-admin-wrap .wp-editor-wrap {
	border: 1px solid #d7e1ee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.npn-admin-wrap .wp-editor-tools {
	background: #f8fafc;
	padding: 8px 10px 0;
}

.npn-admin-wrap .wp-editor-tabs {
	display: flex;
	gap: 6px;
}

.npn-admin-wrap .wp-editor-tabs button,
.npn-admin-wrap .wp-switch-editor {
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	border-radius: 8px 8px 0 0 !important;
	border: 1px solid #d7e1ee !important;
	background: #fff !important;
	color: #07152b !important;
	padding: 7px 12px !important;
	height: auto !important;
	line-height: 1.2 !important;
}

.npn-admin-wrap .html-active .switch-html,
.npn-admin-wrap .tmce-active .switch-tmce {
	background: #ffc400 !important;
	border-color: #ffc400 !important;
	color: #07152b !important;
}

.npn-admin-wrap .wp-editor-container {
	border: 0 !important;
}

.npn-admin-wrap .wp-editor-area {
	min-height: 360px;
	border: 0 !important;
	padding: 14px !important;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
}

.npn-admin-wrap .mce-toolbar-grp,
.npn-admin-wrap .quicktags-toolbar {
	background: #fff !important;
	border-bottom: 1px solid #e5edf6 !important;
}

.npn-admin-wrap .mce-btn button {
	font-family: "Manrope", Arial, sans-serif !important;
	font-weight: 600 !important;
}
/* =========================
   Admin bổ sung: Dashboard / Project / Customer / Contact
========================= */
.npn-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.npn-stat-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3eaf3;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.npn-stat-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -34px;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.18);
}

.npn-stat-card span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff7d6;
    margin-bottom: 10px;
}

.npn-stat-card strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: #07152b;
    margin-bottom: 6px;
}

.npn-stat-card p {
    margin: 0;
    color: #708198;
    font-size: 13px;
    font-weight: 700;
}

.npn-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.npn-filter-row select,
.npn-mini-form select,
.npn-test-email-form input[type="email"] {
    height: 42px;
    border-radius: 12px;
    border: 1px solid #d7e1ee;
    background: #fff;
    padding: 0 12px;
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 600;
}

.npn-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.npn-status-success { background: #dcfce7; color: #15803d; }
.npn-status-warning { background: #fff7d6; color: #9a6700; }
.npn-status-info { background: #e0f2fe; color: #0369a1; }
.npn-status-danger { background: #fee2e2; color: #b91c1c; }
.npn-status-muted { background: #e5e7eb; color: #4b5563; }

.npn-empty-state {
    padding: 22px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
    font-weight: 700;
}

.npn-admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.npn-admin-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #dbe5f1;
    background: #fff;
    text-decoration: none;
    color: #07152b;
}

.npn-admin-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / .72;
    object-fit: cover;
    display: block;
    background: #eef2f7;
}

.npn-admin-gallery-item span {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npn-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7d6;
    border: 1px solid #ffe58a;
    font-weight: 800;
}

.npn-file-chip a {
    color: #07152b;
    text-decoration: none;
}

.npn-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.npn-user-cell img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
}

.npn-activity-list {
    display: grid;
    gap: 10px;
	padding: 10px;
}

.npn-activity-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e3eaf3;
}

.npn-activity-item strong {
    display: block;
    color: #07152b;
    font-size: 13px;
}

.npn-activity-item span {
    display: block;
    color: #718096;
    font-size: 12px;
    margin-top: 4px;
}

.npn-mini-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.npn-test-email-form {
    margin-top: 18px;
}

.npn-admin-wrap button,
.npn-admin-wrap .button,
.npn-admin-wrap input[type="button"],
.npn-admin-wrap input[type="submit"],
.npn-admin-app button,
.npn-admin-app .npn-btn {
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 800;
}

.npn-media-field,
.npn-field .npn-media-field,
.npn-admin-form .npn-media-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.npn-field button.npn-upload-media,
.npn-field button.npn-remove-media {
    font-weight: 800;
}

@media (max-width: 1180px) {
    .npn-dashboard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .npn-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .npn-filter-row,
    .npn-mini-form {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}
/* =========================
   Custom scrollbar - đúng class bản HDR-admin-complete-fixed
========================= */

/* Sidebar cố định, chỉ menu bên trong được scroll */
.npn-sidebar {
	background: #0d1117;
	overflow: hidden;
}

/* Đây là thanh scroll đang thô trong ảnh */
.npn-sidebar-menu {
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 208, 0, 0.9) rgba(13, 17, 23, 0.95);
}

/* Chrome / Edge / Safari */
.npn-sidebar-menu::-webkit-scrollbar {
	width: 8px;
}

.npn-sidebar-menu::-webkit-scrollbar-track {
	background: rgba(13, 17, 23, 0.95);
	border-radius: 999px;
	margin: 8px 0;
}

.npn-sidebar-menu::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #ffe066 0%, #ffd000 45%, #ffb800 100%);
	border-radius: 999px;
	border: 2px solid #0d1117;
	box-shadow:
		0 0 10px rgba(255, 208, 0, 0.36),
		inset 0 0 4px rgba(255, 255, 255, 0.28);
}

.npn-sidebar-menu::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #fff1a8 0%, #ffd000 45%, #ffc400 100%);
	box-shadow:
		0 0 14px rgba(255, 208, 0, 0.58),
		inset 0 0 5px rgba(255, 255, 255, 0.36);
}

/* Main content scrollbar nếu trang dài */
.npn-main {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 208, 0, 0.82) #f3f4f6;
}

.npn-main::-webkit-scrollbar {
	width: 9px;
	height: 9px;
}

.npn-main::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 999px;
}

.npn-main::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #ffe066, #ffb800);
	border-radius: 999px;
	border: 2px solid #f3f4f6;
	box-shadow: 0 0 10px rgba(255, 208, 0, 0.28);
}

.npn-main::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #fff1a8, #ffc400);
}

/* Body scrollbar nếu trình duyệt đang scroll body */
.npn-admin-body {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 208, 0, 0.82) #f3f4f6;
}

.npn-admin-body::-webkit-scrollbar {
	width: 10px;
}

.npn-admin-body::-webkit-scrollbar-track {
	background: #f3f4f6;
}

.npn-admin-body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #ffe066, #ffb800);
	border-radius: 999px;
	border: 2px solid #f3f4f6;
	box-shadow:
		0 0 10px rgba(255, 208, 0, 0.3),
		inset 0 0 4px rgba(255, 255, 255, 0.25);
}

.npn-admin-body::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #fff1a8, #ffc400);
}
.npn-sidebar-menu {
	margin-right: 4px;
}

.npn-sidebar-link {
	margin-right: 2px;
}

/* =========================================================
   ADMIN PROJECT DETAIL - POLISH UI
   Áp dụng cho trang chi tiết project / upload kết quả / ghi chú
========================================================= */

/* Card section mềm hơn */
.npn-card,
.npn-admin-card,
.npn-form-card,
.npn-project-card {
	border-radius: 18px !important;
	border: 1px solid #e5edf6 !important;
	background: #fff !important;
	box-shadow:
		0 18px 50px rgba(15, 23, 42, 0.06),
		0 2px 8px rgba(15, 23, 42, 0.03) !important;
	overflow: hidden;
}

.npn-card-head,
.npn-admin-card-head,
.npn-form-card-head,
.npn-project-card-head {
	padding: 20px 20px 18px !important;
	border-bottom: 1px solid #edf2f7 !important;
	background:
		linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
}

.npn-card-head h2,
.npn-card-head h3,
.npn-admin-card-head h2,
.npn-admin-card-head h3,
.npn-form-card-head h2,
.npn-form-card-head h3,
.npn-project-card-head h2,
.npn-project-card-head h3 {
	margin: 0 0 6px !important;
	color: #07152b !important;
	font-size: 20px !important;
	font-weight: 900 !important;
	letter-spacing: -0.02em;
}

.npn-card-head p,
.npn-admin-card-head p,
.npn-form-card-head p,
.npn-project-card-head p {
	margin: 0 !important;
	color: #718096 !important;
	font-size: 15px !important;
	line-height: 1.5;
}

/* Body của card */
.npn-card-body,
.npn-admin-card-body,
.npn-form-card-body,
.npn-project-card-body {
	padding: 20px !important;
}

/* Empty state: Chưa có ảnh kết quả */
.npn-empty-state,
.npn-result-empty,
.npn-project-empty,
.npn-card .npn-empty,
.npn-admin-card .npn-empty {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px dashed #cbd8e6 !important;
	border-radius: 14px !important;
	background:
		linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%) !important;
	color: #65758b !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	padding: 18px !important;
}

/* Nếu text "Chưa có ảnh kết quả." nằm trong div thường */
.npn-card-body > div:only-child,
.npn-admin-card-body > div:only-child {
	border-radius: 14px;
}

/* Label trong form */
.npn-admin-wrap label,
.npn-main label,
.npn-form label {
	color: #07152b;
	font-weight: 900;
	font-size: 15px;
	margin-bottom: 8px;
	display: inline-block;
}

/* Input / select / textarea đồng bộ */
.npn-admin-wrap input[type="text"],
.npn-admin-wrap input[type="email"],
.npn-admin-wrap input[type="url"],
.npn-admin-wrap input[type="number"],
.npn-admin-wrap input[type="password"],
.npn-admin-wrap select,
.npn-admin-wrap textarea,
.npn-main input[type="text"],
.npn-main input[type="email"],
.npn-main input[type="url"],
.npn-main input[type="number"],
.npn-main input[type="password"],
.npn-main select,
.npn-main textarea {
	width: 100%;
	border: 1px solid #d9e4f2 !important;
	border-radius: 13px !important;
	background: #fff !important;
	color: #07152b !important;
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	outline: none !important;
	box-shadow: none !important;
	transition:
		border-color .18s ease,
		box-shadow .18s ease,
		background .18s ease;
}

.npn-admin-wrap input[type="text"],
.npn-admin-wrap input[type="email"],
.npn-admin-wrap input[type="url"],
.npn-admin-wrap input[type="number"],
.npn-admin-wrap input[type="password"],
.npn-admin-wrap select,
.npn-main input[type="text"],
.npn-main input[type="email"],
.npn-main input[type="url"],
.npn-main input[type="number"],
.npn-main input[type="password"],
.npn-main select {
	min-height: 44px !important;
	padding: 0 14px !important;
}

.npn-admin-wrap textarea,
.npn-main textarea {
	min-height: 130px;
	padding: 14px !important;
	line-height: 1.6 !important;
	resize: vertical;
}

.npn-admin-wrap input:focus,
.npn-admin-wrap select:focus,
.npn-admin-wrap textarea:focus,
.npn-main input:focus,
.npn-main select:focus,
.npn-main textarea:focus {
	border-color: #ffc400 !important;
	box-shadow:
		0 0 0 3px rgba(255, 196, 0, 0.15),
		0 8px 20px rgba(15, 23, 42, 0.04) !important;
	background: #fff !important;
}

/* Upload file mặc định: làm đẹp */
.npn-admin-wrap input[type="file"],
.npn-main input[type="file"] {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	border: 1px dashed #cbd8e6;
	border-radius: 14px;
	background: #f8fbff;
	color: #334155;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.npn-admin-wrap input[type="file"]::file-selector-button,
.npn-main input[type="file"]::file-selector-button {
	height: 36px;
	margin-right: 12px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: #07152b;
	color: #fff;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}

.npn-admin-wrap input[type="file"]::file-selector-button:hover,
.npn-main input[type="file"]::file-selector-button:hover {
	background: #ffc400;
	color: #07152b;
	transform: translateY(-1px);
}

/* Khoảng cách các field upload */
.npn-admin-wrap input[type="file"] + label,
.npn-main input[type="file"] + label {
	margin-top: 18px;
}

/* Các cụm field trong project detail */
.npn-project-field,
.npn-field,
.npn-form-row {
	margin-bottom: 18px;
}

.npn-project-field:last-child,
.npn-field:last-child,
.npn-form-row:last-child {
	margin-bottom: 0;
}

/* Button chuẩn */
.npn-admin-wrap button,
.npn-admin-wrap .button,
.npn-admin-wrap input[type="button"],
.npn-admin-wrap input[type="submit"],
.npn-main button,
.npn-main .button,
.npn-main input[type="button"],
.npn-main input[type="submit"] {
	font-family: "Manrope", Arial, sans-serif !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
	border-radius: 12px !important;
	box-shadow: none;
}

/* Button chính màu vàng */
.npn-btn-primary,
.npn-submit,
.npn-save,
.npn-update-project,
button[name="npn_update_project"],
input[name="npn_update_project"],
.npn-admin-wrap button[type="submit"]:not(.npn-danger):not(.npn-btn-danger),
.npn-main button[type="submit"]:not(.npn-danger):not(.npn-btn-danger) {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	padding: 0 22px !important;
	background: linear-gradient(180deg, #ffd51a, #ffc400) !important;
	color: #07152b !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	cursor: pointer;
	box-shadow:
		0 10px 24px rgba(255, 196, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.npn-btn-primary:hover,
.npn-submit:hover,
.npn-save:hover,
.npn-update-project:hover,
button[name="npn_update_project"]:hover,
input[name="npn_update_project"]:hover,
.npn-admin-wrap button[type="submit"]:not(.npn-danger):not(.npn-btn-danger):hover,
.npn-main button[type="submit"]:not(.npn-danger):not(.npn-btn-danger):hover {
	transform: translateY(-1px);
	filter: brightness(1.02);
	box-shadow:
		0 14px 28px rgba(255, 196, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

/* Button xóa */
.npn-btn-danger,
.npn-danger,
button[name="npn_delete_project"],
input[name="npn_delete_project"],
a.npn-delete,
.npn-delete {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px !important;
	border-radius: 11px !important;
	border: 1px solid #fecaca !important;
	background: #fff7f7 !important;
	color: #ef4444 !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.npn-btn-danger:hover,
.npn-danger:hover,
button[name="npn_delete_project"]:hover,
input[name="npn_delete_project"]:hover,
a.npn-delete:hover,
.npn-delete:hover {
	background: #ef4444 !important;
	border-color: #ef4444 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

/* Sidebar info card bên phải */
.npn-side-card,
.npn-project-side-card,
.npn-sidebar-card {
	border-radius: 18px !important;
	border: 1px solid #e5edf6 !important;
	background: #fff !important;
	box-shadow:
		0 18px 50px rgba(15, 23, 42, 0.06),
		0 2px 8px rgba(15, 23, 42, 0.03) !important;
	overflow: hidden;
}

.npn-side-card-head,
.npn-project-side-card-head,
.npn-sidebar-card-head {
	padding: 20px !important;
	border-bottom: 1px solid #edf2f7 !important;
	background: linear-gradient(180deg, #fff, #fbfdff) !important;
}

.npn-side-card-head h3,
.npn-project-side-card-head h3,
.npn-sidebar-card-head h3 {
	margin: 0 0 6px !important;
	color: #07152b !important;
	font-size: 18px !important;
	font-weight: 900 !important;
}

.npn-side-card-head p,
.npn-project-side-card-head p,
.npn-sidebar-card-head p {
	margin: 0 !important;
	color: #718096 !important;
	font-size: 14px !important;
}

.npn-side-card-body,
.npn-project-side-card-body,
.npn-sidebar-card-body {
	padding: 20px !important;
}

.npn-side-card strong,
.npn-project-side-card strong,
.npn-sidebar-card strong {
	color: #07152b;
	font-weight: 900;
}

/* Thông tin khách hàng trong sidebar */
.npn-project-meta,
.npn-project-info,
.npn-side-info {
	display: grid;
	gap: 16px;
	color: #334155;
	font-size: 14px;
	line-height: 1.45;
}

.npn-project-meta p,
.npn-project-info p,
.npn-side-info p {
	margin: 0;
}

/* Select trạng thái */
.npn-project-status-select,
select[name="npn_project_status"] {
	height: 44px !important;
	border-radius: 13px !important;
	font-weight: 700 !important;
}

/* Layout trang detail */
.npn-project-detail-grid,
.npn-admin-detail-grid,
.npn-edit-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 22px;
	align-items: start;
}

@media (max-width: 1100px) {
	.npn-project-detail-grid,
	.npn-admin-detail-grid,
	.npn-edit-layout {
		grid-template-columns: 1fr;
	}
}

/* Làm đẹp vùng upload kết quả */
.npn-result-upload-box,
.npn-project-result-box {
	display: grid;
	gap: 18px;
}

.npn-result-upload-box label,
.npn-project-result-box label {
	margin-bottom: 8px;
}

/* Gallery ảnh */
.npn-project-gallery,
.npn-result-gallery,
.npn-input-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
}

.npn-project-gallery img,
.npn-result-gallery img,
.npn-input-gallery img {
	width: 100%;
	aspect-ratio: 1 / .72;
	object-fit: cover;
	display: block;
	border-radius: 14px;
	border: 1px solid #dbe7f3;
	background: #f8fafc;
}

/* Message / notice đẹp hơn */
.npn-admin-notice,
.npn-notice,
.npn-message {
	border-radius: 14px !important;
	border: 1px solid #dbe7f3 !important;
	background: #f8fbff !important;
	color: #334155 !important;
	padding: 14px 16px !important;
	font-weight: 700;
}

.npn-admin-notice.is-success,
.npn-notice.is-success,
.npn-message.is-success {
	border-color: #bbf7d0 !important;
	background: #f0fdf4 !important;
	color: #166534 !important;
}

.npn-admin-notice.is-error,
.npn-notice.is-error,
.npn-message.is-error {
	border-color: #fecaca !important;
	background: #fef2f2 !important;
	color: #991b1b !important;
}
.npn-admin-wrap .wp-editor-wrap {
	border: 1px solid #d7e1ee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.npn-admin-wrap .wp-editor-tools {
	background: #f8fafc;
	padding: 8px 10px 0;
}

.npn-admin-wrap .wp-switch-editor {
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	border-radius: 8px 8px 0 0 !important;
	border: 1px solid #d7e1ee !important;
	background: #fff !important;
	color: #07152b !important;
	padding: 7px 12px !important;
	height: auto !important;
	line-height: 1.2 !important;
}

.npn-admin-wrap .html-active .switch-html,
.npn-admin-wrap .tmce-active .switch-tmce {
	background: #ffc400 !important;
	border-color: #ffc400 !important;
	color: #07152b !important;
}

.npn-admin-wrap .wp-editor-container {
	border: 0 !important;
}

.npn-admin-wrap .wp-editor-area {
	min-height: 320px;
	border: 0 !important;
	padding: 14px !important;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
}
/* =========================
   SEO Check Card
========================= */

.npn-seo-check-card {
	overflow: hidden;
}

.npn-seo-score {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border-radius: 16px;
	margin-bottom: 16px;
	border: 1px solid #e5edf6;
	background: #f8fbff;
}

.npn-seo-score-number {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 20px;
	font-weight: 900;
	background: #e5edf6;
	color: #07152b;
	flex: 0 0 auto;
}

.npn-seo-score strong {
	display: block;
	font-size: 17px;
	font-weight: 900;
	color: #07152b;
	margin-bottom: 4px;
}

.npn-seo-score span {
	display: block;
	font-size: 13px;
	color: #64748b;
}

.npn-seo-score.is-good {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.npn-seo-score.is-good .npn-seo-score-number {
	background: #22c55e;
	color: #fff;
}

.npn-seo-score.is-warning {
	background: #fffbeb;
	border-color: #fde68a;
}

.npn-seo-score.is-warning .npn-seo-score-number {
	background: #f59e0b;
	color: #fff;
}

.npn-seo-score.is-bad {
	background: #fef2f2;
	border-color: #fecaca;
}

.npn-seo-score.is-bad .npn-seo-score-number {
	background: #ef4444;
	color: #fff;
}

.npn-seo-check-list {
	display: grid;
	gap: 10px;
}

.npn-seo-check-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 13px 14px;
	border-radius: 14px;
	border: 1px solid #e5edf6;
	background: #fff;
}

.npn-seo-check-icon {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 15px;
	font-weight: 900;
	flex: 0 0 auto;
	background: #e5edf6;
	color: #475569;
}

.npn-seo-check-item strong {
	display: block;
	color: #07152b;
	font-size: 14px;
	font-weight: 900;
	margin-bottom: 3px;
}

.npn-seo-check-item p {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.45;
}

.npn-seo-check-item.is-good {
	border-color: #bbf7d0;
	background: #f7fef9;
}

.npn-seo-check-item.is-good .npn-seo-check-icon {
	background: #22c55e;
	color: #fff;
}

.npn-seo-check-item.is-warning {
	border-color: #fde68a;
	background: #fffdf3;
}

.npn-seo-check-item.is-warning .npn-seo-check-icon {
	background: #f59e0b;
	color: #fff;
}

.npn-seo-check-item.is-bad {
	border-color: #fecaca;
	background: #fff7f7;
}

.npn-seo-check-item.is-bad .npn-seo-check-icon {
	background: #ef4444;
	color: #fff;
}
/* =========================================================
   ADMIN PRO EXTENSIONS - dashboard, filters, media, API
========================================================= */
.npn-dashboard-grid-pro {
	grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.npn-panel-head-stack {
	align-items: flex-start;
	gap: 14px;
}

.npn-filter-toolbar {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, auto)) auto auto;
	gap: 10px;
	align-items: center;
	padding: 16px 18px;
	border-bottom: 1px solid #edf2f7;
	background: #fbfdff;
}

.npn-filter-toolbar input,
.npn-filter-toolbar select {
	min-height: 42px !important;
	border-radius: 12px !important;
}

.npn-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 18px;
	justify-content: flex-end;
}

.npn-page-num {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid #d9e4f2;
	background: #fff;
	color: #07152b;
	font-weight: 900;
	text-decoration: none;
}

.npn-page-num.active,
.npn-page-num:hover {
	background: #ffc400;
	border-color: #ffc400;
	color: #07152b;
}

.npn-admin-quick-links .npn-edit-body {
	display: grid;
	gap: 10px;
}

.npn-media-admin-grid {
	padding: 18px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.npn-media-card {
	display: grid !important;
	gap: 8px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e5edf6;
	border-radius: 16px;
	text-decoration: none;
}

.npn-media-card img,
.npn-file-thumb {
	width: 100%;
	aspect-ratio: 1 / .72;
	border-radius: 12px;
	object-fit: cover;
	display: grid;
	place-items: center;
	background: #f8fafc;
	font-size: 42px;
	text-decoration: none;
}

.npn-media-card span {
	font-weight: 900;
	font-size: 13px;
	color: #07152b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-media-card small {
	color: #64748b;
	font-size: 12px;
}

.npn-copy-url {
	height: 34px !important;
	font-size: 12px !important;
}

.npn-hp-field {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
}

@media (max-width: 1180px) {
	.npn-dashboard-grid-pro {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
	}
	.npn-filter-toolbar {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.npn-dashboard-grid-pro,
	.npn-filter-toolbar {
		grid-template-columns: 1fr;
	}
}

/* =========================
   Orders / Wallet / Points
========================= */
.npn-commerce-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.npn-commerce-stat {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5edf6;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.npn-commerce-stat span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.npn-commerce-stat strong {
    color: #07152b;
    font-size: 24px;
    font-weight: 900;
}

.npn-text-success {
    color: #16a34a !important;
}

.npn-text-danger {
    color: #ef4444 !important;
}

.npn-wallet-balance-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 13px;
    font-weight: 900;
}

/* =========================================================
   ORDER / WALLET / FILTER BAR - PROFESSIONAL ADMIN UI
========================================================= */

/* khoảng cách panel */
.npn-panel {
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.04);
}

.npn-panel + .npn-panel {
    margin-top: 26px;
}

/* đầu box */
.npn-panel-head {
    padding: 22px 26px 18px;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
}

.npn-panel-head h3 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.npn-panel-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* body box */
.npn-edit-body,
.npn-panel-body {
    padding: 22px 26px 26px;
}

/* =========================================================
   PAGE TOP ACTIONS
========================================================= */
.npn-page-actions,
.npn-page-form-head-actions,
.npn-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.npn-page-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.npn-page-form-head h2,
.npn-page-form-head h1 {
    margin: 0 0 6px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.npn-page-form-head p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   FILTER FORM
========================================================= */
.npn-admin-filter-form {
    display: block;
    width: 100%;
}

.npn-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-bottom: 22px;
}

.npn-filter-grid .npn-field {
    margin: 0;
}

.npn-filter-grid .npn-field label {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.npn-filter-grid .npn-field input[type="text"],
.npn-filter-grid .npn-field input[type="search"],
.npn-filter-grid .npn-field input[type="number"],
.npn-filter-grid .npn-field input[type="date"],
.npn-filter-grid .npn-field input[type="email"],
.npn-filter-grid .npn-field select,
.npn-filter-grid .npn-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid #d7dfeb;
    border-radius: 16px;
    background: #fdfefe;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.npn-filter-grid .npn-field textarea {
    min-height: 120px;
    padding: 14px 18px;
    resize: vertical;
}

.npn-filter-grid .npn-field input:focus,
.npn-filter-grid .npn-field select:focus,
.npn-filter-grid .npn-field textarea:focus {
    border-color: #facc15;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

/* action dưới bộ lọc */
.npn-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 4px;
}

/* nếu trong file cũ có margin-right gây dính thì reset luôn */
.npn-filter-actions .npn-btn,
.npn-page-actions .npn-btn,
.npn-page-form-head-actions .npn-btn,
.npn-toolbar-actions .npn-btn {
    margin: 0 !important;
}

/* =========================================================
   BUTTON SYSTEM
========================================================= */
.npn-btn,
button.npn-btn,
a.npn-btn,
input.npn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #d7dfeb;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.22s ease;
}

.npn-btn:hover,
button.npn-btn:hover,
a.npn-btn:hover {
    transform: translateY(-1px);
    border-color: #cdd8e8;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.npn-btn-primary {
    background: #facc15;
    border-color: #facc15;
    color: #111827;
}

.npn-btn-primary:hover {
    background: #f5c400;
    border-color: #f5c400;
    color: #111827;
}

.npn-btn-secondary {
    background: #fff;
    border-color: #d7dfeb;
    color: #0f172a;
}

.npn-btn-danger {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.npn-btn-danger:hover {
    background: #ffe4e6;
    border-color: #fda4af;
}

/* =========================================================
   ORDER / WALLET TABLE
========================================================= */
.npn-table-wrap,
.npn-admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    background: #fff;
}

.npn-table,
.npn-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.npn-table thead th,
.npn-admin-table thead th {
    padding: 16px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e9eef5;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #64748b;
}

.npn-table tbody td,
.npn-admin-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.6;
    color: #111827;
    background: #fff;
}

.npn-table tbody tr:hover td,
.npn-admin-table tbody tr:hover td {
    background: #fcfdff;
}

/* trạng thái */
.npn-status-badge,
.npn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.npn-status-pending,
.npn-badge-pending {
    background: #fff7ed;
    color: #c2410c;
}

.npn-status-processing,
.npn-badge-processing {
    background: #eff6ff;
    color: #1d4ed8;
}

.npn-status-completed,
.npn-badge-completed {
    background: #ecfdf5;
    color: #047857;
}

.npn-status-cancelled,
.npn-badge-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

/* actions trong table */
.npn-table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.npn-table-actions .npn-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
}

/* =========================================================
   EMPTY STATE
========================================================= */
.npn-empty,
.npn-empty-state {
    padding: 34px 24px;
    border: 1px dashed #d9e3f0;
    border-radius: 18px;
    background: #fbfdff;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

/* =========================================================
   WALLET / ORDER SPECIFIC SPACING
========================================================= */
.npn-orders-page .npn-panel,
.npn-wallet-page .npn-panel {
    margin-bottom: 0;
}

.npn-orders-page .npn-panel + .npn-panel,
.npn-wallet-page .npn-panel + .npn-panel {
    margin-top: 24px;
}

/* dropdown / select đẹp hơn */
.npn-admin-filter-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 46px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {
    .npn-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .npn-page-form-head {
        flex-direction: column;
        align-items: stretch;
    }

    .npn-page-actions,
    .npn-page-form-head-actions,
    .npn-toolbar-actions {
        justify-content: flex-start;
    }

    .npn-filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .npn-panel-head,
    .npn-edit-body,
    .npn-panel-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .npn-page-form-head h2,
    .npn-page-form-head h1 {
        font-size: 32px;
    }

    .npn-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .npn-filter-actions .npn-btn,
    .npn-page-actions .npn-btn,
    .npn-page-form-head-actions .npn-btn,
    .npn-toolbar-actions .npn-btn {
        width: 100%;
    }
}
.page-template-template-admin-wallet .npn-table {
	margin-top: 20px;
}

/* =========================================================
   COMPACT FILTER - ORDER / WALLET
   Bộ lọc gọn 1 hàng, bỏ tiêu đề/chú thích, tách rõ với danh sách
========================================================= */

.npn-compact-filter-panel {
	margin-bottom: 24px !important;
	overflow: visible !important;
}

.npn-compact-filter-panel .npn-panel-head {
	display: none !important;
}

.npn-compact-filter-panel .npn-edit-body,
.npn-compact-filter-panel .npn-panel-body {
	padding: 16px 18px !important;
}

.npn-compact-filter-form {
	margin: 0 !important;
}

.npn-compact-filter-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) minmax(170px, .95fr) minmax(220px, 1.15fr) 120px auto;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.npn-compact-filter-row .npn-field {
	margin: 0 !important;
}

.npn-compact-filter-row .npn-field label {
	display: none !important;
}

.npn-compact-filter-row input[type="text"],
.npn-compact-filter-row input[type="search"],
.npn-compact-filter-row input[type="date"],
.npn-compact-filter-row input[type="number"],
.npn-compact-filter-row select {
	width: 100% !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #d9e4f2 !important;
	border-radius: 13px !important;
	background-color: #fff !important;
	color: #0f172a !important;
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 46px !important;
	box-shadow: none !important;
	outline: none !important;
}

.npn-compact-filter-row select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px !important;
	background-image:
		linear-gradient(45deg, transparent 50%, #64748b 50%),
		linear-gradient(135deg, #64748b 50%, transparent 50%);
	background-position:
		calc(100% - 21px) calc(50% - 3px),
		calc(100% - 15px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.npn-compact-filter-row input:focus,
.npn-compact-filter-row select:focus {
	border-color: #ffc400 !important;
	box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.14) !important;
}

.npn-compact-filter-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	white-space: nowrap;
}

.npn-compact-filter-actions .npn-btn {
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border-radius: 13px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
}

.npn-compact-filter-actions .npn-btn:not(.npn-btn-primary) {
	background: #fff !important;
	border: 1px solid #d9e4f2 !important;
	color: #0f172a !important;
	box-shadow: none !important;
}

.npn-compact-filter-actions .npn-btn:not(.npn-btn-primary):hover {
	border-color: #cbd8e6 !important;
	background: #f8fafc !important;
	transform: translateY(-1px);
}

.npn-compact-filter-actions .npn-btn-primary {
	background: linear-gradient(180deg, #ffd51a, #ffc400) !important;
	border-color: #ffc400 !important;
	color: #07152b !important;
	box-shadow: 0 10px 20px rgba(255, 196, 0, 0.18) !important;
}

/* Đảm bảo bộ lọc không dính danh sách */
.npn-compact-filter-panel + .npn-panel,
.npn-wallet-compact-filter + .npn-table,
.npn-wallet-compact-filter + .npn-table-wrap {
	margin-top: 20px !important;
}

/* Bộ lọc ví chỉ có 2 dropdown + nút */
.npn-wallet-filter-row {
	grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 1fr) 120px auto !important;
	margin-bottom: 20px;
}

/* Table tách khỏi form lọc trong ví */
.npn-wallet-compact-filter {
	margin-bottom: 20px !important;
}

/* Giảm độ cao block lọc trên trang đơn hàng */
.npn-orders-filter-panel {
	box-shadow: 0 8px 26px rgba(15, 23, 42, 0.035) !important;
}

/* Responsive */
@media (max-width: 1280px) {
	.npn-compact-filter-row {
		grid-template-columns: 1fr 1fr;
	}

	.npn-compact-filter-actions {
		justify-content: flex-start;
	}

	.npn-wallet-filter-row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.npn-compact-filter-row,
	.npn-wallet-filter-row {
		grid-template-columns: 1fr;
	}

	.npn-compact-filter-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.npn-compact-filter-actions .npn-btn {
		width: 100%;
	}
}

/* Wallet pagination */
.npn-admin-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.npn-page-number {
	min-width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid #d9e4f2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #07152b;
	background: #fff;
	font-weight: 900;
	font-size: 13px;
	text-decoration: none;
}

.npn-page-number:hover,
.npn-page-number.is-active {
	background: #ffc400;
	border-color: #ffc400;
	color: #07152b;
}

.npn-compact-inline-form {
	margin: 0;
}

.npn-compact-inline-form select {
	height: 42px;
	border-radius: 12px;
	border: 1px solid #d9e4f2;
	padding: 0 12px;
	background: #fff;
	font-weight: 800;
}

.npn-wallet-filter-row {
	grid-template-columns: minmax(220px, 1.4fr) minmax(170px, 1fr) 120px auto;
}

.npn-text-success {
	color: #059669;
}

.npn-text-danger {
	color: #ef4444;
}

@media (max-width: 1200px) {
	.npn-wallet-filter-row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.npn-wallet-filter-row {
		grid-template-columns: 1fr;
	}
}
#npn-wallet-history {
	scroll-margin-top: 96px;
}
html {
	scroll-behavior: smooth;
}

/* =========================================================
   WALLET AJAX PRO UI - OVERRIDE
========================================================= */
.npn-wallet-ajax-page .npn-page-form-head {
	display: none !important;
}

.npn-wallet-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.npn-wallet-toolbar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.npn-wallet-rate-mini {
	padding: 12px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e5edf6;
	color: #64748b;
	font-weight: 800;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.npn-wallet-rate-mini span,
.npn-wallet-rate-mini strong {
	color: #07152b;
	font-weight: 900;
}

.npn-wallet-panel {
	margin-bottom: 22px;
}

.npn-wallet-panel-head {
	padding: 18px 22px !important;
}

.npn-wallet-panel-head h3 {
	font-size: 22px !important;
	margin: 0 !important;
}

.npn-wallet-panel-head select,
.npn-wallet-history-filter select {
	height: 46px;
	border: 1px solid #d9e4f2;
	border-radius: 14px;
	background: #fff;
	padding: 0 14px;
	font-weight: 800;
	color: #07152b;
}
select.npn-wallet-balance-per-page {
	width: 200px;
}
.npn-wallet-history-filter {
	display: grid;
	grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .8fr) 120px;
	gap: 12px;
	margin-bottom: 18px;
}

.npn-wallet-table th,
.npn-wallet-table td,
.npn-wallet-history-table th,
.npn-wallet-history-table td {
	vertical-align: middle;
}

.npn-wallet-balance-big {
	font-size: 16px;
	color: #07152b;
	font-family: "ManropeExBold", "Manrope", Arial, sans-serif;
}

.npn-wallet-before {
	color: #64748b;
	font-size: 13px;
}

.npn-wallet-arrow {
	display: inline-block;
	margin: 0 6px;
	color: #94a3b8;
}

.npn-wallet-after {
	display: inline-block;
	font-size: 14px;
	color: #07152b;
	font-family: "ManropeExBold", "Manrope", Arial, sans-serif;
}

.npn-text-success {
	color: #059669 !important;
}

.npn-text-danger {
	color: #ef4444 !important;
}

.npn-wallet-ajax-box {
	position: relative;
	min-height: 80px;
}

.npn-wallet-ajax-box.is-loading {
	opacity: .55;
	pointer-events: none;
}

.npn-loading-box {
	padding: 26px;
	text-align: center;
	border: 1px dashed #d9e4f2;
	border-radius: 16px;
	color: #64748b;
	font-weight: 800;
}

.npn-wallet-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
}

.npn-wallet-modal.is-open {
	display: flex;
}

.npn-wallet-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .58);
	backdrop-filter: blur(5px);
}

.npn-wallet-modal-card {
	position: relative;
	width: min(520px, 100%);
	max-height: calc(100vh - 44px);
	overflow-y: auto;
	border-radius: 22px;
	background: #fff;
	border: 1px solid #e5edf6;
	box-shadow: 0 30px 90px rgba(15, 23, 42, .25);
	padding: 26px;
}

.npn-wallet-modal-card h3 {
	margin: 0 0 6px;
	font-size: 26px;
	color: #07152b;
}

.npn-wallet-modal-card p {
	margin: 0 0 20px;
	color: #64748b;
}

.npn-wallet-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #07152b;
	font-size: 22px;
	cursor: pointer;
}

.npn-wallet-modal-close:hover {
	background: #ffc400;
}

.npn-admin-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.npn-page-number {
	min-width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid #d9e4f2;
	background: #fff;
	color: #07152b;
	font-weight: 900;
	cursor: pointer;
}

.npn-page-number.is-active,
.npn-page-number:hover {
	background: #ffc400;
	border-color: #ffc400;
}

.npn-wallet-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10000;
	max-width: min(360px, calc(100vw - 48px));
	padding: 14px 16px;
	border-radius: 16px;
	background: #07152b;
	color: #fff;
	font-weight: 800;
	box-shadow: 0 18px 50px rgba(15, 23, 42, .2);
	transform: translateY(20px);
	opacity: 0;
	pointer-events: none;
	transition: all .2s ease;
}

.npn-wallet-toast.is-show {
	transform: translateY(0);
	opacity: 1;
}

.npn-wallet-toast.is-success {
	background: #059669;
}

.npn-wallet-toast.is-error {
	background: #ef4444;
}

#npn-wallet-history {
	scroll-margin-top: 96px;
}

@media (max-width: 900px) {
	.npn-wallet-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.npn-wallet-history-filter {
		grid-template-columns: 1fr;
	}
}

/* =========================
   Orders AJAX Pro UI
========================= */

.npn-orders-ajax-page .npn-order-filter-panel {
	margin-bottom: 22px !important;
}

.npn-order-filter-row {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 1fr) minmax(240px, 1.2fr) 120px;
	gap: 12px;
	align-items: center;
}

.npn-order-filter-row input,
.npn-order-filter-row select {
	width: 100%;
	height: 48px;
	min-height: 48px;
	border: 1px solid #d9e4f2;
	border-radius: 14px;
	background: #fff;
	padding: 0 14px;
	color: #07152b;
	font-weight: 800;
	outline: none;
}

.npn-order-filter-row input:focus,
.npn-order-filter-row select:focus {
	border-color: #ffc400;
	box-shadow: 0 0 0 3px rgba(255, 196, 0, .15);
}

.npn-orders-ajax-box.is-loading {
	opacity: .55;
	pointer-events: none;
}

.npn-order-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
}

.npn-order-modal.is-open {
	display: flex;
}

.npn-order-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .58);
	backdrop-filter: blur(5px);
}

.npn-order-modal-card {
	position: relative;
	width: min(860px, 100%);
	max-height: calc(100vh - 44px);
	overflow-y: auto;
	border-radius: 24px;
	background: #fff;
	border: 1px solid #e5edf6;
	box-shadow: 0 30px 90px rgba(15, 23, 42, .25);
	padding: 26px;
}

.npn-order-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #07152b;
	font-size: 24px;
	cursor: pointer;
}

.npn-order-modal-head {
	margin-bottom: 20px;
	padding-right: 48px;
}

.npn-order-modal-head h3 {
	margin: 0 0 6px;
	font-size: 28px;
	color: #07152b;
	font-weight: 900;
}

.npn-order-modal-head p {
	margin: 0;
	color: #64748b;
}

.npn-order-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.npn-order-form-grid .npn-field {
	margin: 0;
}

.npn-order-form-grid .npn-field-full {
	grid-column: 1 / -1;
}

.npn-table-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.npn-table-actions .npn-btn {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 13px;
}

@media (max-width: 1200px) {
	.npn-order-filter-row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.npn-order-filter-row,
	.npn-order-form-grid {
		grid-template-columns: 1fr;
	}

	.npn-order-modal-card {
		padding: 22px 18px;
	}
}
/* =========================================================
   CONTENT AJAX PRO: SERVICE + PROJECT SHOWCASE
========================================================= */
.npn-content-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.npn-content-toolbar h2 {
    margin: 0 0 6px;
    font-size: 32px;
    line-height: 1.15;
    color: #07152b;
    font-family: "ManropeExBold", "Manrope", Arial, sans-serif;
}

.npn-content-toolbar h2 span {
    color: #64748b;
    font-size: .72em;
}

.npn-content-toolbar p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.npn-content-filter-panel {
    margin-bottom: 22px;
}

.npn-content-filter-panel .npn-edit-body {
    padding: 16px 18px !important;
}

.npn-content-filter-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, .8fr) 130px;
    gap: 12px;
    align-items: center;
}

.npn-project-showcase-filter-row {
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, .8fr) 130px;
}

.npn-content-filter-row input,
.npn-content-filter-row select {
    width: 100%;
    height: 48px;
    min-height: 48px;
    border: 1px solid #d9e4f2;
    border-radius: 14px;
    background: #fff;
    padding: 0 14px;
    color: #07152b;
    font-weight: 800;
    outline: none;
}

.npn-content-filter-row input:focus,
.npn-content-filter-row select:focus {
    border-color: #ffc400;
    box-shadow: 0 0 0 3px rgba(255, 196, 0, .15);
}

.npn-content-ajax-box.is-loading {
    opacity: .55;
    pointer-events: none;
}

.npn-service-points {
    color: #07152b;
    font-size: 15px;
}

.npn-content-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.npn-content-modal.is-open {
    display: flex;
}

.npn-content-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(5px);
}

.npn-content-modal-card {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e5edf6;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .25);
    padding: 26px;
}

.npn-content-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #07152b;
    font-size: 24px;
    cursor: pointer;
}

.npn-content-modal-head {
    padding-right: 48px;
    margin-bottom: 20px;
}

.npn-content-modal-head h3 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #07152b;
    font-family: "ManropeExBold", "Manrope", Arial, sans-serif;
}

.npn-content-modal-head p {
    margin: 0;
    color: #64748b;
}

.npn-content-form-grid,
.npn-content-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.npn-content-image-grid {
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.npn-content-form-grid .npn-field,
.npn-content-image-grid .npn-field {
    margin: 0;
}

.npn-content-form-grid .npn-field-full,
.npn-content-image-grid .npn-field-full {
    grid-column: 1 / -1;
}

.npn-content-image-grid .npn-media-field {
    display: block;
}

.npn-content-image-grid .npn-media-preview {
    width: 100%;
    min-height: 150px;
    margin-bottom: 10px;
}

.npn-content-image-grid .npn-media-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    max-height: none;
}

.npn-check-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d9e4f2;
    border-radius: 14px;
    background: #f8fafc;
}

.npn-check-field input {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
}

@media (max-width: 1100px) {
    .npn-content-filter-row,
    .npn-project-showcase-filter-row,
    .npn-content-form-grid,
    .npn-content-image-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .npn-content-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .npn-content-filter-row,
    .npn-project-showcase-filter-row,
    .npn-content-form-grid,
    .npn-content-image-grid {
        grid-template-columns: 1fr;
    }

    .npn-content-modal-card {
        padding: 22px 18px;
    }
}

/* =========================================================
   Project showcase + result file management polish
========================================================= */
.npn-muted {
	color: #94a3b8;
	font-size: 13px;
	font-weight: 800;
}

.npn-project-showcase-table .npn-row-id,
.npn-capabilities-table .npn-row-id {
	margin-top: 6px;
}

.npn-card-detail {
	margin-top: 10px;
	color: rgba(232, 246, 255, 0.68);
	font-size: 13px;
	line-height: 1.55;
	max-height: 72px;
	overflow: hidden;
}

.npn-card-detail p {
	margin: 0 0 8px;
}

.npn-admin-gallery-manage-item {
	position: relative;
	padding-bottom: 44px;
}

.npn-admin-gallery-manage-item > a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.npn-admin-gallery-manage-item label {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 28px;
	border-radius: 999px;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #e11d48;
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
}

.npn-admin-gallery-manage-item label input {
	margin: 0;
}

.npn-file-chip-removable {
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 14px;
}

.npn-file-chip-removable label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #e11d48;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
}

.npn-checkline input[type="checkbox"],
.npn-check-field input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #ffd000;
}

/* =========================================================
   PROJECT DETAIL REWORK - SHOWCASE + TABS + RESULT CLEANUP
========================================================= */
.npn-project-detail-grid {
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
}

.npn-showcase-edit-card {
	border: 1px solid #dbeafe !important;
	box-shadow: 0 18px 48px rgba(37, 99, 235, 0.06) !important;
}

.npn-showcase-edit-card .npn-panel-head {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.npn-toggle-checkline {
	padding: 14px 16px;
	border: 1px solid #d9e4f2;
	border-radius: 16px;
	background: #f8fafc;
	margin: 0 0 18px !important;
}

.npn-toggle-checkline input {
	width: 18px;
	height: 18px;
	accent-color: #ffc400;
}

.npn-project-showcase-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px;
	gap: 16px;
}

.npn-project-showcase-fields .npn-field {
	margin-bottom: 0;
}

.npn-project-showcase-fields .npn-field-full {
	grid-column: 1 / -1;
}

.npn-admin-tabs {
	display: block;
}

.npn-admin-tab-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 8px;
	border: 1px solid #e5edf6;
	border-radius: 16px;
	background: #f8fafc;
	margin-bottom: 18px;
}

.npn-admin-tab-btn {
	min-height: 42px;
	padding: 0 18px;
	border-radius: 12px;
	border: 1px solid transparent;
	background: transparent;
	color: #64748b;
	font-family: "Manrope", Arial, sans-serif;
	font-weight: 900;
	cursor: pointer;
	transition: all .2s ease;
}

.npn-admin-tab-btn:hover {
	background: #fff;
	color: #07152b;
	border-color: #e5edf6;
}

.npn-admin-tab-btn.is-active {
	background: #ffc400;
	border-color: #ffc400;
	color: #07152b;
	box-shadow: 0 10px 22px rgba(255, 196, 0, .22);
}

.npn-admin-tab-panel {
	display: none;
}

.npn-admin-tab-panel.is-active {
	display: block;
}

.npn-tab-title-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding: 12px 14px;
	border: 1px solid #edf2f7;
	border-radius: 14px;
	background: #fbfdff;
}

.npn-tab-title-line strong {
	font-size: 15px;
	color: #07152b;
}

.npn-tab-title-line span {
	font-size: 13px;
	font-weight: 800;
	color: #64748b;
}

.npn-project-media-tabs-card .npn-admin-gallery,
.npn-project-notes-card .npn-admin-gallery {
	margin-bottom: 16px;
}

.npn-admin-gallery-manage-item label,
.npn-file-chip-removable label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 8px 10px 10px;
	padding: 8px 10px;
	border-radius: 999px;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #e11d48;
	font-size: 12px;
	font-weight: 900;
}

.npn-file-chip-removable {
	margin: 16px 0;
	width: 100%;
	justify-content: space-between;
	flex-wrap: wrap;
}

.npn-project-detail-form .wp-editor-wrap {
	margin-top: 0;
}

@media (max-width: 1200px) {
	.npn-project-detail-grid,
	.npn-project-showcase-fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.npn-admin-tab-nav {
		display: grid;
		grid-template-columns: 1fr;
	}
	.npn-tab-title-line {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* =========================================================
   PROJECT RESULT UPLOAD PREVIEW
========================================================= */
.npn-project-upload-field {
	margin-top: 18px;
}

.npn-file-upload-box {
	position: relative;
	border: 1px dashed #cbdaf0;
	border-radius: 16px;
	background: #f8fbff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	transition: all .2s ease;
}

.npn-file-upload-box:hover {
	border-color: #ffc400;
	background: #fffdf2;
	box-shadow: 0 0 0 3px rgba(255, 196, 0, .12);
}

.npn-file-upload-box input[type="file"] {
	position: relative;
	z-index: 2;
	max-width: 100%;
	font-family: "Manrope", Arial, sans-serif;
	font-weight: 800;
	color: #07152b;
}

.npn-file-upload-box input[type="file"]::file-selector-button {
	min-height: 38px;
	padding: 0 16px;
	margin-right: 12px;
	border: 0;
	border-radius: 12px;
	background: #07152b;
	color: #fff;
	font-family: "Manrope", Arial, sans-serif;
	font-weight: 900;
	cursor: pointer;
}

.npn-file-upload-hint {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.npn-file-upload-hint strong {
	font-size: 13px;
	color: #07152b;
}

.npn-file-upload-hint span {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}

.npn-project-upload-preview {
	margin-top: 12px;
}

.npn-project-upload-preview-empty {
	padding: 16px 18px;
	border-radius: 16px;
	border: 1px dashed #d6e2f2;
	background: #fbfdff;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	color: #64748b;
}

.npn-project-preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.npn-project-preview-card {
	border: 1px solid #dbe6f5;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.npn-project-preview-thumb {
	background: #eef4fb;
	aspect-ratio: 1 / .72;
	overflow: hidden;
}

.npn-project-preview-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.npn-project-preview-meta {
	padding: 10px 12px;
	display: grid;
	gap: 4px;
}

.npn-project-preview-meta strong {
	font-size: 13px;
	font-weight: 900;
	color: #07152b;
}

.npn-project-preview-meta span {
	font-size: 12px;
	font-weight: 800;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-project-preview-meta small {
	font-size: 11px;
	font-weight: 800;
	color: #94a3b8;
}

.npn-project-zip-preview-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid #ffe08a;
	border-radius: 16px;
	background: #fff9db;
}

.npn-project-zip-icon {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: #07152b;
	color: #ffc400;
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 1000;
	letter-spacing: .04em;
	flex: 0 0 auto;
}

.npn-project-zip-info {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.npn-project-zip-info strong {
	font-size: 14px;
	font-weight: 900;
	color: #07152b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npn-project-zip-info span,
.npn-project-zip-info small {
	font-size: 12px;
	font-weight: 800;
	color: #64748b;
}

@media (max-width: 760px) {
	.npn-file-upload-box {
		align-items: flex-start;
		flex-direction: column;
	}

	.npn-project-preview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.npn-media-field input {
	margin-bottom: 12px;
}
.npn-capabilities-table tbody tr td:nth-child(9) {
	width: 260px !important;
}
.table-pages tbody tr td:nth-child(7) {
	width: 260px !important;
}

/* =========================================================
   HOME 3-BLOCK ADMIN + MENU CHILDREN
========================================================= */
.npn-menu-row-pro select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 9px 12px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}
.npn-home-layout-admin .npn-home-edit-section {
    border: 1px solid #e7edf6;
    border-radius: 18px;
    background: #fbfdff;
    padding: 20px;
    margin: 0 0 18px;
}
.npn-home-layout-admin .npn-home-edit-section h4 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #07152b;
}
.npn-home-layout-admin .npn-help-text {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7d6;
    border: 1px solid #ffe58a;
    color: #6b4f00;
    font-weight: 700;
}
.npn-home-layout-admin textarea[name="npn_home_settings[hero_title]"] {
    min-height: 120px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}
@media (max-width: 920px) {
    .npn-menu-row-pro {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Capability gallery admin
========================================================= */

.npn-gallery-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 14px;
	min-height: 132px;
	padding: 16px;
	border: 1px dashed #cbd8ea;
	border-radius: 18px;
	background: #f8fbff;
}

.npn-gallery-empty {
	grid-column: 1 / -1;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-weight: 800;
	text-align: center;
}

.npn-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid #dbe5f2;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.npn-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.npn-remove-gallery-item {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 999px;
	background: rgba(239, 68, 68, 0.92);
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
}

.npn-gallery-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.npn-field-note {
	margin: -2px 0 12px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}
.npn-capability-edit-page-form {
	display: block;
}

.npn-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.npn-form-grid .npn-field-full {
	grid-column: 1 / -1;
}

.npn-field label span {
	color: #ef4444;
}

.npn-admin-edit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 22px;
	align-items: start;
}

.npn-admin-edit-main,
.npn-admin-edit-side {
	min-width: 0;
}

.npn-admin-edit-side {
	position: sticky;
	top: 92px;
	display: grid;
	gap: 18px;
}

.npn-save-page-btn {
	width: 100%;
	min-height: 54px;
}

.npn-media-field .npn-media-preview {
	min-height: 170px;
	border: 1px dashed #cbd8ea;
	border-radius: 18px;
	background: #f8fbff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 12px;
}

.npn-media-field .npn-media-preview img {
	width: 100%;
	height: 100%;
	max-height: 240px;
	object-fit: cover;
	display: block;
}

.npn-media-field .npn-media-url {
	width: 100%;
	margin-bottom: 12px;
}

.npn-media-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-width: 1100px) {
	.npn-admin-edit-grid {
		grid-template-columns: 1fr;
	}

	.npn-admin-edit-side {
		position: static;
	}
}

@media (max-width: 700px) {
	.npn-form-grid {
		grid-template-columns: 1fr;
	}
}
/* =========================================================
   FRONT ADMIN LOGIN
========================================================= */

.npn-admin-login-body {
	margin: 0;
	background: #0d1117;
	font-family: "Manrope", Arial, sans-serif;
	color: #fff;
}

.npn-admin-login-page {
	position: relative;
	min-height: 100vh;
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(255, 208, 0, .18), transparent 34%),
		radial-gradient(circle at bottom right, rgba(14, 165, 233, .16), transparent 36%),
		linear-gradient(135deg, #0d1117 0%, #07111f 48%, #111827 100%);
}

.npn-login-bg-glow {
	position: absolute;
	border-radius: 999px;
	filter: blur(14px);
	opacity: .8;
	pointer-events: none;
}

.npn-login-bg-glow-1 {
	width: 360px;
	height: 360px;
	top: -120px;
	left: -100px;
	background: rgba(255, 208, 0, .22);
}

.npn-login-bg-glow-2 {
	width: 420px;
	height: 420px;
	right: -140px;
	bottom: -140px;
	background: rgba(56, 189, 248, .18);
}

.npn-login-shell {
	position: relative;
	z-index: 2;
	width: min(1120px, 100%);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	border-radius: 32px;
	overflow: hidden;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 30px 120px rgba(0, 0, 0, .38);
	backdrop-filter: blur(18px);
}

.npn-login-brand-panel {
	padding: 54px;
	background:
		linear-gradient(135deg, rgba(255, 208, 0, .12), transparent 40%),
		rgba(255, 255, 255, .035);
}

.npn-login-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 76px;
}

.npn-login-logo {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: #ffd000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #111827;
	font-weight: 900;
	box-shadow: 0 18px 40px rgba(255, 208, 0, .22);
}

.npn-login-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 7px;
}

.npn-login-brand strong {
	display: block;
	font-size: 20px;
	line-height: 1.15;
}

.npn-login-brand span {
	display: block;
	margin-top: 3px;
	color: rgba(255, 255, 255, .62);
	font-size: 13px;
}

.npn-login-brand-panel h1 {
	max-width: 560px;
	margin: 0;
	font-size: clamp(38px, 5vw, 64px);
	line-height: .98;
	letter-spacing: -.05em;
	color: #fff;
}

.npn-login-brand-panel p {
	max-width: 520px;
	margin: 22px 0 0;
	color: rgba(226, 232, 240, .78);
	font-size: 16px;
	line-height: 1.72;
}

.npn-login-feature-list {
	display: grid;
	gap: 12px;
	margin-top: 34px;
}

.npn-login-feature-list div {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .82);
	font-weight: 700;
}

.npn-login-feature-list span {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: rgba(255, 208, 0, .16);
	color: #ffd000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
}

.npn-login-card {
	background: #fff;
	color: #07152b;
	padding: 46px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.npn-login-card-head {
	margin-bottom: 24px;
}

.npn-login-card-head h2 {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.1;
	letter-spacing: -.03em;
	color: #07152b;
}

.npn-login-card-head p {
	margin: 0;
	color: #64748b;
	font-size: 15px;
	line-height: 1.55;
}

.npn-login-alert {
	padding: 14px 15px;
	border-radius: 16px;
	margin-bottom: 18px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.45;
}

.npn-login-alert-danger {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.npn-login-alert-success {
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	color: #047857;
}

.npn-admin-login-form {
	display: grid;
	gap: 16px;
}

.npn-login-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 900;
	color: #0f172a;
}

.npn-login-input-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 14px;
	border: 1px solid #dbe3ef;
	border-radius: 17px;
	background: #f8fafc;
	transition: .22s ease;
}

.npn-login-input-wrap:focus-within {
	background: #fff;
	border-color: #ffd000;
	box-shadow: 0 0 0 4px rgba(255, 208, 0, .16);
}

.npn-login-input-wrap > span {
	width: 24px;
	text-align: center;
	opacity: .8;
}

.npn-login-input-wrap input {
	flex: 1;
	height: 54px;
	border: 0;
	outline: 0;
	background: transparent;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #07152b;
	min-width: 0;
}

.npn-toggle-login-password {
	border: 0;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	padding: 8px;
}

.npn-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 2px 0 4px;
}

.npn-login-options label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #475569;
	font-size: 14px;
	font-weight: 800;
}

.npn-login-options input {
	accent-color: #ffd000;
}

.npn-login-options a {
	color: #0f172a;
	font-weight: 900;
	font-size: 14px;
}

.npn-login-submit {
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 17px;
	background: #ffd000;
	color: #111827;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 18px 34px rgba(255, 208, 0, .28);
	transition: .22s ease;
}

.npn-login-submit:hover {
	transform: translateY(-1px);
	background: #ffc400;
	box-shadow: 0 20px 44px rgba(255, 208, 0, .36);
}

.npn-login-foot {
	margin-top: 22px;
	text-align: center;
}

.npn-login-foot a {
	color: #64748b;
	font-weight: 800;
	font-size: 14px;
}

@media (max-width: 980px) {
	.npn-login-shell {
		grid-template-columns: 1fr;
	}

	.npn-login-brand-panel {
		padding: 34px;
	}

	.npn-login-brand {
		margin-bottom: 34px;
	}

	.npn-login-card {
		padding: 34px;
	}
}

@media (max-width: 560px) {
	.npn-admin-login-page {
		padding: 16px;
		align-items: flex-start;
	}

	.npn-login-shell {
		border-radius: 24px;
	}

	.npn-login-brand-panel,
	.npn-login-card {
		padding: 24px;
	}

	.npn-login-brand-panel h1 {
		font-size: 34px;
	}

	.npn-login-card-head h2 {
		font-size: 28px;
	}

	.npn-login-options {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* =========================================================
   MENU BUILDER PRO - CLEAN UI
   - Giữ chức năng kéo thả
   - Menu con thụt vào rõ ràng
   - Form gọn, không bị kéo nút Xóa full xấu
========================================================= */

.npn-menu-builder-card {
	overflow: visible !important;
}

.npn-menu-builder-card .npn-edit-body {
	overflow: visible !important;
	padding: 22px !important;
}

.npn-menu-builder-note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #dbe7f6;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	color: #0f172a;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.npn-menu-builder-note span {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #ffd000;
	color: #111827;
	font-size: 16px;
	font-weight: 900;
	flex: 0 0 auto;
	box-shadow: 0 8px 18px rgba(255, 208, 0, .22);
}

.npn-menu-builder-note strong {
	display: block;
	font-size: 14px;
	font-weight: 900;
	color: #0f172a;
}

.npn-menu-builder-note em {
	margin-left: auto;
	color: #64748b;
	font-style: normal;
	font-size: 13px;
	font-weight: 700;
}

.npn-menu-rows {
	display: grid;
	gap: 14px;
}

/* Row chính */
.npn-menu-row-pro,
.npn-menu-row {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 116px;
	gap: 14px;
	align-items: end;
	width: 100%;
	padding: 16px;
	border: 1px solid #dbe7f6;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease,
		margin-left .18s ease,
		background .18s ease;
}

.npn-menu-row-pro:hover,
.npn-menu-row:hover {
	border-color: #b9cbe3;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

/* Khi đang kéo */
.npn-menu-row-pro.is-dragging,
.npn-menu-row-pro.sortable-chosen,
.npn-menu-row.is-dragging,
.npn-menu-row.sortable-chosen {
	opacity: .78;
	transform: scale(.992);
	border-color: #ffd000;
	background: #fffdf2;
	box-shadow: 0 18px 44px rgba(255, 208, 0, .16);
}

.sortable-ghost,
.npn-menu-row-placeholder {
	min-height: 96px;
	border: 2px dashed #ffd000 !important;
	border-radius: 18px;
	background: rgba(255, 208, 0, .08) !important;
	opacity: .72;
}

/* Nút kéo */
.npn-menu-drag-handle,
.npn-menu-drag {
	width: 44px;
	height: 46px;
	border: 1px solid #dbe7f6;
	border-radius: 14px;
	background: #f8fbff;
	display: inline-grid;
	place-items: center;
	align-self: end;
	cursor: grab;
	padding: 0;
	color: #64748b;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.npn-menu-drag-handle:active,
.npn-menu-drag:active {
	cursor: grabbing;
}

.npn-menu-drag-handle span,
.npn-menu-drag span {
	width: 18px;
	height: 2px;
	display: block;
	border-radius: 999px;
	background: #64748b;
	box-shadow: 0 6px 0 #64748b, 0 -6px 0 #64748b;
}

.npn-menu-drag-handle:has(span) {
	font-size: 0;
}

/* Nếu HTML không có span vẫn hiện icon kéo */
.npn-menu-drag-handle:empty::before,
.npn-menu-drag:empty::before {
	content: "";
	width: 18px;
	height: 2px;
	display: block;
	border-radius: 999px;
	background: #64748b;
	box-shadow: 0 6px 0 #64748b, 0 -6px 0 #64748b;
}

/* Cụm field */
.npn-menu-row-fields,
.npn-menu-row-inner {
	display: grid;
	grid-template-columns: minmax(180px, .9fr) minmax(260px, 1.3fr) minmax(190px, .85fr);
	gap: 12px;
	align-items: end;
	min-width: 0;
}

.npn-menu-row-fields .npn-field,
.npn-menu-row-inner .npn-field,
.npn-menu-row-pro .npn-field,
.npn-menu-row .npn-field {
	margin: 0 !important;
	min-width: 0;
}

.npn-menu-row-fields label,
.npn-menu-row-inner label,
.npn-menu-row-pro label,
.npn-menu-row label {
	display: block;
	margin: 0 0 7px !important;
	color: #0f172a;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.25;
}

.npn-menu-row-fields input,
.npn-menu-row-fields select,
.npn-menu-row-inner input,
.npn-menu-row-inner select,
.npn-menu-row-pro input,
.npn-menu-row-pro select,
.npn-menu-row input,
.npn-menu-row select {
	width: 100% !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #d7e3f3 !important;
	border-radius: 13px !important;
	background-color: #ffffff !important;
	color: #0f172a !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 46px !important;
	box-shadow: none !important;
	outline: none !important;
}

.npn-menu-row-fields input:focus,
.npn-menu-row-fields select:focus,
.npn-menu-row-inner input:focus,
.npn-menu-row-inner select:focus,
.npn-menu-row-pro input:focus,
.npn-menu-row-pro select:focus,
.npn-menu-row input:focus,
.npn-menu-row select:focus {
	border-color: #ffc400 !important;
	box-shadow: 0 0 0 4px rgba(255, 196, 0, .14) !important;
}

/* Nút xóa gọn lại */
.npn-menu-row-pro .npn-btn-danger,
.npn-menu-row .npn-btn-danger,
.npn-menu-row-pro .npn-remove-menu-row,
.npn-menu-row .npn-remove-menu-row {
	width: 116px !important;
	height: 46px !important;
	min-height: 46px !important;
	align-self: end;
	padding: 0 16px !important;
	border-radius: 13px !important;
	border: 1px solid #fecaca !important;
	background: #fff7f7 !important;
	color: #ef4444 !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.npn-menu-row-pro .npn-btn-danger:hover,
.npn-menu-row .npn-btn-danger:hover,
.npn-menu-row-pro .npn-remove-menu-row:hover,
.npn-menu-row .npn-remove-menu-row:hover {
	background: #fee2e2 !important;
	border-color: #fca5a5 !important;
	color: #dc2626 !important;
	transform: translateY(-1px);
}

/* Menu con: thụt vào + vạch nhận biết */
.npn-menu-row-pro.is-child-menu,
.npn-menu-row.is-child-menu {
	width: calc(100% - 56px);
	margin-left: 56px;
	padding-left: 18px;
	border-color: #ffe08a;
	border-left: 5px solid #ffd000;
	background:
		linear-gradient(90deg, rgba(255, 208, 0, .12), rgba(255, 255, 255, 1) 46%);
}

.npn-menu-row-pro.is-child-menu::before,
.npn-menu-row.is-child-menu::before {
	content: "";
	position: absolute;
	left: -38px;
	top: 50%;
	width: 26px;
	height: 2px;
	background: #ffd000;
	transform: translateY(-50%);
	box-shadow: 0 0 12px rgba(255, 208, 0, .38);
}

.npn-menu-row-pro.is-child-menu::after,
.npn-menu-row.is-child-menu::after {
	content: "";
	position: absolute;
	left: -43px;
	top: 50%;
	width: 12px;
	height: 12px;
	border-left: 3px solid #ffd000;
	border-bottom: 3px solid #ffd000;
	border-radius: 0 0 0 6px;
	transform: translateY(-10px);
}

/* Badge menu con */
.npn-menu-child-badge {
	grid-column: 1 / -1;
	display: inline-flex;
	width: fit-content;
	min-height: 28px;
	align-items: center;
	margin-top: 2px;
	padding: 0 10px;
	border-radius: 999px;
	background: #fff3bf;
	border: 1px solid #ffe08a;
	color: #8a5a00;
	font-size: 12px;
	font-weight: 900;
}

.npn-menu-row-pro:not(.is-child-menu) .npn-menu-child-badge,
.npn-menu-row:not(.is-child-menu) .npn-menu-child-badge {
	display: none !important;
}

/* Nút thêm menu */
.npn-add-menu-row {
	min-height: 48px !important;
	border-radius: 14px !important;
	font-weight: 900 !important;
}

/* Responsive */
@media (max-width: 1280px) {
	.npn-menu-row-pro,
	.npn-menu-row,
	.npn-menu-row-pro.is-child-menu,
	.npn-menu-row.is-child-menu {
		width: 100%;
		margin-left: 0;
		grid-template-columns: 44px minmax(0, 1fr);
	}

	.npn-menu-row-pro.is-child-menu,
	.npn-menu-row.is-child-menu {
		padding-left: 20px;
	}

	.npn-menu-row-pro.is-child-menu::before,
	.npn-menu-row-pro.is-child-menu::after,
	.npn-menu-row.is-child-menu::before,
	.npn-menu-row.is-child-menu::after {
		display: none;
	}

	.npn-menu-row-fields,
	.npn-menu-row-inner {
		grid-template-columns: 1fr 1fr;
	}

	.npn-menu-row-pro .npn-btn-danger,
	.npn-menu-row .npn-btn-danger,
	.npn-menu-row-pro .npn-remove-menu-row,
	.npn-menu-row .npn-remove-menu-row {
		grid-column: 2;
		width: 160px !important;
		justify-self: end;
	}
}

@media (max-width: 760px) {
	.npn-menu-builder-card .npn-edit-body {
		padding: 16px !important;
	}

	.npn-menu-builder-note {
		align-items: flex-start;
		flex-direction: column;
	}

	.npn-menu-builder-note em {
		margin-left: 0;
	}

	.npn-menu-row-pro,
	.npn-menu-row,
	.npn-menu-row-pro.is-child-menu,
	.npn-menu-row.is-child-menu {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.npn-menu-drag-handle,
	.npn-menu-drag {
		width: 100%;
		height: 42px;
	}

	.npn-menu-row-fields,
	.npn-menu-row-inner {
		grid-template-columns: 1fr;
	}

	.npn-menu-row-pro .npn-btn-danger,
	.npn-menu-row .npn-btn-danger,
	.npn-menu-row-pro .npn-remove-menu-row,
	.npn-menu-row .npn-remove-menu-row {
		grid-column: auto;
		width: 100% !important;
		justify-self: stretch;
	}
}
/* Hero title editor */
.npn-field .wp-editor-wrap {
	border: 1px solid #d7e1ee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.npn-field .wp-editor-tools {
	background: #f8fafc;
	padding: 8px 10px 0;
}

.npn-field .wp-switch-editor {
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	border-radius: 8px 8px 0 0 !important;
	border: 1px solid #d7e1ee !important;
	background: #fff !important;
	color: #07152b !important;
	padding: 7px 12px !important;
	height: auto !important;
}

.npn-field .html-active .switch-html,
.npn-field .tmce-active .switch-tmce {
	background: #ffc400 !important;
	border-color: #ffc400 !important;
	color: #07152b !important;
}

.npn-field .wp-editor-container {
	border: 0 !important;
}

.npn-field .wp-editor-area {
	min-height: 170px;
	border: 0 !important;
	padding: 14px !important;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
}
