.ncm-client-dashboard-body {
	background: #eef2f6;
	margin: 0;
}

.ncm-client-dashboard {
	box-sizing: border-box;
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto;
	max-width: 1180px;
	padding: 30px 18px 52px;
}

.ncm-client-dashboard *,
.ncm-client-dashboard *::before,
.ncm-client-dashboard *::after {
	box-sizing: border-box;
}

.ncm-client-login-wrap,
.ncm-client-login-wrap * {
	box-sizing: border-box;
}

.ncm-client-login-wrap {
	align-items: center;
	color: #111827;
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	justify-content: center;
	min-height: 100vh;
	padding: 28px 18px;
}

.ncm-client-login-card {
	background: #fff;
	border: 3px solid #111827;
	border-radius: 8px;
	box-shadow: 8px 8px 0 #111827;
	max-width: 460px;
	padding: 26px;
	width: 100%;
}

.ncm-client-login-brand {
	align-items: center;
	color: #111827;
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	gap: 10px;
	margin-bottom: 26px;
	text-decoration: none;
	text-transform: uppercase;
}

.ncm-client-login-mark {
	align-items: center;
	background: #ffd91a;
	border: 2px solid #111827;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.ncm-client-login-heading h1 {
	font-size: 32px;
	line-height: 1.05;
	margin: 0 0 10px;
}

.ncm-client-login-heading p {
	color: #4b5563;
	line-height: 1.5;
	margin: 0 0 22px;
}

.ncm-client-login-error {
	background: #fee2e2;
	border: 2px solid #991b1b;
	border-radius: 8px;
	color: #7f1d1d;
	font-weight: 700;
	margin-bottom: 18px;
	padding: 12px;
}

.ncm-client-login-form {
	display: grid;
	gap: 15px;
}

.ncm-client-login-form label {
	color: #111827;
	display: grid;
	font-size: 13px;
	font-weight: 900;
	gap: 7px;
	text-transform: uppercase;
}

.ncm-client-login-form input[type="text"],
.ncm-client-login-form input[type="password"] {
	border: 2px solid #111827;
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
	padding: 12px;
	width: 100%;
}

.ncm-client-login-form input[type="text"]:focus,
.ncm-client-login-form input[type="password"]:focus {
	box-shadow: 0 0 0 3px rgba(255, 217, 26, 0.45);
	outline: none;
}

.ncm-client-login-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.ncm-client-login-row a {
	color: #1d4ed8;
	font-weight: 800;
	text-decoration: none;
}

.ncm-client-login-remember {
	align-items: center;
	display: inline-flex !important;
	flex-direction: row;
	gap: 8px !important;
	text-transform: none !important;
}

.ncm-client-login-remember input {
	height: 18px;
	width: 18px;
}

.ncm-client-login-form .ncm-client-button {
	cursor: pointer;
	font-size: 16px;
	margin-top: 4px;
	width: 100%;
}

.ncm-client-header {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.ncm-client-header h1 {
	font-size: 34px;
	line-height: 1.08;
	margin: 0 0 6px;
}

.ncm-client-header p {
	color: #4b5563;
	margin: 0;
	max-width: 680px;
}

.ncm-client-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0;
}

.ncm-client-tabs a,
.ncm-client-button,
.ncm-client-secondary-button {
	background: #fff;
	border: 2px solid #111827;
	border-radius: 8px;
	color: #111827;
	font-weight: 800;
	line-height: 1.2;
	padding: 10px 13px;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ncm-client-tabs a.is-active,
.ncm-client-button {
	background: #ffd91a;
}

.ncm-client-secondary-button {
	border-color: #2563eb;
	color: #1d4ed8;
}

.ncm-client-tabs a:hover,
.ncm-client-button:hover,
.ncm-client-secondary-button:hover {
	transform: translateY(-1px);
}

.ncm-client-panel {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-sizing: border-box;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	margin: 16px 0;
	padding: 18px;
}

.ncm-client-panel h2 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 14px;
}

.ncm-client-eyebrow {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.ncm-client-status-pill {
	border: 2px solid #111827;
	border-radius: 999px;
	display: inline-flex;
	font-weight: 900;
	line-height: 1;
	padding: 10px 13px;
	white-space: nowrap;
}

.ncm-client-status-pill.is-editable,
.ncm-client-status-pill.is-active {
	background: #dcfce7;
	color: #14532d;
}

.ncm-client-status-pill.is-locked,
.ncm-client-status-pill.is-expired {
	background: #ffedd5;
	color: #9a3412;
}

.ncm-client-status-pill.is-renew-soon,
.ncm-client-status-pill.is-grace {
	background: #fef9c3;
	color: #854d0e;
}

.ncm-client-notice {
	background: #ecfdf5;
	border: 1px solid #34d399;
	border-radius: 8px;
	margin: 16px 0;
	padding: 12px 14px;
}

.ncm-client-lock {
	background: #fff7ed;
	border: 1px solid #fb923c;
	border-radius: 8px;
	color: #9a3412;
	padding: 12px;
}

.ncm-client-project-summary {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.ncm-client-project-summary h2 {
	margin-bottom: 0;
}

.ncm-client-renewal-card {
	align-items: center;
	background: #fff;
	border: 2px solid #bbf7d0;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 16px 0;
	padding: 18px;
}

.ncm-client-renewal-card.is-renew-soon,
.ncm-client-renewal-card.is-grace {
	border-color: #fde68a;
}

.ncm-client-renewal-card.is-expired {
	border-color: #fdba74;
}

.ncm-client-renewal-card h2,
.ncm-client-renewal-card p {
	margin: 0;
}

.ncm-client-renewal-card h2 {
	font-size: 22px;
	line-height: 1.2;
}

.ncm-client-renewal-card p {
	color: #475569;
	margin-top: 6px;
}

.ncm-client-renewal-note {
	font-size: 13px;
}

.ncm-client-renewal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.ncm-client-renewal-actions span {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #64748b;
	display: grid;
	gap: 2px;
	min-width: 126px;
	padding: 8px 10px;
}

.ncm-client-renewal-actions strong {
	color: #111827;
	font-size: 18px;
	line-height: 1;
}

.ncm-client-renewal-cta {
	display: grid;
	gap: 5px;
	justify-items: end;
	max-width: 220px;
}

.ncm-client-renewal-cta small {
	color: #64748b;
	line-height: 1.35;
	text-align: right;
}

.ncm-client-meta {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(86px, 1fr));
}

.ncm-client-meta span {
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: #475569;
	display: grid;
	gap: 2px;
	padding: 8px 10px;
}

.ncm-client-meta strong {
	color: #111827;
	font-size: 20px;
	line-height: 1;
}

.ncm-client-profile-summary {
	align-items: center;
	background: #111827;
	border-radius: 8px;
	color: #fff;
	display: grid;
	gap: 16px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin: 18px 0;
	padding: 18px;
}

.ncm-client-profile-summary .ncm-client-eyebrow,
.ncm-client-profile-summary p {
	color: #cbd5e1;
}

.ncm-client-profile-summary h2,
.ncm-client-profile-summary p {
	margin: 0;
}

.ncm-client-avatar {
	align-items: center;
	background: #ffd91a;
	border: 2px solid #fff;
	border-radius: 8px;
	color: #111827;
	display: flex;
	font-size: 28px;
	font-weight: 900;
	height: 72px;
	justify-content: center;
	overflow: hidden;
	width: 72px;
}

.ncm-client-avatar img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ncm-client-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.ncm-client-profile-actions .ncm-client-button,
.ncm-client-profile-actions .ncm-client-secondary-button {
	background: #fff;
}

.ncm-client-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	align-items: start;
}

.ncm-client-panel form,
form.ncm-client-panel {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ncm-client-panel label {
	color: #334155;
	display: grid;
	font-size: 14px;
	font-weight: 700;
	gap: 5px;
}

.ncm-client-panel input,
.ncm-client-panel select,
.ncm-client-panel textarea {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #111827;
	font: inherit;
	padding: 9px 10px;
	width: 100%;
}

.ncm-client-panel input:focus,
.ncm-client-panel select:focus,
.ncm-client-panel textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
	outline: none;
}

.ncm-client-panel input[type="file"] {
	background: #fff;
	padding: 7px;
}

.ncm-client-image-grid {
	display: grid;
	gap: 12px;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ncm-client-image-field {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px;
}

.ncm-client-image-field.has-local-preview {
	border-color: #111827;
	box-shadow: 0 0 0 3px rgba(255, 217, 26, 0.28);
}

.ncm-client-image-preview {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #64748b;
	display: flex;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.ncm-client-image-preview img {
	display: block;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	width: 100%;
}

.ncm-client-image-preview strong {
	padding: 8px;
	text-align: center;
}

.ncm-client-image-help {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	margin-top: 7px;
	min-height: 16px;
}

.ncm-client-image-help.is-error {
	color: #b91c1c;
}

.ncm-client-wide,
.ncm-client-section-title,
.ncm-client-form-heading,
.ncm-client-panel button {
	grid-column: 1 / -1;
}

.ncm-client-section-title h2,
.ncm-client-section-title p {
	margin: 0;
}

.ncm-client-form-heading {
	border-top: 1px solid #e5e7eb;
	font-size: 16px;
	line-height: 1.2;
	margin: 4px 0 0;
	padding-top: 14px;
}

.ncm-client-card-row {
	border-top: 1px solid #e5e7eb;
	display: grid;
	gap: 5px;
	min-width: 0;
	padding: 12px 0;
}

.ncm-client-card-row:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.ncm-client-card-row code {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: block;
	padding: 7px 8px;
	white-space: normal;
	word-break: break-word;
}

.ncm-client-card-row a {
	overflow-wrap: anywhere;
}

.ncm-client-empty {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	margin: 0 0 12px;
	padding: 12px;
}

.ncm-client-section-spaced {
	margin-top: 22px;
}

.ncm-client-link-editor,
.ncm-client-add-link {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin: 12px 0;
	padding: 12px;
}

.ncm-client-link-editor form,
.ncm-client-add-link {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ncm-client-add-link h3,
.ncm-client-delete-form,
.ncm-client-link-editor .ncm-client-delete-form {
	grid-column: 1 / -1;
}

.ncm-client-add-link h3 {
	font-size: 18px;
	line-height: 1.2;
	margin: 0;
}

.ncm-client-checkbox {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.ncm-client-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: auto;
}

.ncm-client-mini-button,
.ncm-client-delete-button {
	cursor: pointer;
	width: 100%;
}

.ncm-client-delete-button:hover {
	background: #fef2f2;
}

.ncm-client-delete-button {
	background: #fff;
	border: 2px solid #991b1b;
	border-radius: 8px;
	color: #991b1b;
	font: inherit;
	font-weight: 800;
	line-height: 1.2;
	padding: 10px 13px;
	text-align: center;
}

.ncm-client-panel input:disabled,
.ncm-client-panel select:disabled,
.ncm-client-panel textarea:disabled {
	background: #f8fafc;
	color: #64748b;
}

@media (max-width: 760px) {
	.ncm-client-header,
	.ncm-client-project-summary,
	.ncm-client-renewal-card,
	.ncm-client-grid,
	.ncm-client-profile-summary,
	.ncm-client-link-editor form,
	.ncm-client-add-link,
	.ncm-client-panel form,
	form.ncm-client-panel {
		grid-template-columns: 1fr;
	}

	.ncm-client-header {
		align-items: flex-start;
	}

	.ncm-client-dashboard {
		padding: 22px 12px 36px;
	}

	.ncm-client-header h1 {
		font-size: 28px;
	}

	.ncm-client-tabs {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ncm-client-meta {
		grid-template-columns: 1fr;
	}

	.ncm-client-profile-actions {
		justify-content: stretch;
	}

	.ncm-client-profile-actions .ncm-client-button,
	.ncm-client-profile-actions .ncm-client-secondary-button {
		width: 100%;
	}

	.ncm-client-image-grid {
		grid-template-columns: 1fr;
	}
}
