:root{font-family:Arial,Helvetica,sans-serif;color:#1e293b;background:#0b1735}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:linear-gradient(#071329a6,#071329a6),url('page-background.png') center/cover fixed no-repeat}
main{max-width:1180px;margin:2rem auto;background:#fffffff2;padding:2rem;border-radius:14px;box-shadow:0 12px 45px #02061780;backdrop-filter:blur(3px)}
main>header{border-bottom:3px solid #2563eb;margin-bottom:2rem}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
label{display:block;font-weight:600;margin-bottom:1rem}input,textarea,select{box-sizing:border-box;width:100%;padding:.78rem;margin-top:.35rem;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;transition:border-color .2s,box-shadow .2s}
input:focus,textarea:focus,select:focus{outline:0;border-color:#1461c9;box-shadow:0 0 0 3px #1461c926}fieldset{margin:1.5rem 0;border:1px solid #cbd5e1;border-radius:8px}.check input,fieldset input{width:auto}
.minor-box{padding:1rem;margin:1rem 0;background:#fff7ed;border:1px solid #fdba74;border-radius:9px}.hidden{display:none!important}button,.button-link{display:inline-block;background:#2563eb;color:#fff;border:0;border-radius:7px;padding:.7rem 1rem;cursor:pointer;text-decoration:none}.secondary{background:#64748b}.danger{background:#b91c1c}
.alert,.success{padding:1rem;border-radius:7px;margin:1rem 0}.alert{background:#fee2e2;color:#991b1b}.success{background:#dcfce7;color:#166534}.top{display:flex;justify-content:space-between;align-items:center}.narrow{max-width:480px}.search{display:flex;gap:.5rem;margin:1rem 0}.search input{margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:.7rem;border-bottom:1px solid #e2e8f0;vertical-align:top;text-align:left}.actions{display:grid;gap:.35rem;min-width:130px;margin-top:.4rem}
.card-actions{display:flex;align-items:center;gap:.4rem;margin-top:.4rem;white-space:nowrap}.inline-form{display:inline;margin:0}.email-card{background:#15803d}

/* Layout pubblico della sola pagina index.php */
body:has(.site-header){background:#f7f8fa;color:#173b68}body:has(.site-header) main{max-width:none;margin:0;padding:0;background:transparent;border-radius:0;box-shadow:none;backdrop-filter:none}body:has(.site-header) main>header{display:none}
.site-topbar{height:61px;background:#303030;border-top:1px solid #a9c1cc;color:#aaa;font-size:13px}.site-topbar-inner{max-width:1180px;height:100%;margin:auto;display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:0 16px}.socials{letter-spacing:2px}
.site-header{height:150px;background:#fff;display:flex;align-items:center;padding:0 max(15px,calc((100vw - 1180px)/2));position:relative;z-index:10;border:0}.site-logo{position:absolute;left:max(70px,calc((100vw - 1080px)/2));top:-27px;width:195px;height:195px;border-radius:50%;overflow:hidden;background:#fff;z-index:2}.site-logo img{display:block;width:100%;height:100%;object-fit:cover}
.site-nav{margin-left:auto;display:flex;align-items:center;gap:34px}.site-nav a{color:#252525;text-decoration:none;font-size:17px;font-weight:400;white-space:nowrap;transition:color .18s}.site-nav a:hover,.site-nav a.active{color:#0b4dcc}
.menu-toggle{width:40px;height:40px;padding:8px 7px;background:transparent;border:0;display:none;flex-direction:column;justify-content:center;gap:5px}.menu-toggle span{display:block;width:25px;height:2px;background:#161616}
.page-title{height:84px;background:linear-gradient(105deg,#075ec7 0%,#063da3 100%);color:#fff;display:flex;align-items:center}.page-title>div{width:min(1180px,calc(100% - 30px));margin:auto;font-size:27px;font-weight:700}
body:has(.site-header) .alert{max-width:1120px;margin:28px auto 0}#request-form{max-width:1120px;margin:0 auto;padding:50px 0 70px}
.membership-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch;margin-bottom:30px}
.choice{position:relative;display:block;margin:0;padding:1.3rem 1.45rem;border:1px solid #0757bb;border-bottom:5px solid #063a82;border-radius:13px;background:linear-gradient(135deg,#176fd1 0%,#073f99 100%);box-shadow:0 7px 16px #063a8233;color:#fff;font-size:1.2rem;font-weight:800;line-height:1.25;cursor:pointer;transition:transform .15s,box-shadow .15s,filter .2s}.choice-support{background:linear-gradient(135deg,#125eb9 0%,#052f75 100%)}
.choice:hover{transform:translateY(-2px);box-shadow:0 10px 20px #063a8240;filter:brightness(1.06)}.choice:has(input:checked){transform:translateY(4px);background:linear-gradient(135deg,#2b86e8 0%,#0752b8 100%);border-color:#0a62ca;border-bottom-width:2px;box-shadow:0 3px 9px #063a8238}.choice input[type="checkbox"]{width:1.55rem;height:1.55rem;margin:0 .72rem 0 0;vertical-align:-.3rem;accent-color:#fff;cursor:pointer}.choice small{display:block;margin:.65rem 0 0 2.35rem;color:#eaf4ff;font-size:.95rem;font-weight:500;line-height:1.45}
#request-form>.grid,#request-form>.minor-box,#request-form>fieldset,#request-form>.check,#request-form>.form-actions{margin-left:18px;margin-right:18px}#request-form fieldset{padding:16px 18px;background:#fff}#request-form legend{font-weight:700;color:#123f76}#request-form .check a{color:#0757bb}
.form-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:145px;padding:12px 25px;border:1px solid #08489e;border-radius:8px;background:linear-gradient(135deg,#1975d4,#0743a0);box-shadow:0 5px 0 #052e70,0 8px 15px #062e7040;color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s,filter .15s}.action-button:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 7px 0 #052e70,0 11px 18px #062e7040}.action-button:active{transform:translateY(4px);box-shadow:0 1px 0 #052e70,0 4px 9px #062e7038}.action-home{background:linear-gradient(135deg,#144f97,#082e67)}.action-home span{font-size:20px}
@media(max-width:1000px){.site-logo{left:70px;width:170px;height:170px;top:-12px}.site-nav{gap:18px}.site-nav a{font-size:15px}}
@media(max-width:780px){body{background-attachment:scroll}.site-topbar{height:42px}.site-topbar-inner{font-size:11px}.socials{display:none}.site-header{height:112px;padding:0 16px}.site-logo{left:65px;top:8px;width:96px;height:96px}.menu-toggle{display:flex;margin-left:0}.site-nav{display:none;position:absolute;left:0;right:0;top:112px;margin:0;padding:16px;background:#fff;box-shadow:0 9px 16px #0f172a24;flex-direction:column;align-items:flex-start;gap:0}.site-nav.open{display:flex}.site-nav a{width:100%;padding:12px 8px;border-bottom:1px solid #e5e7eb}.page-title{height:70px}.page-title>div{font-size:23px}#request-form{padding:30px 15px 45px}.membership-options{grid-template-columns:1fr;gap:14px}.grid{grid-template-columns:1fr}#request-form>.grid,#request-form>.minor-box,#request-form>fieldset,#request-form>.check,#request-form>.form-actions{margin-left:0;margin-right:0}.choice{padding:1.1rem;font-size:1.08rem}.choice small{font-size:.89rem}.form-actions{align-items:stretch}.action-button{min-width:0}main:not(:has(.site-header)){margin:0;padding:1rem;border-radius:0}.top{align-items:flex-start;gap:1rem}.search{display:block}.search button{margin-top:.5rem}}
@media(max-width:480px){.form-actions{flex-direction:column}.action-button{width:100%}.site-logo{left:58px}}
