/* Branded toast notifications — replaces static Bootstrap .alert banners everywhere. */
.ac-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 24px));
}
.ac-toast {
    background: #fff;
    color: var(--ink, #2A241C);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(30, 27, 22, .18);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 4px solid var(--primary, #8B5E3C);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .25s ease, transform .25s ease;
}
.ac-toast.show { opacity: 1; transform: translateX(0); }
.ac-toast.success { border-left-color: #2E7D4F; }
.ac-toast.error { border-left-color: #B3261E; }
.ac-toast.warning { border-left-color: var(--accent, #C9A227); }
.ac-toast .ac-toast-icon { font-size: 20px; line-height: 1; margin-top: 1px; }
.ac-toast.success .ac-toast-icon { color: #2E7D4F; }
.ac-toast.error .ac-toast-icon { color: #B3261E; }
.ac-toast.warning .ac-toast-icon { color: var(--accent, #C9A227); }
.ac-toast.info .ac-toast-icon { color: var(--primary, #8B5E3C); }
.ac-toast .ac-toast-msg { flex: 1; font-size: 14px; line-height: 1.4; }
.ac-toast .ac-toast-close { background: none; border: none; color: #9CA3AF; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
@media (prefers-reduced-motion: reduce) {
    .ac-toast { transition: none; }
}

/* Branded confirm dialog (replaces window.confirm()) */
.ac-confirm-backdrop { position: fixed; inset: 0; background: rgba(30,27,22,.55); z-index: 1095; display: none; align-items: center; justify-content: center; padding: 16px; }
.ac-confirm-backdrop.show { display: flex; }
.ac-confirm-box { background: #fff; border-radius: 14px; max-width: 380px; width: 100%; padding: 24px; box-shadow: 0 24px 64px rgba(30,27,22,.28); text-align: center; }
.ac-confirm-box .ac-confirm-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(179,38,30,.1); color: #B3261E; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.ac-confirm-box p { color: var(--muted, #78716C); font-size: 14px; margin-bottom: 20px; }
.ac-confirm-box .ac-confirm-actions { display: flex; gap: 10px; }
.ac-confirm-box .ac-confirm-actions .btn { flex: 1; }
