.nc-dm-available {
	color: #0a8f3c;
	font-weight: 700;
}

.nc-dm-unavailable {
	color: #c52828;
	font-weight: 700;
}

.nc-dm-search {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0e1b2f, #182d4f);
	color: #f7fafc;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nc-dm-search h3,
.nc-dm-search h4,
.nc-dm-search p {
	color: inherit;
}

.nc-dm-search-form,
.nc-dm-add-to-cart {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	align-items: end;
	position: relative;
}

.nc-dm-search input[type="text"],
.nc-dm-search select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.08);
	color: #f7fafc;
}
.nc-dm-search select option {
	color: #0b1a2c;
	background: #fff;
}

.nc-dm-search button {
	background: #00d084;
	color: #0b1a2c;
	border: none;
	padding: 12px 16px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nc-dm-search button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgba(0, 208, 132, 0.35);
}

.nc-dm-spinner {
	display: none;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(255,255,255,0.3);
	border-top-color: #00d084;
	border-radius: 50%;
	animation: nc-dm-spin 0.8s linear infinite;
	justify-self: flex-start;
}

.nc-dm-loading .nc-dm-spinner {
	display: inline-block;
}

.nc-dm-loading .nc-dm-search-btn {
	opacity: 0.6;
	pointer-events: none;
}

@keyframes nc-dm-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.nc-dm-search .nc-dm-results {
	margin-top: 16px;
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 16px;
	width: 100%;
	position: relative;
}

.nc-dm-search .nc-dm-result {
	border: 1px solid rgba(255,255,255,0.12);
	padding: 14px;
	margin: 0;
	border-radius: 10px;
	background: rgba(255,255,255,0.03);
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 10px;
	position: relative;
	z-index: 0;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
	width: 100%;
	box-sizing: border-box;
	flex: none;
	clear: both;
	isolation: isolate;
}

.nc-dm-add-to-cart {
	position: relative;
	z-index: 2;
}

.nc-dm-search .nc-dm-head {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.nc-dm-search .nc-dm-price {
	font-weight: 700;
	color: #00d084;
}

.nc-dm-search .nc-dm-privacy {
	display: block;
	margin-top: 6px;
	color: #d7e6ff;
	white-space: normal;
}

.nc-dm-tlds {
	margin-top: 10px;
	color: #d7e6ff;
	font-size: 14px;
}

@media (max-width: 640px) {
	.nc-dm-search {
		padding: 18px;
	}
	.nc-dm-search-form,
	.nc-dm-add-to-cart {
		grid-template-columns: 1fr;
	}
	.nc-dm-search .nc-dm-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.nc-dm-search button {
		width: 100%;
		text-align: center;
	}
	.nc-dm-spinner {
		justify-self: start;
	}
}

.nc-dm-manage {
	max-width: 960px;
	margin: 0 auto;
}

.nc-dm-manage .nc-dm-domain {
	border: 1px solid #e5e7eb;
	padding: 12px;
	margin: 8px 0;
	border-radius: 8px;
}

.nc-dm-available-result strong {
	color: #0a8f3c;
}

.nc-dm-unavailable-result strong {
	color: #c52828;
}
