/* grafica di login (form/loginadm.php), caratteristiche (form/caratteristiche.php) e registrazione (form/formuserreg.php) */
.atl-login, .atl-page {
	--atl-blu: #1A9AD6;
	--atl-blu-scuro: #1380B4;
	--atl-azzurro: #19B8F1;
	--atl-arancio: #F26A1B;
	--atl-arancio-chiaro: #FF9A3C;
	--atl-testo: #2F3A45;
	--atl-testo-soft: #6B7682;
	--atl-bordo: #DDE3EA;
	--atl-campo: #FFF8DC;
	--atl-campo-bordo: #E3D6A8;
	font-family: 'Noto Sans', 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--atl-testo);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- campi e pulsanti comuni */
.atl-login input.atl-input, .atl-page input.atl-input, .atl-page select.atl-input {
	box-sizing: border-box; width: 100%; height: 42px; padding: 0 13px;
	background-color: var(--atl-campo); border: 1px solid var(--atl-campo-bordo); border-radius: 10px;
	font: 500 16px 'Noto Sans', 'Segoe UI', Roboto, Arial, sans-serif !important; color: var(--atl-testo);
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.atl-page select.atl-input { padding-right: 8px; cursor: pointer; }
.atl-login input.atl-input::placeholder, .atl-page input.atl-input::placeholder { color: #9AA3AD; font-weight: 400; }
.atl-login input.atl-input:focus, .atl-page input.atl-input:focus, .atl-page select.atl-input:focus {
	outline: none; border-color: var(--atl-blu); background-color: #FFFDF3; box-shadow: 0 0 0 4px rgba(26, 154, 214, .15);
}
.atl-login input.atl-btn, .atl-page input.atl-btn {
	box-sizing: border-box; height: 42px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--atl-blu);
	background: var(--atl-blu); color: #FFF; cursor: pointer;
	font: 700 13px 'Noto Sans', 'Segoe UI', Roboto, Arial, sans-serif !important; letter-spacing: .6px;
	box-shadow: 0 4px 12px rgba(26, 154, 214, .25); transition: background .15s, box-shadow .15s, transform .15s;
}
.atl-login input.atl-btn:hover, .atl-page input.atl-btn:hover { background: var(--atl-blu-scuro); border-color: var(--atl-blu-scuro); box-shadow: 0 6px 16px rgba(26, 154, 214, .32); }
.atl-login input.atl-btn:active, .atl-page input.atl-btn:active { transform: translateY(1px); }
.atl-login input.atl-btn-sec, .atl-page input.atl-btn-sec { background: #FFF; color: var(--atl-testo-soft); border-color: #CBD3DC; box-shadow: none; }
.atl-login input.atl-btn-sec:hover, .atl-page input.atl-btn-sec:hover { background: #F4F6F8; border-color: #B5BFC9; box-shadow: none; }
.atl-login input.atl-btn-full, .atl-page input.atl-btn-full { width: 100%; }

/* pulsante "prova gratis": arancio come il logo */
.atl-cta {
	display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; padding: 14px 16px;
	border-radius: 14px; text-decoration: none !important; cursor: pointer; color: #FFF !important;
	background: linear-gradient(135deg, var(--atl-arancio) 0%, var(--atl-arancio-chiaro) 100%);
	box-shadow: 0 8px 20px rgba(242, 106, 27, .30); transition: transform .18s, box-shadow .18s;
}
.atl-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 106, 27, .38); }
.atl-cta:active { transform: translateY(0); }
.atl-cta-icona { flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.atl-cta-testi { display: flex; flex-direction: column; line-height: 1.25; }
.atl-cta-titolo { font-weight: 800; font-size: 14px; letter-spacing: .3px; white-space: nowrap; }
.atl-cta-sotto { font-weight: 500; font-size: 12px; opacity: .92; }
.atl-cta-freccia { margin-left: auto; font-size: 15px; transition: transform .18s; }
.atl-cta:hover .atl-cta-freccia { transform: translateX(3px); }

/* ---------------------------------------------------------------- login */
/* i pannelli (operatore, token, recupero/reimposta password) sono nella stessa colonna, ne e' visibile uno alla volta */
.atl-login { display: flex; justify-content: center; align-items: stretch; gap: 44px; padding: 12px 20px 28px 20px; }
.atl-login-col { width: 420px; max-width: 100%; }
.atl-login-side { width: 330px; border-left: 1px solid var(--atl-bordo); padding-left: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.atl-login-title { font-size: 19px; font-weight: 800; color: var(--atl-testo); letter-spacing: -.2px; margin: 0 0 16px 0; }
.atl-login-subtitle { font-size: 13px; color: var(--atl-testo-soft); margin: -8px 0 16px 0; line-height: 1.5; }
.atl-login-field { position: relative; margin-bottom: 12px; }
.atl-login .atl-input-pw { padding-right: 42px !important; }
.atl-login .atl-eye { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #8A949E; cursor: pointer; }
.atl-login .atl-eye:hover { color: var(--atl-blu); }
.atl-login-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.atl-login-actions input.atl-btn { flex: 1; }
.atl-login-links { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.atl-login-links a { text-decoration: none; }
.atl-login-links a:hover { text-decoration: underline; }
.atl-link-primary { font-size: 14px; font-weight: 600; color: var(--atl-azzurro); }
.atl-link-secondary { font-size: 13px; color: var(--atl-testo-soft); }
.atl-login-alert { border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; line-height: 1.5; text-align: center; }
.atl-login-alert-errore { background: #FDEEEE; border: 1px solid #F4C2C2; color: var(--atl-testo-soft); }
.atl-login-alert-errore .atl-login-alert-msg { display: block; font-weight: 700; color: #D93636; font-size: 14px; }
.atl-login-alert-blocco { background: #F4E8EC; border: 1px solid #DDB8C5; color: var(--atl-testo-soft); }
.atl-login-alert-blocco .atl-login-alert-msg { display: block; font-weight: 700; color: #630327; font-size: 14px; }
.atl-login-alert b.atl-num { color: #D93636; }
.atl-panel { background: #FFF; }
/* box del token / pin / primo accesso restituito da opajax/checktokenactive.php */
#divtoken > div:not(.atl-login-links) { width: auto !important; height: auto !important; max-width: 100%; background-color: #F1F5EF !important; border-radius: 10px !important; padding: 6px !important; }
#divtoken input[type=text], #divtoken input[type=password] { height: 32px; border: 1px solid #C8C8C8; border-radius: 6px; padding: 0 6px; font-size: 15px; }
.atl-login-side .atl-side-link { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--atl-testo-soft); text-decoration: none; }
.atl-login-side .atl-side-link i { width: 16px; text-align: center; color: #A5AFB9; }
.atl-login-side .atl-side-link:hover, .atl-login-side .atl-side-link:hover i { color: var(--atl-blu); }
.atl-login-social { display: flex; justify-content: center; gap: 36px; margin-top: 4px; }
.atl-login-social svg { transition: transform .15s; }
.atl-login-social svg:hover { transform: translateY(-2px); }
.atl-login-copy { font-size: 11px; color: #A8B0B8; text-align: center; }
@media (max-width: 820px) {
	.atl-login { flex-direction: column; align-items: center; gap: 24px; }
	.atl-login-side { border-left: 0; border-top: 1px solid var(--atl-bordo); padding: 20px 0 0 0; width: 420px; max-width: 100%; }
}

/* ---------------------------------------------------------------- pagine interne (caratteristiche, registrazione) */
.atl-page { max-width: 860px; margin: 0 auto; padding: 8px 20px 30px 20px; box-sizing: border-box; }
.atl-page *, .atl-page *::before, .atl-page *::after { box-sizing: border-box; }
.atl-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--atl-azzurro) !important; text-decoration: none !important; margin-bottom: 14px; }
.atl-back:hover { color: var(--atl-blu-scuro) !important; }
.atl-page-head { margin-bottom: 20px; }
.atl-page-title { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--atl-testo); margin: 0 0 6px 0; }
.atl-page-title span { color: var(--atl-azzurro); }
.atl-page-lead { font-size: 15px; color: var(--atl-testo-soft); line-height: 1.6; margin: 0; }
.atl-page-lead b { color: var(--atl-testo); }
.atl-note { display: flex; align-items: center; gap: 10px; background: #FFF4EC; border: 1px solid #FBD4BC; color: #A14710; border-radius: 12px; padding: 11px 14px; font-size: 13px; margin-bottom: 20px; }
.atl-note i { color: var(--atl-arancio); font-size: 16px; }

/* caratteristiche: griglia di schede */
.atl-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.atl-feature { display: flex; gap: 12px; align-items: flex-start; background: #FFF; border: 1px solid var(--atl-bordo); border-radius: 12px; padding: 13px 14px; font-size: 13px; line-height: 1.55; color: var(--atl-testo); transition: border-color .15s, box-shadow .15s; }
.atl-feature:hover { border-color: #BFE3F5; box-shadow: 0 4px 14px rgba(26, 154, 214, .10); }
.atl-feature-check { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #E3F4FC; color: var(--atl-blu); display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px; }
.atl-page-cta { max-width: 420px; margin: 0 auto; }
@media (max-width: 700px) { .atl-features { grid-template-columns: 1fr; } }

/* registrazione: sezioni a schede, etichette sopra i campi */
.atl-errore-reg { background: #FDEEEE; border: 1px solid #F4C2C2; color: #D93636; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.atl-section { background: #FFF; border: 1px solid var(--atl-bordo); border-radius: 14px; padding: 18px 20px 8px 20px; margin-bottom: 16px; }
.atl-section-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--atl-testo); margin: 0 0 14px 0; }
.atl-section-num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--atl-azzurro); color: #FFF; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.atl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 14px; }
.atl-col-12 { grid-column: span 12; } .atl-col-8 { grid-column: span 8; } .atl-col-6 { grid-column: span 6; }
.atl-col-4 { grid-column: span 4; } .atl-col-3 { grid-column: span 3; } .atl-col-2 { grid-column: span 2; }
.atl-field { margin-bottom: 12px; }
.atl-field label.atl-label { display: block; font-size: 12px; font-weight: 700; color: var(--atl-testo-soft); margin: 0 0 5px 2px; letter-spacing: .2px; }
.atl-help { display: block; font-size: 11.5px; color: #8A949E; margin: 5px 0 0 2px; line-height: 1.45; }
.atl-pw-wrap { position: relative; }
.atl-pw-wrap .atl-input { padding-right: 42px !important; }
.atl-pw-wrap .atl-eye { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #8A949E; cursor: pointer; }
.atl-robot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; color: var(--atl-testo-soft); }
.atl-robot-word { font-weight: 800; font-size: 16px; letter-spacing: 2px; color: var(--atl-testo); background: #EEF3F7; border: 1px dashed #B9C6D2; border-radius: 8px; padding: 6px 12px; }
.atl-robot a { color: var(--atl-azzurro); font-weight: 600; text-decoration: none; }
.atl-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; margin-bottom: 14px; cursor: pointer; }
.atl-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--atl-blu); flex: 0 0 auto; }
.atl-check a { color: var(--atl-azzurro); text-decoration: underline; }
.atl-consenso { border-top: 1px solid #EEF1F4; padding: 11px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; line-height: 1.5; }
.atl-consenso-opzioni { display: flex; gap: 6px; flex: 0 0 auto; }
.atl-consenso-opzioni label { position: relative; cursor: pointer; }
.atl-consenso-opzioni input { position: absolute; opacity: 0; pointer-events: none; }
.atl-consenso-opzioni span { display: inline-block; padding: 6px 11px; border: 1px solid #CBD3DC; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--atl-testo-soft); background: #FFF; transition: all .12s; white-space: nowrap; }
.atl-consenso-opzioni input:checked + span { background: var(--atl-blu); border-color: var(--atl-blu); color: #FFF; }
.atl-consenso-opzioni input[value="0"]:checked + span { background: #6B7682; border-color: #6B7682; }
.atl-consenso-opzioni input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26, 154, 214, .25); }
.atl-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.atl-submit-row input.atl-btn { height: 50px; font-size: 16px !important; min-width: 260px; }
@media (max-width: 700px) {
	.atl-col-8, .atl-col-6, .atl-col-4 { grid-column: span 12; }
	.atl-col-3, .atl-col-2 { grid-column: span 6; }
	.atl-consenso { flex-direction: column; align-items: flex-start; }
	.atl-submit-row { flex-direction: column-reverse; align-items: stretch; }
	.atl-submit-row input.atl-btn { min-width: 0; width: 100%; }
}

/* titoli dei pannelli di login: seconda parte celeste come i titoli delle pagine */
.atl-login-title { font-size: 21px; letter-spacing: -.3px; }
.atl-login-title span { color: var(--atl-azzurro); }

/* specifiche tecniche postazione di lavoro */
.atl-doc-text { font-size: 14px; line-height: 1.65; color: var(--atl-testo); margin: 0 0 12px 0; }
.atl-spec { margin-bottom: 16px; }
.atl-spec-title { font-size: 14px; font-weight: 800; color: var(--atl-blu); margin: 4px 0 8px 0; }
.atl-spec-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; border: 1px solid var(--atl-bordo); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.atl-spec-norma, .atl-spec-standard { grid-column: 1; background: #F5F8FA; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; color: var(--atl-testo-soft); }
.atl-spec-standard { border-top: 1px solid var(--atl-bordo); }
.atl-spec-risposta { grid-column: 2; grid-row: 1 / span 2; padding: 12px 16px; font-size: 13.5px; line-height: 1.6; color: var(--atl-testo); border-left: 1px solid var(--atl-bordo); }
.atl-spec-risposta p { margin: 0 0 8px 0; }
.atl-spec-risposta p:last-child { margin-bottom: 0; }
.atl-spec-label { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #9AA5B0; margin-bottom: 4px; }
.atl-spec-risposta .atl-spec-label { color: var(--atl-azzurro); }
.atl-doc-firma { text-align: right; font-size: 13px; color: var(--atl-testo-soft); margin: 6px 4px 18px 0; line-height: 1.6; }
.atl-doc-firma b { color: var(--atl-testo); }
.atl-doc-pdf { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--atl-testo-soft) !important; text-decoration: none !important; border: 1px solid #CBD3DC; border-radius: 10px; padding: 10px 14px; }
.atl-doc-pdf:hover { border-color: var(--atl-blu); color: var(--atl-blu) !important; }
@media (max-width: 700px) {
	.atl-spec-row { grid-template-columns: 1fr; }
	.atl-spec-risposta { grid-column: 1; grid-row: auto; border-left: 0; border-top: 1px solid var(--atl-bordo); }
}
