/* Evo Referrals: partner dashboard (My Account) and admin screens. Matches the /partners/ landing page. */
.evo-ref, .evo-ref-admin {
	--er-text: #1d1d1f; --er-muted: #6e6e73; --er-faint: #a1a1a6; --er-line: rgba(0,0,0,.08);
	--er-green: #1a8f45; --er-green-bg: #e9f7ef; --er-amber: #b25e00; --er-amber-bg: #fff4e5; --er-blue: #0071e3;
	--er-ease: cubic-bezier(.23,1,.32,1);
}
.evo-ref { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; color: var(--er-text); -webkit-font-smoothing: antialiased; }
.evo-ref * { box-sizing: border-box; }
.evo-ref h3 { margin: 0 0 12px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.evo-ref p { margin: 0; }
.evo-ref .num, .evo-ref-admin .num { font-variant-numeric: tabular-nums; text-align: right; }

.evo-ref-card { border-radius: 18px; padding: 20px 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 24px rgba(0,0,0,.05); min-width: 0; }
.evo-ref-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.evo-ref-head h3 { margin: 0; }
.evo-ref-muted { color: var(--er-muted); font-size: 14px; }
.evo-ref-fine { color: var(--er-muted); font-size: 13px; line-height: 1.5; margin-top: 10px !important; }
.evo-ref-kick { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px !important; }

/* join */
.evo-ref-hero { border-radius: 20px; padding: 28px 26px; color: #fff; background: radial-gradient(500px 280px at 80% 30%, rgba(48,209,88,.14), transparent 60%), radial-gradient(500px 300px at 10% 0%, rgba(0,113,227,.18), transparent 65%), #000; }
.evo-ref-hero h3 { color: #fff; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; }
.evo-ref-hero p { color: rgba(255,255,255,.6); margin-bottom: 18px !important; max-width: 46ch; }
.evo-ref-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: #000 !important; font-weight: 600; text-decoration: none !important; transition: transform 160ms var(--er-ease); }
.evo-ref-btn:active { transform: scale(.97); }

/* wallet card */
.evo-ref-wallet { position: relative; overflow: hidden; border-radius: 22px; padding: 22px 24px; color: #fff;
	background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 42%, rgba(255,255,255,.1) 100%), linear-gradient(160deg, #1c1c1e, #0b0b0c 70%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.3), 0 24px 50px -24px rgba(0,0,0,.6); }
.evo-ref-wallet::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(48,209,88,.28), transparent); pointer-events: none; }
.evo-ref-wallet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.evo-ref-mark { font-weight: 300; letter-spacing: .28em; font-size: 14px; }
.evo-ref-tierpill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.evo-ref-wallet small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.evo-ref-balance { display: block; font-size: clamp(36px, 6vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.evo-ref-balance.is-neg { color: #ff8a80; }
.evo-ref-wallet__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.evo-ref-wallet__foot a { color: #fff; font-weight: 600; text-decoration: none; }
.evo-ref-wallet .woocommerce-Price-amount { color: inherit; }
.evo-ref-note-inv { margin-top: 12px !important; font-size: 13px; color: rgba(255,255,255,.65); }
.evo-ref-toggle { padding: 0 4px; font-size: 14px; color: var(--er-muted); }
.evo-ref-toggle label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }

/* share */
.evo-ref-label { display: block; font-weight: 600; font-size: 13.5px; margin: 14px 0 6px; }
.evo-ref-copyrow { display: flex; gap: 8px; }
.evo-ref-input { flex: 1; min-width: 0; width: 100%; height: 46px; border: 0; border-radius: 12px; padding: 0 14px; font: 500 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.evo-ref-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--er-blue); }
.evo-ref-input--code { font-weight: 700; letter-spacing: .06em; }
.evo-ref-copy { flex-shrink: 0; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: #000; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; touch-action: manipulation; transition: transform 160ms var(--er-ease), background-color 200ms ease; }
.evo-ref-copy:active { transform: scale(.97); }
.evo-ref-copy.is-done { background: var(--er-green); }
.evo-ref-err { color: #d0342c; font-size: 13px; margin: 6px 0 !important; }

/* tier */
.evo-ref-meter { height: 6px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.evo-ref-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0071e3, #34c759); }
.evo-ref-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 10px; margin-top: 16px; }
.evo-ref-stats > div { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); min-width: 0; }
.evo-ref-stats > div > span { display: block; font-size: 12.5px; color: var(--er-muted); }
.evo-ref-stats > div > strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.evo-ref-stats > div > em { display: block; font-style: normal; font-size: 12px; color: var(--er-muted); margin-top: 2px; }

/* activity */
.evo-ref-activity { list-style: none; margin: 0; padding: 0; }
.evo-ref-activity li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--er-line); }
.evo-ref-activity li:first-child { border-top: 0; }
.evo-ref-activity b { display: block; font-size: 14.5px; font-weight: 600; }
.evo-ref-activity span { display: block; font-size: 12.5px; color: var(--er-muted); }
.evo-ref-activity strong { font-size: 15px; white-space: nowrap; color: var(--er-green); font-variant-numeric: tabular-nums; }
.evo-ref-activity strong.neg { color: var(--er-text); }
.evo-ref-activity strong.void { color: var(--er-faint); text-decoration: line-through; }

/* chart */
.evo-ref-chart { margin: 12px 0 0; }
.evo-ref-chart svg { display: block; width: 100%; height: 120px; overflow: visible; }
.evo-ref-chart .b { fill: #000; opacity: .85; }
.evo-ref-chart .b:hover { opacity: 1; }
.evo-ref-chart .ln { stroke: #34c759; stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.evo-ref-chart .ax { stroke: var(--er-line); vector-effect: non-scaling-stroke; }
.evo-ref-chart__ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--er-faint); margin-top: 4px; }
.evo-ref-chart figcaption { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--er-muted); margin-top: 4px; }
.evo-ref-chart .kb, .evo-ref-chart .kl { display: inline-block; width: 12px; height: 8px; border-radius: 2px; background: #000; margin-left: 8px; }
.evo-ref-chart .kl { height: 0; border-top: 2px dashed #34c759; background: none; }

/* pills */
.evo-ref-pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.06); white-space: nowrap; }
.evo-ref-pill.is-active, .evo-ref-pill.is-available { background: var(--er-green-bg); color: var(--er-green); }
.evo-ref-pill.is-pending { background: var(--er-amber-bg); color: var(--er-amber); }
.evo-ref-pill.is-rejected, .evo-ref-pill.is-suspended { background: #fdecea; color: #8c2112; }
.evo-ref-pill.is-void { color: var(--er-faint); }

@media (max-width: 520px) { .evo-ref-copyrow { flex-direction: column; } .evo-ref-copy { width: 100%; } .evo-ref-card, .evo-ref-wallet { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .evo-ref *, .evo-ref-admin * { transition: none !important; } }

/* admin */
.evo-ref-admin h2 { margin-top: 28px; }
.evo-ref-admin .evo-ref-card { margin: 16px 0; }
.evo-ref-admin .evo-ref-stats { max-width: 1200px; }
.evo-ref-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
.evo-ref-cols .evo-ref-card { margin: 0; }
.evo-ref-decide { display: flex; align-items: center; gap: 10px; }
.evo-ref-dl dt { font-weight: 600; margin-top: 10px; }
.evo-ref-dl dd { margin: 2px 0 0; }
.evo-ref-danger { color: #b32d2e !important; }
.evo-ref-trunc { display: inline-block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.evo-ref-notecell { max-width: 240px; font-size: 12px; color: #50575e; }
.evo-ref-admin .search-box { float: none; margin: 6px 0 10px; }
.evo-ref-filters { margin: 14px 0 8px; }

/* Dark variant inside the theme's My Account wrapper (#evo-ma-wrap) */
#evo-ma-wrap .evo-ref { --er-text: #f5f5f7; --er-muted: rgba(255,255,255,.6); --er-faint: rgba(255,255,255,.35); --er-line: rgba(255,255,255,.08); --er-green: #4ade80; --er-blue: #F7923A; font-family: inherit; }
#evo-ma-wrap .evo-ref h3 { color: #fff !important; }
#evo-ma-wrap .evo-ref-card, #evo-ma-wrap .evo-ref-stats > div { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--er-text); }
#evo-ma-wrap .evo-ref-card { border-radius: 20px; padding: 24px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
#evo-ma-wrap .evo-ref-stats > div { background: rgba(255,255,255,.03); }
#evo-ma-wrap .evo-ref-wallet { background: radial-gradient(420px 240px at 90% 0%, rgba(247,146,58,.28), transparent 65%), linear-gradient(160deg, #24201c, #0d0c0b 70%); }
#evo-ma-wrap .evo-ref-wallet::after { background: radial-gradient(closest-side, rgba(247,146,58,.22), transparent); }
#evo-ma-wrap .evo-ref-wallet__foot a, #evo-ma-wrap .evo-ref-hero .evo-ref-btn { color: #F7923A !important; }
#evo-ma-wrap .evo-ref-hero .evo-ref-btn { background: #F7923A; color: #1a1428 !important; }
#evo-ma-wrap .evo-ref-label { color: rgba(255,255,255,.7); }
#evo-ma-wrap .evo-ref-input { background: rgba(255,255,255,.06) !important; color: #fff !important; -webkit-text-fill-color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important; border: 0 !important; height: 48px; }
#evo-ma-wrap .evo-ref-input::placeholder { color: rgba(255,255,255,.35); -webkit-text-fill-color: rgba(255,255,255,.35); }
#evo-ma-wrap .evo-ref-input:focus { box-shadow: inset 0 0 0 1px #F7923A, 0 0 0 4px rgba(247,146,58,.18) !important; }
#evo-ma-wrap .evo-ref-copy { background: #F7923A; color: #1a1428; height: 48px; }
#evo-ma-wrap .evo-ref-copy.is-done { background: #4ade80; }
#evo-ma-wrap .evo-ref-toggle label { color: rgba(255,255,255,.7); }
#evo-ma-wrap .evo-ref-toggle input { accent-color: #F7923A; }
#evo-ma-wrap .evo-ref-meter { background: rgba(255,255,255,.1); }
#evo-ma-wrap .evo-ref-meter i { background: linear-gradient(90deg, #F7923A, #ffc078); }
#evo-ma-wrap .evo-ref-chart .b { fill: #F7923A; }
#evo-ma-wrap .evo-ref-chart .kb { background: #F7923A; }
#evo-ma-wrap .evo-ref-chart .ln { stroke: #4ade80; }
#evo-ma-wrap .evo-ref-chart .kl { border-top-color: #4ade80; }
#evo-ma-wrap .evo-ref-err { color: #ff8a80; }
#evo-ma-wrap .evo-ni-partners svg { stroke-width: 1.6; }

/* Account wrapper: stop the Elementor kit's heading/button/input styles leaking in, match the account pages' type. */
#evo-ma-wrap .evo-ref, #evo-ma-wrap .evo-ref :is(h1,h2,h3,h4,p,span,small,strong,b,em,label,input,button,a,li,div){font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Arial,sans-serif !important; text-transform:none !important; letter-spacing:normal}
#evo-ma-wrap .evo-ref h3{font-size:19px !important; line-height:1.3 !important; font-weight:600 !important; letter-spacing:-.01em !important; color:#fff !important; margin:0 0 16px !important}
#evo-ma-wrap .evo-ref-head h3{margin:0 !important}
#evo-ma-wrap .evo-ref-card{padding:24px 26px}
#evo-ma-wrap .evo-ref-label{display:block; font-size:13px !important; font-weight:500 !important; color:rgba(255,255,255,.6) !important; margin:14px 0 8px !important}
#evo-ma-wrap .evo-ref-card > .evo-ref-label:first-of-type{margin-top:0 !important}
#evo-ma-wrap .evo-ref-input{height:46px !important; min-height:46px; padding:0 14px !important; font-size:14px !important; font-weight:500 !important; line-height:46px !important; border-radius:12px !important}
#evo-ma-wrap .evo-ref-input--code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.04em !important}
#evo-ma-wrap .evo-ref-copy{height:46px !important; min-height:46px; padding:0 20px !important; border:0 !important; border-radius:999px !important; font-size:13px !important; font-weight:600 !important; letter-spacing:normal !important; text-transform:none !important; line-height:1 !important; background:#F7923A !important; color:#1a1428 !important; box-shadow:0 6px 18px rgba(247,146,58,.25) !important; cursor:pointer; white-space:nowrap; flex:0 0 auto}
#evo-ma-wrap .evo-ref-copy:hover{background:#ffa456 !important}
#evo-ma-wrap .evo-ref-copy.is-done{background:#4ade80 !important; color:#06210f !important}
#evo-ma-wrap .evo-ref-fine, #evo-ma-wrap .evo-ref-muted{font-size:12.5px !important; line-height:1.5 !important; color:rgba(255,255,255,.45) !important; margin:10px 0 0 !important}
#evo-ma-wrap .evo-ref-head .evo-ref-muted{margin:0 !important}
#evo-ma-wrap .evo-ref-toggle, #evo-ma-wrap .evo-ref-toggle label{font-size:14px !important; color:rgba(255,255,255,.7) !important}
#evo-ma-wrap .evo-ref-wallet small{font-size:11px !important; letter-spacing:.14em !important; text-transform:uppercase !important}
#evo-ma-wrap .evo-ref-wallet .evo-ref-mark{letter-spacing:.28em !important}
#evo-ma-wrap .evo-ref-balance{font-size:44px !important; font-weight:700 !important; letter-spacing:-.04em !important}
#evo-ma-wrap .evo-ref-tierpill{font-size:12px !important; font-weight:600 !important}
#evo-ma-wrap .evo-ref-stats > div > span{font-size:12.5px !important; color:rgba(255,255,255,.55) !important}
#evo-ma-wrap .evo-ref-stats > div > strong{font-size:22px !important; font-weight:700 !important; letter-spacing:-.03em !important; color:#fff !important}
#evo-ma-wrap .evo-ref-activity b{font-size:14.5px !important; font-weight:600 !important; color:#fff !important}
#evo-ma-wrap .evo-ref-activity span{font-size:12.5px !important; color:rgba(255,255,255,.5) !important}
#evo-ma-wrap .evo-ref-chart__ticks, #evo-ma-wrap .evo-ref-chart text{font-size:11px !important; color:rgba(255,255,255,.4) !important}
#evo-ma-wrap .evo-ref-btn{border-radius:999px !important; padding:12px 22px !important; font-size:14px !important; font-weight:600 !important; text-transform:none !important; letter-spacing:normal !important; border:0 !important}
@media (max-width:640px){#evo-ma-wrap .evo-ref-card{padding:20px 18px} #evo-ma-wrap .evo-ref-copy{padding:0 16px !important} #evo-ma-wrap .evo-ref-balance{font-size:38px !important}}
