/* Bootstrap-style outcomes without loading or overriding Bootstrap components. */
.ppg-alert,.form-feedback:not(:empty),.recaptcha-feedback:not(:empty),.sub-feedback:not(:empty),.growth-feedback:not(:empty),.module-alert,.module-success,.auth-notice,.reset-warning,.contact-success,.registration-error:not(:empty),.workspace-tour-error:not(:empty),#session-feedback:not(:empty),#approval-feedback:not(:empty){display:block;box-sizing:border-box;width:100%;padding:12px 15px;margin:12px 0;border:1px solid #f1aeb5;border-radius:8px;background:#f8d7da;color:#58151c;font:14px/1.5 sans-serif;overflow-wrap:anywhere;white-space:pre-line;text-align:left}
.ppg-alert.ppg-alert-success,.module-success,.contact-success,[data-alert-type=success]{background:#d1e7dd;color:#0a3622;border-color:#a3cfbb}.ppg-alert.ppg-alert-danger,[data-alert-type=danger]{background:#f8d7da;color:#58151c;border-color:#f1aeb5}.ppg-alert.ppg-alert-warning,.reset-warning,[data-alert-type=warning]{background:#fff3cd;color:#664d03;border-color:#ffe69c}.ppg-alert.ppg-alert-info,.auth-notice,[data-alert-type=info]{background:#cff4fc;color:#055160;border-color:#9eeaf9}
.ppg-alert:empty,.form-feedback:empty,.recaptcha-feedback:empty,.sub-feedback:empty,.growth-feedback:empty,.registration-error:empty,#session-feedback:empty,#approval-feedback:empty{display:none}.ppg-alert[hidden],.registration-error[hidden]{display:none!important}.ppg-alert a{color:inherit;font-weight:600;text-decoration:underline}.ppg-alert p:first-child{margin-top:0}.ppg-alert p:last-child{margin-bottom:0}.registration-error.ppg-alert{font-size:12px;padding:8px 10px;margin:8px 0 0}.form-grid>.ppg-alert,.module-grid>.ppg-alert{grid-column:1/-1}#toast.ppg-alert{width:max-content;max-width:min(440px,calc(100vw - 32px));box-shadow:0 8px 30px #0002;z-index:1200}.qr-action-status.ppg-alert{margin:0;font-size:12px}
body[data-theme=dark] .ppg-alert-success,body[data-theme=dark] .module-success,body[data-theme=dark] .contact-success{background:#143c2e;color:#b9efcf;border-color:#397b5b}body[data-theme=dark] .ppg-alert-danger,body[data-theme=dark] .module-alert{background:#482129;color:#ffd4d9;border-color:#9c4b5a}body[data-theme=dark] .ppg-alert-warning,body[data-theme=dark] .reset-warning{background:#41361c;color:#ffe6a3;border-color:#8c7739}body[data-theme=dark] .ppg-alert-info,body[data-theme=dark] .auth-notice{background:#183845;color:#b6edf9;border-color:#3e7889}body[data-theme=dark] .ppg-alert-danger[data-alert-type=danger]{background:#482129;color:#ffd4d9;border-color:#9c4b5a}
@media(max-width:600px){.ppg-alert,.form-feedback:not(:empty),.module-alert,.module-success{padding:10px 12px;font-size:13px}#toast.ppg-alert{width:calc(100vw - 32px);max-width:none}}

/* Explicit server-rendered outcomes also work before JavaScript runs. */
.auth-notice[data-alert-type=success]{background:#d1e7dd;color:#0a3622;border-color:#a3cfbb}.reset-warning[role=alert]{background:#f8d7da;color:#58151c;border-color:#f1aeb5}
body[data-theme=dark] .auth-notice[data-alert-type=success]{background:#143c2e;color:#b9efcf;border-color:#397b5b}body[data-theme=dark] .reset-warning[role=alert]{background:#482129;color:#ffd4d9;border-color:#9c4b5a}
body[data-theme=dark] .ppg-alert[data-alert-type=success]{background:#143c2e;color:#b9efcf;border-color:#397b5b}body[data-theme=dark] .ppg-alert[data-alert-type=danger]{background:#482129;color:#ffd4d9;border-color:#9c4b5a}body[data-theme=dark] .ppg-alert[data-alert-type=warning]{background:#41361c;color:#ffe6a3;border-color:#8c7739}body[data-theme=dark] .ppg-alert[data-alert-type=info]{background:#183845;color:#b6edf9;border-color:#3e7889}
