/* Knzaa Credits Shortcodes */

/* بطاقة الرصيد */
.knzaa-balance-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px 24px; max-width: 320px;
    border-right: 4px solid #25D366;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}
.knzaa-balance-card.empty { border-right-color: #ef4444; }
.knzaa-balance-icon { font-size: 36px; line-height: 1; }
.knzaa-balance-label { font-size: 12px; color: #888; margin-bottom: 4px; }
.knzaa-balance-value { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.knzaa-balance-expires { font-size: 12px; color: #aaa; margin-top: 4px; }

/* بطاقات الباقات */
.knzaa-plans-wrap { display: flex; flex-direction: column; gap: 12px; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.knzaa-plan-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.07); padding: 18px 20px; }
.knzaa-plan-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.knzaa-plan-name { font-weight: 700; font-size: 16px; color: #1a1a1a; }
.knzaa-plan-expires { font-size: 13px; color: #888; }
.knzaa-plan-unlimited { font-size: 20px; font-weight: 700; color: #3b82f6; text-align: center; padding: 8px 0; }
.knzaa-plan-stats { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.knzaa-plan-remaining { font-weight: 700; color: #1a1a1a; }
.knzaa-plan-total { color: #999; }
.knzaa-plan-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.knzaa-plan-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s; }
.knzaa-plan-bar-fill.high { background: #25D366; }
.knzaa-plan-bar-fill.mid { background: #f59e0b; }
.knzaa-plan-bar-fill.low { background: #ef4444; }

.knzaa-plan-empty { color: #888; font-size: 14px; padding: 20px 0; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.knzaa-plan-empty a { color: #25D366; }

/* الباقات المنتهية */
.knzaa-plans-history { opacity: 1; }
.knzaa-plan-card.expired { border-right: 4px solid #e5e7eb; opacity: 0.75; }
.knzaa-plan-dates { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.knzaa-plan-started { font-size: 12px; color: #aaa; }
.knzaa-plan-arrow { color: #ccc; font-size: 12px; }
.knzaa-plan-expires.ended { color: #ef4444 !important; }
.knzaa-plan-used { font-size: 13px; color: #aaa; }
.knzaa-history-title { font-size: 15px; font-weight: 700; color: #444; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }

/* ترقيم الصفحات */
.knzaa-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.knzaa-page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: #f5f5f5; color: #444; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.knzaa-page-btn:hover { background: #e8e8e8; color: #444; }
.knzaa-page-btn.active { background: #25D366; color: #fff; }
