.header-actions button.referral-trigger{background:#f0fdf4;border-color:#bbf7d0;color:#15803d}
.referral-modal .modal-body{background:#f8fafc}
.referral-share{padding:20px;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(120deg,#eff6ff,#fff 75%);display:grid;grid-template-columns:48px 1fr;gap:8px 14px}
.referral-share-icon{height:48px;width:48px;border-radius:12px;background:#dbeafe;color:#2563eb;display:grid;place-items:center;grid-row:1/2}
.referral-share-icon svg{width:25px;height:25px}
.referral-share h3{margin:1px 0 8px;font-size:18px;color:#0f172a}
.referral-share p{margin:0;font-size:13px;color:#475569;line-height:1.8}
.referral-share>label,.referral-link-row,.referral-share>small{grid-column:1/-1}
.referral-share>label{font-size:12px;font-weight:700;color:#334155;margin-top:10px}
.referral-link-row{display:flex;gap:8px;min-width:0}
.referral-link-row input{flex:1;min-width:0;font-size:12px;background:#fff;height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;color:#334155;box-sizing:border-box}
.referral-link-row .btn{flex:none;white-space:nowrap}
.referral-share>small{color:#64748b;line-height:1.7;font-size:12px}
.referral-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.referral-summary article{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;display:grid;gap:9px}
.referral-summary article>span{font-size:12px;color:#64748b}
.referral-summary strong{font-size:23px;color:#0f172a;overflow-wrap:anywhere}
.referral-summary strong small{font-size:13px;font-weight:500}
.referral-amount{color:#16a34a!important}
.referral-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px}
.referral-tabs{display:flex;gap:4px;padding:3px;border:1px solid #e2e8f0;background:#fff;border-radius:7px}
.referral-tabs button{border:0;background:transparent;border-radius:4px;padding:8px 14px;font-size:13px;color:#64748b}
.referral-tabs button.active{color:#1d4ed8;background:#eff6ff;font-weight:700}
.referral-content{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;min-height:135px}
.referral-content .data-table{min-width:650px}
.referral-member{display:grid;gap:4px}
.referral-member small{color:#94a3b8;font-size:11px}
.referral-empty{display:grid;justify-items:center;gap:6px;min-height:145px;align-content:center;padding:22px;text-align:center;color:#94a3b8}
.referral-empty svg{width:28px;height:28px}
.referral-empty p{font-size:13px;line-height:1.8;margin:4px 0}
.referral-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;margin-top:12px}
.referral-pagination>div{display:flex;gap:6px}
@media(max-width:640px){.referral-share{padding:14px;grid-template-columns:36px 1fr;gap:8px 10px}.referral-share-icon{width:36px;height:36px;border-radius:8px}.referral-share h3{font-size:16px;line-height:1.6}.referral-summary{gap:6px}.referral-summary article{padding:12px 8px}.referral-summary strong{font-size:18px}.referral-summary article>span{font-size:11px;line-height:1.6}.referral-tabs button{padding:8px 10px}.referral-pagination{align-items:flex-start}.header-actions{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:400px){.header-actions button svg{display:none}.header-actions button{font-size:11px;padding:0 2px}}
