/* Shared notices for public forms and account pages. */
:is(.nook-public, .nook-account) .alert {
    position: relative;
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #fafbfc;
    background-image: none;
    color: #3f494e;
    border: 1px solid #e2e6e8;
    border-left: 3px solid #cdd3d6;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
    animation: none;
}
:is(.nook-public, .nook-account) .alert-success { border-left-color: #c8919e; }
:is(.nook-public, .nook-account) .alert-warning { border-left-color: #b7863d; }
:is(.nook-public, .nook-account) .alert-danger { border-left-color: #b64d58; color: #87343d; }
:is(.nook-public, .nook-account) .alert :is(strong, .alert-heading) { font-weight: 600; }
:is(.nook-public, .nook-account) .alert p { margin: 0 0 6px; }
:is(.nook-public, .nook-account) .alert > :last-child,
:is(.nook-public, .nook-account) .alert p:last-child { margin-bottom: 0; }
:is(.nook-public, .nook-account) .alert a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
:is(.nook-public, .nook-account) .alert:has(.close) { padding-right: 52px; }
:is(.nook-public, .nook-account) .alert .close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    color: #626a70;
    background: transparent;
    border: 0;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
    opacity: 1;
    transform: none;
}
:is(.nook-public, .nook-account) .alert .close:hover { background: #eef0f2; color: #30383b; }
:is(.nook-public, .nook-account) .alert :is(a, button):focus-visible { outline: 2px solid #a53550; outline-offset: 3px; }
.nook-public .global-alerts-container .alert { margin-bottom: 0; }

/* Persistent campaign guidance is plain text, not an alert panel. */
.campaign-notice, .campaign-listing-context {
    margin: 0 0 20px;
    color: #626a70;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.campaign-notice strong { display: block; margin-bottom: 4px; color: #30383b; font-weight: 600; }
