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

.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;
}

/* Popup login */
.ept-ua-popup[hidden] {
	display: none;
}

.ept-ua-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ept-ua-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 20, 30, 0.55);
}

.ept-ua-popup-panel {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 2em;
	max-width: 420px;
	width: calc(100% - 2em);
	max-height: 90vh;
	overflow-y: auto;
}

.ept-ua-popup-close {
	position: absolute;
	top: 0.75em;
	right: 0.75em;
	background: none !important;
	border: none !important;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	color: #16324f !important;
}

.ept-ua-popup-register {
	margin-top: 1.5em;
	padding-top: 1.5em;
	border-top: 1px solid #eceff2;
	display: grid;
	gap: 0.6em;
}

.ept-ua-popup-register-q {
	font-weight: 600;
	margin: 0 0 0.25em;
}

.ept-ua-popup-register-cta {
	display: block;
	text-align: center;
	padding: 0.7em 1em;
	border-radius: 999px;
	background: #fff !important;
	color: #16324f !important;
	border: 1px solid #16324f !important;
	text-decoration: none !important;
	font-weight: 600;
}

.ept-ua-popup-register-cta:hover {
	background: #16324f !important;
	color: #fff !important;
}
