.sa-attesa[hidden] { display: none !important; }
.sa-attesa {
    position: fixed; inset: 0; z-index: 2147483000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(15, 23, 42, .55);
    font: 16px/1.6 "Segoe UI", Arial, sans-serif; color: #233047;
}
.sa-attesa, .sa-attesa * { box-sizing: border-box; }
.sa-attesa__card {
    position: relative; width: 100%; max-width: 560px;
    max-height: calc(100vh - 48px); overflow: auto;
    padding: 36px; border-radius: 20px; background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
    border-top: 5px solid #24788a; text-align: left;
}
.sa-attesa__icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 14px; background: #e9f4f6; color: #19677a;
    font-size: 26px; font-weight: 600;
}
.sa-attesa__brand { margin: -36px -36px 28px; padding: 18px 24px; min-height: 82px; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg,#27334f,#354a70); border-radius: 15px 15px 0 0; }
.sa-attesa__brand-name { color: #fff; font-size: 27px; font-weight: 700; letter-spacing: .025em; line-height: 1; }
.sa-attesa__brand-name small { margin-left: 5px; color: #9fb9f4; font-size: .66em; font-weight: 600; letter-spacing: .08em; }
.sa-attesa--blocco .sa-attesa__card { border-top-color: #566fe8; }
.sa-attesa--blocco .sa-attesa__brand { margin-bottom: 24px; }
.sa-attesa--blocco .sa-attesa__close { display: none; }
#sa-attesa-blocco-info { margin-top: 4px; color: #78849a; font-size: 14px; text-align: center; }
.sa-attesa .sa-attesa__title { margin: 0 36px 16px 0; font-size: 25px; font-weight: 600; color: #17263c; }
.sa-attesa__text { white-space: pre-wrap; overflow-wrap: anywhere; }
.sa-attesa__footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e9edf2; }
.sa-attesa button { cursor: pointer; font-family: inherit; }
.sa-attesa .sa-attesa__close {
    position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
    padding: 0; border: 0; border-radius: 50%; background: #f0f3f6;
    color: #526174; font-size: 26px; line-height: 36px;
}
.sa-attesa .sa-attesa__confirm {
    padding: 11px 24px; border: 0; border-radius: 9px;
    background: #19677a; color: white; font-size: 15px; font-weight: 600;
}
.sa-attesa .sa-attesa__confirm:hover { background: #125365; }
.sa-attesa button:focus-visible { outline: 3px solid #68b6cb; outline-offset: 3px; }
.sa-attesa button:disabled { opacity: .6; cursor: wait; }
.sa-attesa__error { margin-top: 12px; color: #ae2e2e; font-size: 14px; }
html.sa-attesa-aperta, html.sa-attesa-aperta body { overflow: hidden; }
@media (max-width: 480px) {
    .sa-attesa { padding: 16px; }
    .sa-attesa__card { padding: 28px 24px; max-height: calc(100vh - 32px); }
    .sa-attesa__brand { margin: -28px -24px 24px; }
}
