.wds-domain-spinner {
	width: 100%;
	max-width: none;
	margin: 0 0 2rem;
	font-size: 16px;
	line-height: 1.5;
	color: #1d2327;
}

.wds-section-title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
}

.wds-honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wds-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.wds-help-trigger {
	border: 0;
	background: transparent;
	color: #2271b1;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.wds-tooltip {
	margin: 0.35rem 0 0.5rem;
	padding: 0.65rem 0.75rem;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 0.95rem;
}

.wds-examples {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	color: #50575e;
}

.wds-card__price {
	margin: 0.35rem 0 0.75rem;
	font-weight: 600;
}

.wds-results-note {
	margin: 0.75rem 0 0;
	font-size: 0.92rem;
	color: #50575e;
}

.wds-nojs-note {
	margin-top: 0.75rem;
}

.wds-notice--muted {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.wds-form {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

.wds-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.wds-input {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
}

.wds-fieldset {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 0.75rem 1rem;
	margin: 0;
}

.wds-legend {
	padding: 0 0.35rem;
	font-weight: 600;
}

.wds-tld-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.wds-tld-option {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.95rem;
}

.wds-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.wds-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.55rem 1rem;
	border-radius: 4px;
	border: 1px solid #2271b1;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.wds-button:hover,
.wds-button:focus {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.wds-button:disabled,
.wds-button[aria-busy="true"] {
	cursor: wait;
}

.wds-button--primary {
	min-width: 140px;
	text-align: center;
}

.wds-button--small {
	padding: 0.35rem 0.65rem;
	font-size: 0.85rem;
}

.wds-button--transfer {
	background: #1f6f8b;
	border-color: #1f6f8b;
}

.wds-button--transfer:hover,
.wds-button--transfer:focus {
	background: #155160;
	border-color: #155160;
}

/* ----------------------------------------------------------------------
 * Loading / spinner
 * ---------------------------------------------------------------------- */

.wds-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.wds-spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-top-color: transparent;
	vertical-align: -0.18em;
	animation: wds-spin 0.7s linear infinite;
	will-change: transform;
}

.wds-spinner--button {
	display: none;
	width: 0.95em;
	height: 0.95em;
	border-width: 2px;
}

.wds-button-loading .wds-spinner--button {
	display: inline-block;
}

.wds-spinner--inline {
	color: #2271b1;
	margin-right: 0.1rem;
}

/* The submit button keeps its native width and just dims while the request
 * is in flight. Spinner is rendered inline before the label via the
 * flex gap, so the label does not jump. */
.wds-button-loading {
	opacity: 0.78;
	cursor: wait;
	pointer-events: none;
}

.wds-domain-spinner--loading .wds-form {
	/* Subtle visual cue that the form is busy without locking pointer events
	 * outside the submit button (so the user can still scroll/focus). */
	opacity: 0.95;
}

@keyframes wds-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wds-spinner,
	.wds-spinner--button,
	.wds-spinner--inline {
		animation: none;
		/* Replace rotation with a static ring so the loading state is still
		 * obvious to users who prefer no motion. */
		border-right-color: currentColor;
		border-top-color: currentColor;
		opacity: 0.6;
	}

	.wds-status__dots {
		/* Hide the animated trailing dots; the static text is enough. */
		display: none;
	}
}

.wds-status-pill {
	display: inline-block;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	font-size: 0.85rem;
	line-height: 1.4;
	font-weight: 600;
	background: #f0f0f1;
	color: #1d2327;
	border: 1px solid #dcdcde;
	white-space: nowrap;
}

.wds-status-pill--available {
	background: #e6f4ea;
	color: #0a6c2e;
	border-color: #c7e7d1;
}

.wds-status-pill--unavailable,
.wds-status-pill--taken {
	background: #fdecea;
	color: #8a1f11;
	border-color: #f5c2bc;
}

.wds-status-pill--error {
	background: #fff4e5;
	color: #8a4b00;
	border-color: #f5d9b0;
}

.wds-status-pill--unknown,
.wds-status-pill--unchecked {
	background: #eef2f7;
	color: #2c3e50;
	border-color: #d5dde5;
}

.wds-row--unavailable,
.wds-row--taken,
.wds-card--unavailable,
.wds-card--taken {
	opacity: 0.92;
}

.wds-card--unavailable,
.wds-card--taken {
	background: #fafafa;
}

.wds-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 1.5rem;
	margin: 0.25rem 0 0;
	font-size: 0.95rem;
	color: #50575e;
}

.wds-status:empty {
	min-height: 0;
}

.wds-status--loading {
	color: #135e96;
	font-weight: 500;
}

.wds-status__text {
	display: inline-flex;
	align-items: baseline;
}

.wds-status__dots {
	display: inline-block;
	min-width: 1.1em;
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.wds-results {
	display: none;
	margin-top: 1rem;
	width: 100%;
	max-width: none;
	min-width: 0;
}

.wds-results--visible {
	display: block;
	width: 100%;
	max-width: none;
}

.wds-results__inner {
	width: 100%;
	max-width: none;
}

.wds-disclaimer {
	font-size: 0.9rem;
	color: #50575e;
	margin: 1rem 0 0;
}

.wds-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
}

.wds-card {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	display: grid;
	gap: 0.35rem;
}

.wds-card__title {
	margin: 0;
	font-size: 1.05rem;
	word-break: break-word;
}

.wds-card__meta {
	margin: 0;
	color: #50575e;
	font-size: 0.95rem;
}

.wds-card__note {
	margin: 0;
	font-size: 0.85rem;
	color: #646970;
}

.wds-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wds-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	table-layout: auto;
	font-size: 0.95rem;
}

.wds-table th,
.wds-table td {
	border: 1px solid #dcdcde;
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
	word-break: normal;
	overflow-wrap: normal;
}

.wds-table thead th {
	background: #f6f7f7;
	font-weight: 600;
	white-space: nowrap;
}

.wds-table__col--domain,
.wds-table__cell--domain {
	width: auto;
	min-width: 20rem;
}

.wds-table__cell--domain {
	word-break: normal;
	overflow-wrap: anywhere;
}

.wds-table__col--status,
.wds-table__cell--status,
.wds-table__col--pricing,
.wds-table__cell--pricing,
.wds-table__col--action,
.wds-table__cell--action {
	width: 1%;
	white-space: nowrap;
}

.wds-table__cell--action {
	text-align: right;
}

.wds-empty,
.wds-error {
	margin: 0.5rem 0 0;
}

.wds-error {
	color: #b32d2e;
}

.wds-muted {
	color: #50575e;
	margin: 0 0 0.75rem;
}

.wds-nojs-results {
	margin: 0 0 1.25rem;
}

@media (max-width: 600px) {
	.wds-button--primary {
		min-width: 0;
	}

	.wds-table {
		min-width: 560px;
	}
}
