/* Pagina di accesso (login.php): pagina autonoma, senza Bootstrap, con i pulsanti SPID di AGID */
:root { --brand: #0e7c66; --brand-dark: #0a5c4b; --brand-light: #e5f4f0; --ink: #1f2937; --muted: #6b7280; --danger: #dc2626; --success: #059669; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
	min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px;
	background: linear-gradient(135deg, #0a5c4b 0%, #0e7c66 50%, #12967d 100%);
	font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: var(--ink);
}
/* spid-sp-access-button.min.css imposta "svg { width: 1.8em !important; fill: #fff }" su TUTTE le svg */
svg.icon { width: 1em !important; height: 1em !important; fill: currentColor; vertical-align: -0.125em; }
/* Il menu dei gestori SPID è disegnato in content-box: i loghi hanno "height: 25px" + "padding: 10px".
   Con il border-box impostato sopra il padding finirebbe dentro i 25px e i loghi resterebbero alti 5px. */
.spid-idp-button, .spid-idp-button * { box-sizing: content-box; }
.spid-idp-button { text-align: center; }
.card { background: #fff; width: 100%; max-width: 460px; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); overflow: hidden; }
.card-top { padding: 28px 32px 20px; text-align: center; border-bottom: 1px solid #eef0f2; }
.card-top img.comune { height: 96px; }
.eyebrow { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
h1 { margin: 6px 0 6px; font-size: 24px; font-weight: 800; color: var(--ink); }
.lead { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.periodo { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; background: var(--brand-light); color: var(--brand-dark); border-radius: 99px; padding: 6px 14px; font-size: 13.5px; font-weight: 600; }
.provvisorio { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #9a3412; display: flex; align-items: center; justify-content: center; gap: 6px; }
.card-body { padding: 24px 32px 28px; }
.card-body .label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; text-align: center; }
.italia-it-button { width: 100%; margin: 0 0 10px; box-sizing: border-box; }
.alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-top: 14px; display: flex; gap: 10px; }
.alert svg.icon { width: 18px !important; height: 18px !important; flex-shrink: 0; margin-top: 1px; }
.alert-danger { background: #fef2f2; color: #7f1d1d; border-left: 4px solid var(--danger); }
.alert-success { background: #ecfdf5; color: #064e3b; border-left: 4px solid var(--success); }
.alert-warning { background: #fffbeb; color: #78350f; border-left: 4px solid #d97706; }
.alert-info { background: #eff6ff; color: #1e3a8a; border-left: 4px solid #2563eb; }
.alert a { color: inherit; font-weight: 700; text-decoration: none; }
details.contatti { margin-top: 18px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 13.5px; }
details.contatti summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 600; color: var(--brand-dark); }
details.contatti summary::-webkit-details-marker { display: none; }
details.contatti summary .icon-chevron-down { margin-left: auto; transition: transform .2s; }
details.contatti[open] summary .icon-chevron-down { transform: rotate(180deg); }
details.contatti .contatti-body { padding: 0 14px 14px; line-height: 1.5; }
details.contatti .intro { margin: 0 0 4px; color: var(--muted); }
.contatto { border-top: 1px solid #eef0f2; padding: 10px 0; }
.contatto h3 { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .04em; }
.contatto p { margin: 0 0 3px; display: flex; gap: 8px; color: var(--ink); }
.contatto p svg.icon { margin-top: 3px; flex-shrink: 0; color: var(--brand); }
.contatto a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.cosa-serve { margin: 18px 0 0; padding: 12px 14px; background: #f9fafb; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.cosa-serve strong { color: var(--brand-dark); }
.cosa-serve ul { margin: 6px 0 0; padding-left: 18px; }
.brand-sr { margin-top: 22px; text-align: center; }
.brand-sr img { height: 22px; opacity: .95; background: #fff; padding: 6px 10px; border-radius: 8px; box-sizing: content-box; }
.copyright { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .85); text-align: center; }
.copyright a { color: #fff; }
