/* Customer registration form. Styles are scoped to .hostkhata-register and use the theme's colours where possible. */

.hostkhata-register {
	max-width: 480px;
	margin: 0 auto;
}

.hostkhata-register .hostkhata-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
}

.hostkhata-register label {
	font-weight: 600;
}

.hostkhata-register input[type="text"],
.hostkhata-register input[type="email"],
.hostkhata-register input[type="tel"],
.hostkhata-register input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	font: inherit;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
}

.hostkhata-register input:focus-visible {
	outline: 2px solid #4f46e5;
	outline-offset: 1px;
}

.hostkhata-register .has-error input {
	border-color: #b91c1c;
}

.hostkhata-register .hostkhata-error {
	color: #b91c1c;
	font-size: 0.875em;
}

.hostkhata-register .hostkhata-button {
	min-height: 44px;
	padding: 0 24px;
	color: #fff;
	font: inherit;
	font-weight: 600;
	background: #4f46e5;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.hostkhata-register .hostkhata-button:hover {
	background: #4338ca;
}

.hostkhata-register .hostkhata-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #eef2ff;
	border-radius: 8px;
}

.hostkhata-register .hostkhata-notice--success {
	color: #065f46;
	background: #d1fae5;
}

.hostkhata-register .hostkhata-notice--error {
	color: #991b1b;
	background: #fee2e2;
}

/* Honeypot: invisible to people and screen readers, bots still fill it in. */
.hostkhata-register .hostkhata-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
