dialog.member-alert-dialog {
    box-sizing: border-box;
    border: 1px solid #46413c;
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(ellipse at top left, #433124, transparent 65%), #1f2328;
}

.member-alert-dialog::before {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ffdfbf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b3902' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 9a6 6 0 0 0-12 0c0 5-2 6-2 8h16c0-2-2-3-2-8ZM10 20a2.3 2.3 0 0 0 4 0M3 7l1-2m16 0 1 2'/%3E%3C/svg%3E") center / 25px no-repeat;
}

dialog.member-alert-dialog h2 {
    display: block;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 750;
    line-height: 1.25;
    margin: 0;
}
dialog.member-alert-dialog p {
    margin: 5px 0 0;
    color: #e1ddd9;
    font-size: .9375rem;
    line-height: 1.5;
}

.member-alert-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-alert-choices button {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #707478;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.member-alert-choices .member-alert-primary,
.member-alert-choices .member-alert-primary[hidden] + button {
    border-color: #ffa950;
    background: #fe8619;
    color: #211911;
    box-shadow: inset 0 1px 0 #ffffff52;
}
.member-alert-choices button:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}
@media (hover: hover) {
    .member-alert-choices button:hover { filter: brightness(1.12); }
}
.member-alert-choices button:disabled { opacity: .65; cursor: wait; }
.member-alert-choices [hidden] { display: none !important; }

dialog.member-alert-dialog {
    width: min(25rem, calc(100% - 32px));
    max-width: none;
    padding: 24px;
    box-shadow: 0 20px 60px #10131855;
}
.member-alert-dialog::before { margin-bottom: 16px; }
dialog.member-alert-dialog h2 { font-size: 1.4rem; }
.member-alert-choices { margin-top: 20px; }
.member-alert-choices .member-alert-primary { flex: 1; }

.member-notification-switch:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #30363d;
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
}
.member-notification-track {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    width: 36px;
    height: 22px;
    padding: 2px;
    border: 1px solid #697279;
    border-radius: 20px;
    background: #697279;
}
.member-notification-track::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px #0004;
}
.member-notification-switch[aria-checked="true"] .member-notification-track {
    justify-content: flex-end;
    background: #fe8619;
    border-color: #a44d00;
}
.member-notification-switch:focus-visible { outline: 2px solid #985000; outline-offset: 2px; border-radius: 6px; }
.member-notification-switch[aria-disabled="true"] { opacity: .65; cursor: wait; }

.member-phone-notification-bar { display: flex; justify-content: flex-end; }
