/**
 * Neutrope License Hub — customer-facing surfaces (Customer Portal,
 * purchase-complete, checkout shortcode).
 *
 * Fully namespaced under `.nlh-*`. It deliberately does NOT restyle theme-wide
 * `button` / `input` / `select`, and leaves button colors to the theme, so it
 * sits naturally inside the Neutrope Biz theme. The markup is usable without
 * this stylesheet — everything here is presentation only.
 */

.nlh-customer,
.nlh-success {
	max-width: 560px;
	margin: 1.5em auto;
}

.nlh-customer-card {
	padding: 1.5em;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fff;
}

.nlh-customer-header {
	margin-bottom: 1.25em;
}

.nlh-customer-title {
	margin: 0 0 0.5em;
	font-size: 1.4em;
	line-height: 1.3;
}

.nlh-customer-intro {
	margin: 0;
	line-height: 1.7;
}

.nlh-customer-notice {
	margin: 0 0 1.25em;
	padding: 0.75em 1em;
	border-radius: 6px;
	line-height: 1.6;
}

.nlh-customer-notice--error {
	border: 1px solid #f0b3b1;
	background: #fcebea;
	color: #8a1f1c;
}

.nlh-customer-field {
	margin: 0 0 1.25em;
}

.nlh-customer-label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.nlh-customer-input,
.nlh-customer-select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	padding: 0.5em 0.6em;
	line-height: 1.5;
}

.nlh-customer-help {
	margin: 0.4em 0 0;
	font-size: 0.9em;
	line-height: 1.6;
	opacity: 0.8;
}

.nlh-customer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin: 1.5em 0 0;
}

.nlh-customer-terms,
.nlh-customer-security {
	margin: 1em 0 0;
	font-size: 0.9em;
	line-height: 1.7;
	opacity: 0.85;
}

.nlh-customer-security {
	opacity: 0.7;
}

@media ( max-width: 600px ) {

	.nlh-customer,
	.nlh-success {
		margin: 1em auto;
	}

	.nlh-customer-card {
		padding: 1.15em;
	}

	.nlh-customer-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nlh-customer-actions .nlh-customer-button {
		width: 100%;
	}

	.nlh-site-card {
		flex-direction: column;
		align-items: stretch;
	}

	.nlh-site-actions .nlh-site-deactivate {
		width: 100%;
	}
}

/* --- Site management (activated-site list / confirm) --- */
.nlh-site-status {
	margin: 0 0 1em;
	font-weight: 600;
}

.nlh-site-list {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.nlh-site-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	padding: 0.9em 1em;
	margin: 0 0 0.75em;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.nlh-site-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	min-width: 0;
}

.nlh-site-name {
	font-weight: 600;
}

.nlh-site-host {
	font-family: SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	color: #50575e;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.nlh-site-info {
	font-size: 0.85em;
	color: #646970;
}

.nlh-site-actions {
	margin: 0;
	flex: 0 0 auto;
}

/* Make the destructive action visually distinct. */
.nlh-site-deactivate {
	color: #b32d2e;
	border-color: #b32d2e;
}

.nlh-site-deactivate.button-primary {
	background: #b32d2e;
	border-color: #b32d2e;
	color: #fff;
}

/* --- Setup guides & support links (Customer Portal only) --- */
.nlh-customer-guides {
	margin: 1.5em 0 0;
	padding-top: 1.25em;
	border-top: 1px solid #dcdcde;
}

.nlh-customer-guides-title {
	margin: 0 0 0.35em;
	font-size: 1.05em;
}

.nlh-customer-guides-intro {
	margin: 0 0 0.75em;
	color: #50575e;
	font-size: 0.9em;
}

.nlh-customer-guide-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nlh-customer-guide-item {
	margin: 0 0 0.4em;
}

.nlh-customer-guide-link {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.nlh-customer-help-links {
	margin: 1em 0 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
