/**
 * Formularios ZenHost — compatible con tema en modo oscuro (sin fondos blancos).
 */

.zenhost-availability,
.zenhost-presearch,
.zenhost-transfer,
.zenhost-purchase {
	color: inherit;
}

.zenhost-availability label,
.zenhost-purchase label,
.zenhost-purchase .zenhost-purchase__label {
	color: inherit;
}

.zenhost-purchase {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: transparent;
	max-width: 28rem;
}

.zenhost-purchase__product-id {
	color: inherit;
	opacity: 0.75;
}

.zenhost-availability__hint {
	color: inherit;
	opacity: 0.75;
}

.zenhost-purchase__input,
.zenhost-purchase__select,
.zenhost-domain-input {
	background: transparent !important;
	background-color: transparent !important;
	color: inherit !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	box-shadow: none !important;
}

.zenhost-purchase__input:focus,
.zenhost-purchase__select:focus,
.zenhost-domain-input:focus {
	border-color: rgba(255, 255, 255, 0.45) !important;
	outline: none;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

/* Buscadores y login ZenHost — mismo aspecto de campo */
.zenhost-availability__row input[type="text"],
.zenhost-transfer__row input[type="text"],
.zenhost-presearch__input,
.zenhost-login input[type="email"],
.zenhost-login input[type="password"],
.zenhost-login input[type="text"],
.zenhost-login input[type="tel"],
.zenhost-login select,
.zenhost-rc-account input.input-text,
.zenhost-rc-account select {
	--zh-search-border: rgba(255, 255, 255, 0.42);
	--zh-search-text: rgba(255, 255, 255, 0.92);
	--zh-search-placeholder: rgba(255, 255, 255, 0.38);

	background: transparent !important;
	background-color: transparent !important;
	color: var(--zh-search-text) !important;
	border: 1px solid var(--zh-search-border) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

.zenhost-availability__row input[type="text"]::placeholder,
.zenhost-transfer__row input[type="text"]::placeholder,
.zenhost-presearch__input::placeholder,
.zenhost-login input[type="email"]::placeholder,
.zenhost-login input[type="password"]::placeholder,
.zenhost-login input[type="text"]::placeholder,
.zenhost-login input[type="tel"]::placeholder,
.zenhost-rc-account input.input-text::placeholder {
	color: var(--zh-search-placeholder);
	opacity: 1;
}

.zenhost-availability__row input[type="text"]::-webkit-input-placeholder,
.zenhost-transfer__row input[type="text"]::-webkit-input-placeholder,
.zenhost-presearch__input::-webkit-input-placeholder,
.zenhost-login input[type="email"]::-webkit-input-placeholder,
.zenhost-login input[type="password"]::-webkit-input-placeholder,
.zenhost-login input[type="text"]::-webkit-input-placeholder,
.zenhost-login input[type="tel"]::-webkit-input-placeholder,
.zenhost-rc-account input.input-text::-webkit-input-placeholder {
	color: var(--zh-search-placeholder);
	opacity: 1;
}

.zenhost-availability__row input[type="text"]::-moz-placeholder,
.zenhost-transfer__row input[type="text"]::-moz-placeholder,
.zenhost-presearch__input::-moz-placeholder,
.zenhost-login input[type="email"]::-moz-placeholder,
.zenhost-login input[type="password"]::-moz-placeholder,
.zenhost-login input[type="text"]::-moz-placeholder,
.zenhost-login input[type="tel"]::-moz-placeholder,
.zenhost-rc-account input.input-text::-moz-placeholder {
	color: var(--zh-search-placeholder);
	opacity: 1;
}

.zenhost-availability__row input[type="text"]:focus,
.zenhost-transfer__row input[type="text"]:focus,
.zenhost-presearch__input:focus,
.zenhost-login input[type="email"]:focus,
.zenhost-login input[type="password"]:focus,
.zenhost-login input[type="text"]:focus,
.zenhost-login input[type="tel"]:focus,
.zenhost-login select:focus,
.zenhost-rc-account input.input-text:focus,
.zenhost-rc-account select:focus {
	border-color: rgba(255, 255, 255, 0.58) !important;
	color: var(--zh-search-text) !important;
	outline: none;
	box-shadow: none !important;
}

/* Desplegables — fondo oscuro (texto blanco legible) */
.zenhost-login select,
.zenhost-rc-account select {
	color-scheme: dark;
	background-color: #141820 !important;
}

.zenhost-purchase__select option,
.zenhost-login select option,
.zenhost-rc-account select option {
	background-color: #141820 !important;
	color: rgba(255, 255, 255, 0.92) !important;
}

.zenhost-login select option:checked,
.zenhost-rc-account select option:checked,
.zenhost-login select option:hover,
.zenhost-rc-account select option:hover {
	background-color: #252b38 !important;
	color: #fff !important;
}

.zenhost-availability__list {
	border-color: rgba(255, 255, 255, 0.12);
	background: transparent;
}

.zenhost-availability__item {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.zenhost-availability__message {
	color: inherit;
}

.zenhost-availability__message.is-error {
	background: rgba(179, 45, 46, 0.18);
	border-left: 4px solid rgba(229, 115, 115, 0.9);
	color: inherit;
}

.zenhost-availability__status.is-unavailable,
.zenhost-availability__no-price {
	color: inherit;
	opacity: 0.7;
}

.zenhost-purchase__message.is-error {
	color: #f87171;
}

.zenhost-purchase__message.is-success {
	color: #86efac;
}
