        /* Alert modal — kept inline so it's always available even if
           modern.css fails to load. Colours pulled to match the brand. */
        .custom-alert-overlay {
            display: none; position: fixed; inset: 0;
            background-color: rgba(20, 23, 27, 0.55); z-index: 99999;
            backdrop-filter: blur(3px);
        }
        .custom-alert-overlay.show { display: block; }
        .custom-alert-box {
            position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            background: #fff; max-width: 420px; width: 92%;
            animation: customAlertSlideIn 0.22s cubic-bezier(.16,1,.3,1);
        }
        @keyframes customAlertSlideIn {
            from { transform: translate(-50%, -50%) scale(0.92); opacity: 0; }
            to   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
        }
        .custom-alert-header {
            color: #fff; padding: 16px 22px;
            display: flex; align-items: center; gap: 10px;
        }
        .custom-alert-icon { font-size: 22px; }
        .custom-alert-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
        .custom-alert-body  { padding: 22px; text-align: center; }
        .custom-alert-body p { margin: 0; font-size: 14.5px; color: #2a2f36; line-height: 1.55; }
        .custom-alert-footer { padding: 16px 22px; text-align: center; border-top: 1px solid #eee; }
        .custom-alert-footer .btn {
            min-width: 120px; padding: 10px 24px;
            color: #fff; border: none;
            font-size: 13px; font-weight: 700;
            letter-spacing: .4px; text-transform: uppercase;
            cursor: pointer;
        }
    
