/* ============================================
   app-extra.css - استایل‌های تکمیلی برای JS
   ============================================ */

/* Toast */
.app-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    max-width: 90vw;
    text-align: center;
}
.app-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.app-toast-success { background: #2e7d32; }
.app-toast-error   { background: #c62828; }
.app-toast-info    { background: #1565c0; }

/* حالت بارگذاری و خطا */
.app-loading,
.app-error,
.app-empty {
    text-align: center;
    padding: 10px 10px;
    color: #777;
    font-size: 12px;
    grid-column: 1 / -1;
}
.app-error { color: #c62828; }

/* دکمه غیرفعال */
.wd-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}