.wmpv-custom-register-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wmpv-custom-register-form input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 14px;
	border-radius: 10px;
	border: 1px solid #d6d0c2;
	background: #fffdf9;
	color: #111111;
	font-size: 16px;
	line-height: 1.2;
	-webkit-appearance: none;
	appearance: none;
}

.wmpv-date-field {
	position: relative;
	display: block;
	width: 100%;
	cursor: pointer;
}

.wmpv-date-field::after {
	content: attr(data-placeholder);
	position: absolute;
	top: 50%;
	left: 14px;
	color: #777777;
	font-size: 16px;
	line-height: 1;
	pointer-events: none;
	transform: translateY(-50%);
}

.wmpv-date-field.has-value::after,
.wmpv-date-field:focus-within::after {
	display: none;
}

/* .wmpv-date-field input[type="date"] {
	display: block;
	width: 100%;
	min-width: 0;
	color-scheme: light;
	cursor: pointer;
} */

/* .wmpv-date-field input[type="date"]:before {
  content: attr(placeholder);
}
.wmpv-date-field input[type="date"]:focus:before,
.wmpv-date-field input[type="date"]:valid:before {
  content: "";
} */

/* .wmpv-date-field input[type="date"]:invalid {
	color: #777777;
}

.wmpv-date-field:not(.has-value):not(:focus-within) input[type="date"] {
	color: transparent;
}

.wmpv-date-field:not(.has-value):not(:focus-within) input[type="date"]::-webkit-date-and-time-value {
	color: transparent;
} */

.wmpv-name-row {
	display: flex;
	gap: 10px;
}

#wmpv-register-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	border-radius: 999px;
	border: none;
	background: #000000;
	color: #ffffff;
	font-weight: 600;
}

#wmpv-register-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-loader {
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	border-top: 2px solid transparent;
	border-radius: 50%;
	animation: wmpv-spin 0.6s linear infinite;
}

#wmpv-register-message .error,
#wmpv-register-message .success {
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 14px;
}

#wmpv-register-message .error {
	background: #fee2e2;
}

#wmpv-register-message .success {
	background: #dcfce7;
}

.tnc-message {
	font-size: 12.5px;
	color: #666;
	line-height: 1.5;
	margin-top: 10px;
}

.tnc-message a {
	color: #817b64;
	text-decoration: none;
	font-weight: 500;
}

.tnc-message a:hover {
	text-decoration: underline;
}

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

@media (max-width: 480px) {
	.wmpv-name-row {
		flex-direction: column;
	}

	.wmpv-custom-register-form input {
		min-height: 52px;
	}
}
