.afx-dc,
.afx-dc * {
	box-sizing: border-box;
}

.afx-dc {
	width: 100%;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #fff;
}

.afx-dc-box {
	width: 100%;
	background: #000;
	border: 1px solid #343434;
}

.afx-dc-search-inner {
	padding: 28px;
	border-bottom: 1px solid #343434;
}

.afx-dc-label {
	display: block;
	margin-bottom: 14px;
	color: #9ca0a8;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.afx-dc-search-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	border: 0;
	background: transparent;
}

.afx-dc-input-wrap {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 62px;
	padding: 0 18px;
	border: 1px solid #343434;
	background: transparent;
}

.afx-dc-prefix {
	color: #9ca0a8;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.afx-dc-input {
	width: 100%;
	min-height: 60px;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #fff;
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -.03em;
	padding: 0 !important;
}

.afx-dc-input::placeholder {
	color: #62666e;
	opacity: 1;
}

.afx-dc-button {
	min-height: 62px;
	padding: 0 30px;
	border: 1px solid #343434;
	background: #fff;
	color: #000;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.afx-dc-button:hover,
.afx-dc-button:focus {
	background: #ff4f35;
	border-color: #ff4f35;
	color: #fff;
}

.afx-dc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.afx-dc-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 13px;
	border: 1px solid #151515;
	background: #0c0c0d;
	color: #a7aab1;
	border-radius: 7px;
	font-size: 13px;
	line-height: 1;
	font-weight: 750;
	cursor: pointer;
	user-select: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.afx-dc-tab.is-active {
	background: #171719;
	border-color: #2d2d31;
	color: #fff;
}

.afx-dc-tab:hover {
	border-color: #343438;
	color: #fff;
}

.afx-dc-helper {
	margin: 14px 0 0;
	color: #9ca0a8;
	font-size: 13px;
	line-height: 1.45;
}

.afx-dc-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afx-dc-empty {
	grid-column: 1 / -1;
	padding: 30px;
	color: #9ca0a8;
	text-align: center;
	font-weight: 700;
	border-bottom: 1px solid #343434;
}

.afx-dc-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	min-height: 126px;
	padding: 24px 28px;
	background: #000;
	border-right: 1px solid #343434;
	border-bottom: 1px solid #343434;
}

.afx-dc-result:nth-child(2n) {
	border-right: 0;
}

.afx-dc-domain {
	color: #fff;
	font-size: 23px;
	line-height: 1.1;
	font-weight: 850;
	letter-spacing: -.045em;
	word-break: break-word;
	margin-bottom: 10px;
}

.afx-dc-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	color: #9ca0a8;
	font-size: 13px;
	font-weight: 700;
}

.afx-dc-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.afx-dc-status::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	background: currentColor;
}

.afx-dc-status.is-available {
	color: #52d88f;
}

.afx-dc-status.is-unavailable {
	color: #ff6f6f;
}

.afx-dc-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.afx-dc-price {
	white-space: nowrap;
	color: #fff;
	font-size: 18px;
	font-weight: 850;
	letter-spacing: -.035em;
}

.afx-dc-price span {
	color: #9ca0a8;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0;
}

.afx-dc-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid #fff;
	background: #fff;
	color: #000;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.afx-dc-cta:hover,
.afx-dc-cta:focus {
	border-color: #ff4f35;
	background: #ff4f35;
	color: #fff;
}

.afx-dc-cta.is-disabled {
	pointer-events: none;
	border-color: #333;
	background: transparent;
	color: #60646c;
}

.afx-dc-loading {
	opacity: .72;
	pointer-events: none;
}

@media (max-width: 860px) {
	.afx-dc-results {
		grid-template-columns: 1fr !important;
	}

	.afx-dc-result {
		border-right: 0;
	}
}

@media (max-width: 640px) {
	.afx-dc-search-inner {
		padding: 20px;
	}

	.afx-dc-search-row {
		grid-template-columns: 1fr;
	}

	.afx-dc-button {
		width: 100%;
	}

	.afx-dc-result {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.afx-dc-actions {
		width: 100%;
		justify-content: space-between;
	}

	.afx-dc-cta {
		min-width: 132px;
	}
}

@media (max-width: 420px) {
	.afx-dc-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.afx-dc-price {
		white-space: normal;
	}

	.afx-dc-cta {
		width: 100%;
	}
}
