/* Lightweight SweetAlert-style confirm dialog (no dependency). Used for destructive admin resets. */
.sc-overlay {
    position: fixed; inset: 0; z-index: 20000;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    background: rgba(15, 23, 42, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .2s ease;
}
.sc-overlay.sc-show { opacity: 1; }
.sc-card {
    background: #fff; border-radius: 18px; padding: 2rem 1.8rem 1.4rem;
    width: 100%; max-width: 400px; text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    transform: scale(.9) translateY(10px); transition: transform .22s cubic-bezier(.2, .9, .3, 1.2);
}
.sc-overlay.sc-show .sc-card { transform: none; }
.sc-icon {
    width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1.1rem;
    display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; line-height: 1;
    animation: sc-pop .35s cubic-bezier(.2, .9, .25, 1.3);
}
.sc-warning { background: #fef3c7; color: #d97706; border: 3px solid #fcd34d; }
.sc-danger { background: #fee2e2; color: #dc2626; border: 3px solid #fca5a5; }
.sc-question { background: #e0e7ff; color: #4f46e5; border: 3px solid #a5b4fc; }
.sc-success { background: #dcfce7; color: #16a34a; border: 3px solid #86efac; }
.sc-title { font-size: 1.35rem; font-weight: 800; color: #1e293b; margin-bottom: .45rem; }
.sc-text { color: #64748b; font-size: .96rem; margin-bottom: 1.5rem; line-height: 1.55; }
.sc-text strong { color: #dc2626; }
.sc-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.sc-btn {
    border: none; border-radius: 10px; padding: .62rem 1.35rem;
    font-weight: 700; font-size: .95rem; cursor: pointer; transition: filter .15s, transform .08s;
}
.sc-btn:active { transform: translateY(1px); }
.sc-cancel { background: #e2e8f0; color: #475569; }
.sc-cancel:hover { filter: brightness(.96); }
.sc-confirm-danger { background: #dc2626; color: #fff; box-shadow: 0 4px 14px rgba(220, 38, 38, .35); }
.sc-confirm-primary { background: #4f46e5; color: #fff; box-shadow: 0 4px 14px rgba(79, 70, 229, .35); }
.sc-btn:hover { filter: brightness(1.07); }

@keyframes sc-pop { from { transform: scale(0); } 70% { transform: scale(1.12); } to { transform: scale(1); } }
