/* Aggiunte della 2.0 a style.css (ripreso dalla 1.x). */

.fascia-prova { background: #b45309; color: #fff; padding: 6px 16px; text-align: center; font-size: 13px; font-weight: 600; }
header.topbar .brand img { height: 26px; vertical-align: middle; margin-right: 10px; }
header.topbar .utente { color: #dfe7f5; font-size: 13px; text-align: right; line-height: 1.4; }
header.topbar .utente a { color: #E8C468; text-decoration: none; margin-left: 10px; }
header.topbar .utente .ente { color: #fff; font-weight: 700; }

.login-wrap { max-width: 440px; margin: 50px auto; padding: 0 20px; }
.login-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px; box-shadow: 0 8px 28px rgba(20,30,50,0.08); }
.login-card h1 { font-size: 21px; }
.login-field { margin-bottom: 12px; }
.login-field label { display: block; font-size: 12px; font-weight: 600; color: var(--grey); margin-bottom: 4px; }
.login-field input, .login-field select, .login-field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 13.5px; font-family: inherit; }
.login-btn { width: 100%; padding: 11px; margin-top: 4px; }
.nota { font-size: 12.5px; color: var(--grey); line-height: 1.5; }
.nota a { color: var(--blue); }
.avviso-sim { background: #FBF3E2; border: 1px solid #e8d19a; color: #7a5c14; font-size: 12px; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; line-height: 1.5; }
.messaggio { font-size: 12.5px; padding: 9px 12px; border-radius: 8px; margin-bottom: 14px; }
.messaggio.errore { background: var(--light-red); color: var(--red); }
.messaggio.ok { background: var(--light-teal); color: var(--teal); }
[hidden] { display: none !important; }

.scheda { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.scheda h2 { font-size: 16px; color: var(--navy); margin: 0 0 12px; }
.riga-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.riga-form .login-field { flex: 1; min-width: 160px; margin-bottom: 0; }
.elenco-enti button { display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); color: var(--navy); }
.elenco-enti button:hover { background: var(--light-blue); }
.elenco-enti .liv { float: right; font-size: 12px; color: var(--grey); font-weight: 600; }
.stato-concessa { color: var(--teal); font-weight: 700; }
.stato-richiesta { color: var(--gold); font-weight: 700; }
.stato-rifiutata, .stato-revocata, .stato-ritirata { color: var(--grey); }
table { width: 100%; }
pre.posta { white-space: pre-wrap; font-family: inherit; margin: 4px 0 0; }
a.button { display: inline-block; background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 600; }
.modal .scheda { margin: 12px 0; }
header.topbar .brand { display: flex; align-items: center; flex-wrap: wrap; row-gap: 6px; }
header.topbar nav a { margin-left: 14px; white-space: nowrap; }
table.fissa { table-layout: fixed; }
