/* Campanella delle notifiche e pannello "Notifiche" (stessi colori e forme del resto dell'app) */
.bell{position:relative;flex:0 0 auto;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ffffff17;color:#fff}
.bell[hidden]{display:none}
.bell:hover{background:#ffffff26}
.bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bell-badge{position:absolute;top:-5px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;font-size:10px;font-weight:900;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--ink)}
.bell.ring svg{animation:bell-ring .9s ease;transform-origin:50% 10%}
@keyframes bell-ring{0%,100%{transform:rotate(0)}20%{transform:rotate(14deg)}40%{transform:rotate(-12deg)}60%{transform:rotate(8deg)}80%{transform:rotate(-4deg)}}
.notif-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.notif-head p{margin:0 0 13px;color:var(--muted);font-size:13px}
.notif-list{display:grid;gap:8px;max-height:44vh;overflow:auto;padding:1px}
.notif{display:flex;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.notif.unread{background:#f1faf6;border-color:#bfe6d5}
.notif i{flex:0 0 auto;width:9px;height:9px;margin-top:5px;border-radius:50%;background:var(--green)}
.notif.edited i{background:#d38721}
.notif.cancelled i{background:var(--red)}
.notif div{min-width:0}
.notif b{display:block;font-size:13px}
.notif span{display:block;margin-top:2px;color:#385461;font-size:12px}
.notif small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.notif-whatsapp{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.notif-whatsapp>b{font-size:14px}
.notif-whatsapp .form-actions{margin-top:12px}
label.check{display:flex;align-items:center;gap:8px;margin-top:10px;font-weight:700}
label.check input{width:auto;margin:0}
.wa-on{color:#0f654c;font-weight:800}

/* Account: cerchio con le iniziali, menu a tendina e impostazioni */
.account{position:relative;flex:0 0 auto}
.account[hidden]{display:none}
.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#79e2bd;color:var(--ink);font-size:13px;font-weight:900;letter-spacing:.3px;box-shadow:0 0 0 2px #ffffff26}
button.avatar:hover,button.avatar[aria-expanded="true"]{box-shadow:0 0 0 3px #79e2bd73}
.avatar.big{width:44px;height:44px;flex:0 0 auto;font-size:15px;box-shadow:none}
.account-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:30;width:min(290px,calc(100vw - 24px));padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 14px 40px #001b2840;font-size:13px}
.account-head{display:flex;align-items:center;gap:11px;margin-bottom:6px;padding:8px 8px 12px;border-bottom:1px solid var(--line)}
.account-head div{min-width:0}
.account-head b{display:block;font-size:14px}
.account-head small{display:block;margin-top:2px;overflow:hidden;color:var(--muted);font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.account-item{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:transparent;color:var(--ink);font-size:13px;font-weight:800;text-align:left}
.account-item:hover{background:#f1f7f6}
.account-item svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.account-item.danger-item{color:#a23e36}
.account-item.danger-item:hover{background:#f8e4e1}
.account-sep{height:1px;margin:6px 4px;background:var(--line)}
.account-card{display:flex;align-items:flex-start;gap:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fbfb}
.account-data{flex:1;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
.account-data div{min-width:0}
.account-data small{display:block;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.35px;text-transform:uppercase}
.account-data b{display:block;overflow:hidden;font-size:13px;text-overflow:ellipsis}
.account-section{margin-top:14px;padding-top:4px;border-top:1px solid var(--line)}
.account-section>b{display:block;margin-top:10px}
.account-section .form-actions{margin-top:12px}
.inline-row{display:flex;gap:8px}
.inline-row input{flex:1;min-width:0}
.inline-row .primary{flex:0 0 auto}
.form-grid.three{grid-template-columns:1fr}
@media(min-width:720px){.form-grid.three{grid-template-columns:repeat(3,1fr);column-gap:10px}}
.account-section>b{font-size:14px}
.notif-wa{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.link-button{padding:0;background:none;color:var(--green);font-size:inherit;font-weight:800;text-decoration:underline}
.ok-message{color:#0f654c;font-weight:800}
