/* 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-info { background: #E6F4EA; border: 1px solid #B7DFC3; color: var(--atl-testo-soft); }
.atl-login-alert-info .atl-login-alert-msg { display: block; font-weight: 700; color: #188038; font-size: 14px; }
.atl-login-alert a { color: #009CDE; }
.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); }
}


/* ---------------------------------------------------------------- 23/10/26 sfondo emozionale della pagina di accesso (form/loginadm.php)
   blu profondo Atlas con luci morbide che si muovono piano, un battito ECG che attraversa lo schermo e una grana leggera.
   Animazioni solo su transform/opacity (fluide e leggere). La card bianca (#container_index) diventa in rilievo. */
body:has(.atl-login) { background: #0A2540 !important; background-image: none !important; }
.atl-sfondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
	background: radial-gradient(ellipse at 20% 15%, #12507E 0%, rgba(18, 80, 126, 0) 55%), radial-gradient(ellipse at 85% 90%, #0F6FA3 0%, rgba(15, 111, 163, 0) 50%), linear-gradient(160deg, #071B30 0%, #0B2F52 45%, #0A3D66 100%); }
.atl-sf-luce { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.atl-sf-luce.l1 { width: 520px; height: 520px; left: -120px; top: -140px; background: #19B8F1; animation: atl-sf-giro1 22s ease-in-out infinite; }
.atl-sf-luce.l2 { width: 440px; height: 440px; right: -100px; top: 20%; background: #F26A1B; opacity: .35; animation: atl-sf-giro2 26s ease-in-out infinite; }
.atl-sf-luce.l3 { width: 600px; height: 600px; left: 30%; bottom: -260px; background: #1A9AD6; opacity: .45; animation: atl-sf-giro3 30s ease-in-out infinite; }
.atl-sf-luce.l4 { width: 300px; height: 300px; left: 12%; bottom: 18%; background: #FF9A3C; opacity: .22; animation: atl-sf-giro2 34s ease-in-out infinite reverse; }
.atl-sf-grana { position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px); background-size: 3px 3px; }
@keyframes atl-sf-giro1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(180px, 120px) scale(1.15); } }
@keyframes atl-sf-giro2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-160px, 90px) scale(.9); } }
@keyframes atl-sf-giro3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-120px, -80px) scale(1.1); } }
/* niente blocco per prefers-reduced-motion: su Linux Firefox lo attiva da solo (animazioni di sistema spente) e lo sfondo restava fermo */
/* card della pagina di accesso in rilievo sopra lo sfondo */
body:has(.atl-login) #container_index { border-radius: 20px !important; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px rgba(25, 184, 241, .18) !important; }

body:has(.atl-login) #container_index { animation: atl-sf-entra .9s cubic-bezier(.2, .9, .25, 1) both, atl-sf-alone 6s ease-in-out 1s infinite; }
@keyframes atl-sf-entra { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes atl-sf-alone {
	0%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 60px rgba(25, 184, 241, .15); }
	50% { box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(25, 184, 241, .35), 0 0 110px rgba(25, 184, 241, .35); }
}
.atl-login-col, .atl-login-side { animation: atl-sf-entra .9s cubic-bezier(.2, .9, .25, 1) .25s both; }
.atl-login-side { animation-delay: .4s; }

/* 23/10/26 icone social: cerchi pieni con il colore del marchio, si sollevano al passaggio del mouse */
.atl-login-social { display: flex; justify-content: center; gap: 12px; }
.atl-social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.atl-social-yt { background: linear-gradient(135deg, #FF3B30, #C4161C); box-shadow: 0 6px 14px rgba(196, 22, 28, .3); }
.atl-social-fb { background: linear-gradient(135deg, #3B82F6, #1877F2); box-shadow: 0 6px 14px rgba(24, 119, 242, .3); }
.atl-social:hover { transform: translateY(-3px) scale(1.06); }
.atl-social-yt:hover { box-shadow: 0 10px 20px rgba(196, 22, 28, .4); }
.atl-social-fb:hover { box-shadow: 0 10px 20px rgba(24, 119, 242, .4); }
/* bollini delle certificazioni (images/logo_login_iso.png, 5 bollini in fila): entrano uno alla volta */
.atl-login-iso { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.atl-iso { display: block; width: 34px; height: 34px; background: url("/images/logo_login_iso.png") no-repeat; background-size: 186px 34px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18));
	animation: atl-iso-entra .6s cubic-bezier(.2, 1.4, .4, 1) both; transition: transform .2s; }
.atl-iso:nth-child(1) { animation-delay: 1.0s; } .atl-iso:nth-child(2) { animation-delay: 1.1s; } .atl-iso:nth-child(3) { animation-delay: 1.2s; }
.atl-iso:nth-child(4) { animation-delay: 1.3s; } .atl-iso:nth-child(5) { animation-delay: 1.4s; }
.atl-iso:hover { transform: scale(1.25); }
@keyframes atl-iso-entra { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* 23/10/26 logo animato della pagina di accesso (index.php, logo senza bollini images/logo_login_atlas.png):
   entra sfocato e si mette a fuoco; poi ogni 10 secondi un riflesso di luce lo attraversa e intanto il logo si illumina
   e si solleva appena, poi torna fermo */
.atl-logo-ing { position: relative; display: inline-block; margin: 18px 0 6px; animation: atl-logo-entra 1.2s cubic-bezier(.2, .9, .25, 1) both; }
.atl-logo-ing img { display: block; width: 520px; max-width: 90vw; height: auto; } /* 24/10/26 il logo resta fermo: si anima solo la linea ECG */
.atl-logo-luce { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: url("/images/logo_login_atlas_ecg.png") center / 100% 100% no-repeat; mask: url("/images/logo_login_atlas_ecg.png") center / 100% 100% no-repeat; } /* 24/10/26 luce solo sulla linea ECG (maschera images/logo_login_atlas_ecg.png = soli pixel azzurri del logo) */
.atl-logo-luce span { position: absolute; top: 0; left: 0; width: 22%; height: 100%; background: linear-gradient(90deg, rgba(120, 220, 255, 0) 0%, rgba(160, 235, 255, .9) 70%, #FFFFFF 92%, rgba(255, 255, 255, 0) 100%); will-change: transform; animation: atl-logo-riflesso 10s cubic-bezier(.4, 0, .3, 1) 1.5s infinite; }
@keyframes atl-logo-entra { from { opacity: 0; transform: scale(.85); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes atl-logo-riflesso { 0% { transform: translateX(-110%); } 22%, 100% { transform: translateX(470%); } } /* impulso che percorre la linea da sinistra a destra */

/* 23/10/26 mouse sopra il logo: batte come un cuore (doppio colpo lub-dub, ~70 bpm).
   24/10/26 batte SOLO la linea ECG: le lettere restano ferme, la linea (maschera .atl-logo-luce) si accende due volte a ogni battito */
.atl-logo-luce::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, #7FDCFF, #FFFFFF 50%, #7FDCFF); }
.atl-logo-ing:hover .atl-logo-luce::before { animation: atl-logo-cuore .85s ease-in-out infinite; }
@keyframes atl-logo-cuore {
	0%, 100% { opacity: 0; }
	14% { opacity: .95; }
	28% { opacity: .15; }
	42% { opacity: .7; }
	70% { opacity: 0; }
}

/* cursore a forma di cuore sopra il logo: piccolo (22px), sfumato arancio-rosso come il logo, bordo bianco (punto attivo al centro) */
.atl-logo-ing:hover, .atl-logo-ing:hover * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FF9A3C'/%3E%3Cstop offset='1' stop-color='%23D7261E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M16 28C16 28 3.5 20.2 3.5 11.6 3.5 7.4 6.7 4.5 10.3 4.5 12.9 4.5 15 6 16 8.1 17 6 19.1 4.5 21.7 4.5 25.3 4.5 28.5 7.4 28.5 11.6 28.5 20.2 16 28 16 28Z' fill='url%28%23g%29' stroke='%23FFF' stroke-width='1.8'/%3E%3C/svg%3E") 11 11, pointer; }

/* 23/10/26 "ISCRIVITI GRATUITAMENTE" attira l'attenzione: ogni 8 secondi fa un piccolo sobbalzo con un anello arancio che si allarga,
   la freccia scatta in avanti e un riflesso di luce lo attraversa; col mouse sopra si ferma e resta il sollevamento normale */
.atl-cta { position: relative; overflow: visible; animation: atl-cta-sobbalzo 8s ease-in-out 3s infinite; }
.atl-cta::before { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 0 rgba(242, 106, 27, .55); animation: atl-cta-anello 8s ease-out 3s infinite; }
.atl-cta::after { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; overflow: hidden;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 70%) no-repeat;
	background-size: 250% 100%; background-position: 150% 0; animation: atl-cta-luce 8s ease-in-out 3s infinite; }
.atl-cta .atl-cta-freccia { animation: atl-cta-freccia 8s ease-in-out 3s infinite; }
.atl-cta:hover, .atl-cta:hover::before, .atl-cta:hover::after, .atl-cta:hover .atl-cta-freccia { animation: none; } /* col mouse sopra resta il sollevamento normale del tasto */
@keyframes atl-cta-sobbalzo {
	0%, 12%, 100% { transform: none; }
	3% { transform: translateY(-4px) scale(1.035); }
	6% { transform: translateY(0) scale(.99); }
	9% { transform: translateY(-2px) scale(1.015); }
}
@keyframes atl-cta-anello { 0% { box-shadow: 0 0 0 0 rgba(242, 106, 27, .55); } 12%, 100% { box-shadow: 0 0 0 16px rgba(242, 106, 27, 0); } }
@keyframes atl-cta-luce { 0%, 2% { background-position: 150% 0; } 14%, 100% { background-position: -50% 0; } }
@keyframes atl-cta-freccia { 0%, 12%, 100% { transform: none; } 4% { transform: translateX(6px); } 8% { transform: translateX(0); } }

/* 23/10/26 rete di stelle luminose (canvas disegnata da form/loginadm.php) attratte dal mouse e luce che insegue il cursore */
.atl-sf-rete { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.atl-sf-cursore { position: absolute; left: 0; top: 0; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%;
	background: radial-gradient(circle, rgba(25, 184, 241, .22) 0%, rgba(25, 184, 241, .08) 35%, rgba(25, 184, 241, 0) 70%); will-change: transform; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
