/* 总后台 AJAX 提示：成功 toast / 失败模态框 */
#adminAjaxToast {
    position: fixed; z-index: 100000; left: 50%; top: 1.25rem; transform: translateX(-50%);
    max-width: min(420px, 92vw); padding: 0.65rem 1.1rem; border-radius: 8px;
    background: #1e293b; color: #f8fafc; font-size: 0.92rem; box-shadow: 0 10px 40px rgba(0,0,0,.2);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
#adminAjaxToast.show { opacity: 1; pointer-events: auto; }

#adminAjaxModalOverlay {
    display: none; position: fixed; z-index: 99999; left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.55); align-items: center; justify-content: center; padding: 1rem;
}
#adminAjaxModalOverlay.show { display: flex; }

#adminAjaxModalBox {
    background: #fff; border-radius: 12px; padding: 1.35rem 1.5rem; max-width: 400px; width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
#adminAjaxModalText { margin: 0 0 1.15rem; font-size: 0.95rem; line-height: 1.55; color: #1f2937; word-break: break-word; }
#adminAjaxModalActions { display: flex; gap: 0.65rem; justify-content: flex-end; }
#adminAjaxModalActions button {
    padding: 0.45rem 1rem; border-radius: 8px; font-size: 0.9rem; cursor: pointer; border: 1px solid #d1d5db;
    background: #fff; color: #374151;
}
#adminAjaxModalActions .admin-ajax-ok { background: #2563eb; border-color: #2563eb; color: #fff; }
#adminAjaxModalActions .admin-ajax-ok:hover { background: #1d4ed8; }
#adminAjaxModalActions .admin-ajax-cancel:hover { background: #f9fafb; }
