.nxtcc-settings-widget {
	--nxtcc-bg: #f6f7f7;
	--nxtcc-card: #ffffff;
	--nxtcc-border: #dcdcde;
	--nxtcc-border-soft: #f0f0f1;
	--nxtcc-text: #1d2327;
	--nxtcc-muted: #50575e;
	--nxtcc-accent: #0b6a62;
	--nxtcc-accent-dark: #0a5a53;
	--nxtcc-focus: rgba(11, 106, 98, 0.18);
	--nxtcc-shadow-soft: 0 10px 24px rgba(11, 106, 98, 0.08);
	--nxtcc-radius: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	background: var(--nxtcc-bg);
	border: 1px solid var(--nxtcc-border);
	border-radius: 12px;
	padding: 14px;
	color: var(--nxtcc-text);
	box-sizing: border-box;
}

.nxtcc-heading-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--nxtcc-text);
}

.nxtcc-settings-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	padding: 10px 12px;
	background: var(--nxtcc-card);
	border: 1px solid var(--nxtcc-border);
	border-radius: var(--nxtcc-radius);
}

.nxtcc-settings-heading {
	min-width: 0;
}

.nxtcc-settings-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--nxtcc-text);
}

.nxtcc-settings-subtitle {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--nxtcc-muted);
	max-width: 680px;
}

.nxtcc-settings-help-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid var(--nxtcc-border);
	border-radius: 8px;
	background: #fff;
	color: var(--nxtcc-text);
	font-size: 12px;
	line-height: 1.2;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.nxtcc-settings-help-link:hover {
	background: #f2f7f6;
	border-color: #cad6d4;
	color: var(--nxtcc-text);
	box-shadow: 0 4px 12px rgba(3, 28, 39, 0.1);
}

.nxtcc-settings-help-link:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--nxtcc-focus);
}

.nxtcc-settings-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.nxtcc-settings-tab {
	border: 1px solid var(--nxtcc-border);
	background: #fff;
	color: var(--nxtcc-text);
	padding: 6px 11px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.nxtcc-settings-tab:hover {
	background: #f2f7f6;
	border-color: #cad6d4;
}

.nxtcc-settings-tab.active,
.nxtcc-settings-tab[aria-selected="true"] {
	background: var(--nxtcc-accent);
	border-color: var(--nxtcc-accent);
	color: #fff;
}

.nxtcc-settings-tab:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--nxtcc-focus);
}

.nxtcc-settings-tab-content {
	min-width: 0;
}

.nxtcc-required {
	color: #d63638;
	font-weight: 700;
}

@media (max-width: 782px) {
	.nxtcc-settings-header {
		padding: 10px;
	}

	.nxtcc-settings-help-link {
		width: 100%;
	}
}
