/* Eptamed User Approve — frontend: form di registrazione. */

.ept-ua-reg {
	max-width: 640px;
	margin: 0 auto;
}

.ept-ua-reg-title {
	margin-bottom: 0.5em;
}

.ept-ua-reg-intro {
	margin-bottom: 1.5em;
	opacity: 0.85;
}

.ept-ua-notice {
	padding: 1em 1.25em;
	border-radius: 8px;
	background: #eef2f6;
	margin-bottom: 1.5em;
}

.ept-ua-notice--ok {
	background: #e7f6ec;
	color: #1e6b3a;
}

.ept-ua-notice--error {
	background: #fbeaea;
	color: #a12626;
}

.ept-ua-reg-form {
	display: grid;
	gap: 1em;
}

.ept-ua-reg-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.ept-ua-reg-group input[type="text"],
.ept-ua-reg-group input[type="email"],
.ept-ua-reg-group input[type="tel"],
.ept-ua-reg-group input[type="url"],
.ept-ua-reg-group input[type="password"],
.ept-ua-reg-group select {
	width: 100%;
	padding: 0.65em 0.8em;
	border: 1px solid #d5dbe1;
	border-radius: 6px;
	box-sizing: border-box;
}

.ept-ua-checkbox-inline {
	font-weight: 400 !important;
	display: inline-flex !important;
	align-items: center;
	gap: 0.5em;
}

.ept-ua-reg-hp-wrap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ept-ua-reg-submit {
	justify-self: start;
	padding: 0.85em 2em;
	background: #16324f !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
}

.ept-ua-reg-submit:hover {
	background: #1e4468 !important;
}

.ept-ua-reg-note {
	font-size: 0.85em;
	opacity: 0.7;
}

/* Responsive: il form occupa la larghezza disponibile, con margini laterali
   su mobile e campi/pulsante a tutta larghezza (tap target più grandi). */
.ept-ua-reg {
	width: 100%;
	box-sizing: border-box;
	padding-left: 16px;
	padding-right: 16px;
	overflow-wrap: anywhere;
}

.ept-ua-reg-group input[type="text"],
.ept-ua-reg-group input[type="email"],
.ept-ua-reg-group input[type="tel"],
.ept-ua-reg-group input[type="url"],
.ept-ua-reg-group input[type="password"],
.ept-ua-reg-group select {
	min-height: 44px;
	font-size: 16px; /* evita lo zoom automatico su iOS */
}

.ept-ua-checkbox-inline {
	align-items: flex-start;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.ept-ua-reg {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ept-ua-reg-title {
		font-size: 1.5rem;
		line-height: 1.25;
	}

	.ept-ua-reg-submit {
		justify-self: stretch;
		width: 100%;
		min-height: 48px;
	}

	.ept-ua-notice {
		padding: 0.9em 1em;
	}
}

