/*
  E.L.I.T.E. Judgment System
  Copyright (c) 2026 Leonardo Crandal Romani — Cràndalis Lab — Software su misura · Gestionali · Siti web
  Tutti i diritti riservati.
  Riproduzione, modifica e distribuzione vietate senza autorizzazione scritta del titolare.
*/
  body {
    background-color: #0A7A7A;
    color: #FFFFFF;
    font-family: 'Cinzel', serif;
    text-align: center;
    margin: 0;
    padding: 50px 20px;
  }

  img.logo {
    max-width: 220px;
    margin-bottom: 35px;
  }

  .container {
    max-width: 400px;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  h2 {
    margin-top: 0;
    font-size: 28px;
    letter-spacing: 1px;
  }

  input, button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
  }

  input {
    background-color: rgba(255,255,255,0.2);
    color: #FFFFFF;
    text-align: left;
    padding-left: 12px;
    transition: all 0.2s ease;
  }

  input:focus {
    outline: none;
    box-shadow: 0 0 10px #FFD700;
    background-color: rgba(255,255,255,0.25);
  }

  input[type="password"]::-ms-reveal,
  input[type="password"]::-ms-clear {
    display: none;
  }
  input[type="password"]::-webkit-textfield-decoration-container {
    display: none;
  }

  button {
    background-color: #FFFFFF;
    color: #0A7A7A;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
  }

  button:hover {
    background-color: #e6e6e6;
    transform: scale(1.02);
  }

  .password-wrapper {
    position: relative;
  }

  .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
    opacity: 0.8;
    transition: opacity 0.2s;
  }

  .toggle-password:hover {
    opacity: 1;
  }

  a {
    color: #FFD700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
  }

  a:hover {
    text-decoration: underline;
  }

  p.info {
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-top: 15px;
  }

  @media (max-width: 480px) {
    body { padding: 30px 15px; }
    .container { padding: 25px 20px; }
    h2 { font-size: 24px; }
    button { font-size: 15px; }
    img.logo { max-width: 140px; margin-bottom: 25px; }
  }
  .footer {
    max-width: 400px;
    margin: 24px auto 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
  }
  .footer a {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
  }
  .footer a:hover { color: #FFD700; }
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
.footer-logo {
    height: 80px;      
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}
  .modal-overlay.open { display: flex; }
  .modal-box {
    background: #0d6b6b;
    border-radius: 12px;
    padding: 28px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
  }
  .modal-box h3 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    margin-top: 0;
    font-size: 16px;
  }
  .modal-box h4 { color: #FFD700; margin: 16px 0 6px; font-size: 13px; }
  .modal-close {
    display: block;
    margin-top: 20px;
    background: #FFD700;
    color: #0A7A7A;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    width: auto;
  }
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 50, 50, 0.97);
    border-top: 2px solid #FFD700;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  }
  .cookie-banner.hidden { display: none; }
  .cookie-banner p { margin: 0; flex: 1; min-width: 200px; line-height: 1.6; }
  .cookie-banner a { color: #FFD700; }
  .cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; }
  .btn-cookie-accept {
    background: #FFD700;
    color: #0A7A7A;
    border: none;
    padding: 9px 20px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    width: auto;
    transition: background 0.2s;
  }
  .btn-cookie-accept:hover { background: #ffe033; }
  .btn-cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 9px 16px;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    width: auto;
    transition: all 0.2s;
  }
  .btn-cookie-decline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
:root{--muted:rgba(255,255,255,0.92)}
:focus-visible{outline:3px solid #FFF0B3!important;outline-offset:2px}
[style*="font-size:9px"],[style*="font-size: 9px"],[style*="font-size:10px"],[style*="font-size: 10px"],[style*="font-size:11px"],[style*="font-size: 11px"]{font-size:12px!important}
.btn:hover{color:#053d3d}
.titolo-sez{font-size:1.17em;margin:1em 0 .6em}
.stato-lbl{font-size:12px;font-weight:600;margin-left:4px;white-space:nowrap}
.stato-lbl.ok{color:#4ade80}.stato-lbl.no{color:#fca5a5}
#pillaRete{position:fixed;left:8px;top:8px;pointer-events:none;z-index:99998;padding:4px 10px;border-radius:999px;font:600 11px/1.3 system-ui,sans-serif;background:rgba(124,45,18,0.85);color:#fff;opacity:.9;display:none;max-width:calc(100vw - 20px)}
#pillaRete.invio{background:rgba(5,61,61,0.85);border:1px solid rgba(255,240,179,0.5)}
input,button{box-sizing:border-box}
::placeholder{color:rgba(255,255,255,0.7);opacity:1}
.modal-box h4{color:#FFF0B3}
:root{--card-bg:rgba(2,40,40,0.32);--card-strong:rgba(2,40,40,0.45)}
[style*="font-size:10px"][style*="color:var(--accent)"],[style*="font-size:10px"][style*="color: var(--accent)"],[style*="font-size:10px"][style*="color:#FFD700"],[style*="font-size:10px"][style*="color: #FFD700"],[style*="font-size:10px"][style*="color:#ffd700"],[style*="font-size:10px"][style*="color: #ffd700"],[style*="font-size: 10px"][style*="color:var(--accent)"],[style*="font-size: 10px"][style*="color: var(--accent)"],[style*="font-size: 10px"][style*="color:#FFD700"],[style*="font-size: 10px"][style*="color: #FFD700"],[style*="font-size: 10px"][style*="color:#ffd700"],[style*="font-size: 10px"][style*="color: #ffd700"],[style*="font-size:11px"][style*="color:var(--accent)"],[style*="font-size:11px"][style*="color: var(--accent)"],[style*="font-size:11px"][style*="color:#FFD700"],[style*="font-size:11px"][style*="color: #FFD700"],[style*="font-size:11px"][style*="color:#ffd700"],[style*="font-size:11px"][style*="color: #ffd700"],[style*="font-size: 11px"][style*="color:var(--accent)"],[style*="font-size: 11px"][style*="color: var(--accent)"],[style*="font-size: 11px"][style*="color:#FFD700"],[style*="font-size: 11px"][style*="color: #FFD700"],[style*="font-size: 11px"][style*="color:#ffd700"],[style*="font-size: 11px"][style*="color: #ffd700"],[style*="font-size:12px"][style*="color:var(--accent)"],[style*="font-size:12px"][style*="color: var(--accent)"],[style*="font-size:12px"][style*="color:#FFD700"],[style*="font-size:12px"][style*="color: #FFD700"],[style*="font-size:12px"][style*="color:#ffd700"],[style*="font-size:12px"][style*="color: #ffd700"],[style*="font-size: 12px"][style*="color:var(--accent)"],[style*="font-size: 12px"][style*="color: var(--accent)"],[style*="font-size: 12px"][style*="color:#FFD700"],[style*="font-size: 12px"][style*="color: #FFD700"],[style*="font-size: 12px"][style*="color:#ffd700"],[style*="font-size: 12px"][style*="color: #ffd700"],[style*="font-size:13px"][style*="color:var(--accent)"],[style*="font-size:13px"][style*="color: var(--accent)"],[style*="font-size:13px"][style*="color:#FFD700"],[style*="font-size:13px"][style*="color: #FFD700"],[style*="font-size:13px"][style*="color:#ffd700"],[style*="font-size:13px"][style*="color: #ffd700"],[style*="font-size: 13px"][style*="color:var(--accent)"],[style*="font-size: 13px"][style*="color: var(--accent)"],[style*="font-size: 13px"][style*="color:#FFD700"],[style*="font-size: 13px"][style*="color: #FFD700"],[style*="font-size: 13px"][style*="color:#ffd700"],[style*="font-size: 13px"][style*="color: #ffd700"],[style*="font-size:14px"][style*="color:var(--accent)"],[style*="font-size:14px"][style*="color: var(--accent)"],[style*="font-size:14px"][style*="color:#FFD700"],[style*="font-size:14px"][style*="color: #FFD700"],[style*="font-size:14px"][style*="color:#ffd700"],[style*="font-size:14px"][style*="color: #ffd700"],[style*="font-size: 14px"][style*="color:var(--accent)"],[style*="font-size: 14px"][style*="color: var(--accent)"],[style*="font-size: 14px"][style*="color:#FFD700"],[style*="font-size: 14px"][style*="color: #FFD700"],[style*="font-size: 14px"][style*="color:#ffd700"],[style*="font-size: 14px"][style*="color: #ffd700"],.small[style*="var(--accent)"],.small[style*="#FFD700"]{color:#FFF0B3!important}
.punteggio-totale{color:#fff!important}
.container{background-color:rgba(2,40,40,0.32)}
.modal-box h3,.modal-legal-box h3{color:#FFD700}
.modal-box h4,.modal-legal-box h4{color:#FFF0B3}
.modal-box,.modal-legal-box{background:#075a5a;color:rgba(255,255,255,0.95);font-size:14px}
.footer,.site-footer{font-size:12px}
.footer a,.site-footer a{color:rgba(255,255,255,0.9);text-decoration:underline;text-underline-offset:2px}
.modal-box a,.modal-legal-box a{color:#FFF0B3}
.footer a:hover,.site-footer a:hover{color:#FFD700}
.btn-cookie-decline{color:rgba(255,255,255,0.9)}
.modal-overlay,.modal-legal-overlay{z-index:10001}

.footer-logo{width:min(420px,100%);height:auto}