/* Shared Toastr presentation; semantic colors stay independent of the brand palette. */
#toastr-container {
    --proc-toast-surface: var(--v2-surface, #fff); --proc-toast-ink: var(--v2-ink, #252a32);
    --proc-toast-line: color-mix(in srgb, var(--v2-accent-light, #2196f3) 65%, var(--v2-line, #d8dde3));
    position: fixed; z-index: 2147483647 !important; inset: auto !important;
    left: var(--proc-toast-x, 50vw) !important; bottom: var(--proc-toast-bottom, 16px) !important;
    transform: translateX(-50%); margin: 0 !important;
    width: min(400px, var(--proc-toast-width, calc(100vw - 24px))) !important;
    max-height: var(--proc-toast-max-height, calc(100dvh - 32px));
    display: flex; flex-direction: column; gap: 8px; padding: 0;
    overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; pointer-events: none;
}
#toastr-container > .toastr {
    --proc-toast-color: #357b18; --proc-toast-disc: #e4f2dc;
    --proc-toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: relative; flex: 0 0 auto; width: 100% !important; min-height: 72px;
    margin: 0 !important; padding: 17px 48px 17px 76px !important;
    border: 1px solid var(--proc-toast-line) !important; border-radius: 14px !important;
    background: var(--proc-toast-surface) !important;
    color: var(--proc-toast-ink) !important; opacity: 1 !important;
    box-shadow: 0 8px 28px #00000024 !important; backdrop-filter: blur(12px);
    transition: background-color .2s, color .2s, border-color .2s;
    font-family: inherit; text-align: left; cursor: default;
    display: flex; flex-direction: column; justify-content: center; overflow: hidden; pointer-events: auto;
}
#toastr-container > .toastr:hover { box-shadow: 0 8px 28px #00000030 !important; }
#toastr-container > .toastr::before, #toastr-container > .toastr::after { content: ""; position: absolute; pointer-events: none; top: 50%; transform: translateY(-50%); }
#toastr-container > .toastr::before { left: 12px; width: 48px; height: 48px; border-radius: 50%; background: var(--proc-toast-disc); }
#toastr-container > .toastr::after { left: 24px; width: 24px; height: 24px; background: var(--proc-toast-color); mask: var(--proc-toast-icon) center / contain no-repeat; }
#toastr-container > .toastr-error { --proc-toast-color: #b52c33; --proc-toast-disc: #fbe3e4; --proc-toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 7 10 10M17 7 7 17' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
#toastr-container > .toastr-warning { --proc-toast-color: #8a5600; --proc-toast-disc: #fff0cb; --proc-toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v9' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='19' r='1.5'/%3E%3C/svg%3E"); }
/* Existing information messages keep their meaning instead of becoming warnings. */
#toastr-container > .toastr-info { --proc-toast-color: #1472af; --proc-toast-disc: #dff1fc; --proc-toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 10v9' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='5' r='1.5'/%3E%3C/svg%3E"); }
body[data-pro-mode="dark"] #toastr-container > .toastr-success { --proc-toast-color: #94e177; --proc-toast-disc: #24481b; }
body[data-pro-mode="dark"] #toastr-container > .toastr-error { --proc-toast-color: #ff9299; --proc-toast-disc: #54272d; }
body[data-pro-mode="dark"] #toastr-container > .toastr-warning { --proc-toast-color: #ffd36d; --proc-toast-disc: #51401d; }
body[data-pro-mode="dark"] #toastr-container > .toastr-info { --proc-toast-color: #80cfff; --proc-toast-disc: #183f57; }
#toastr-container .toastr-message { font-size: 14px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
#toastr-container .toastr-title { font-size: 14px; line-height: 1.4; font-weight: 600; margin-bottom: 3px; overflow-wrap: anywhere; }
#toastr-container .toastr-title + .toastr-message { font-weight: 400; }
#toastr-container .toastr-message a { color: inherit; text-decoration: underline; }
#toastr-container .toastr-close-button {
    /* The glyph and red hover come from the existing shared pro-close-button.
       Only the toast anchor is local; no second X asset or hover design. */
    --pro-close-size: 34px; --pro-close-icon-size: 20px;
    position: absolute !important; top: 50% !important; right: 8px !important; left: auto !important;
    transform: translateY(-50%) !important; float: none;
    width: 34px !important; height: 34px !important; min-width: 34px !important; max-width: 34px !important;
    min-height: 34px !important; max-height: 34px !important; padding: 0 !important;
    border-radius: 8px !important; box-sizing: border-box;
}
#toastr-container .toastr-progress { height: 2px; background: var(--proc-toast-color); opacity: .45; }
@media (max-width: 480px) {
    #toastr-container > .toastr { min-height: 64px; padding: 14px 42px 14px 64px !important; border-radius: 12px !important; }
    #toastr-container > .toastr::before { width: 40px; height: 40px; }
    #toastr-container > .toastr::after { left: 22px; width: 20px; height: 20px; }
}
