/* Elos Rewards 0.4.0. Entirely scoped: never changes WooCommerce or theme elements outside ELR. */
.elr-dashboard,.elr-checkout-panel{
  --elr-accent:#7357ce;
  --elr-border:rgba(120,120,140,.28);
  --elr-positive:#228a61;
  --elr-negative:#ba3851;
  color:var(--elr-text,inherit)!important;
  font-family:inherit!important;
  line-height:1.5;
  box-sizing:border-box;
  isolation:isolate;
}
.elr-dashboard *,.elr-checkout-panel *{box-sizing:border-box}
.elr-dashboard{width:100%;max-width:1080px;margin:0 auto 28px;display:grid;gap:20px}
.elr-dashboard .elr-dashboard-hero{
  background:var(--elr-hero-background,linear-gradient(115deg,#282044,#6245ac))!important;
  border-radius:18px;min-height:142px;padding:25px 27px;
  display:flex;justify-content:space-between;align-items:center;gap:15px;
  color:#fff!important;box-shadow:0 10px 24px rgba(9,10,30,.10)
}
.elr-dashboard .elr-dashboard-hero :is(h2,p,span){color:#fff!important}
.elr-dashboard .elr-dashboard-hero h2{font-family:inherit;font-size:clamp(22px,3vw,31px);line-height:1.2;margin:8px 0!important;font-weight:800}
.elr-dashboard .elr-dashboard-hero p{opacity:.92;margin:0!important;font-size:14px;line-height:1.5}
.elr-dashboard .elr-eyebrow{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:800}
.elr-dashboard .elr-hero-symbol{color:#fff!important;font-size:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.30);border-radius:17px;background:rgba(255,255,255,.15);width:72px;height:72px;flex:none}
.elr-dashboard .elr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.elr-dashboard .elr-stat-card,
.elr-dashboard .elr-level-card,
.elr-dashboard .elr-history,
.elr-dashboard .elr-checkout-panel,
.elr-checkout-panel{
  background:var(--elr-surface,transparent)!important;
  color:var(--elr-text,inherit)!important;
  border:1px solid var(--elr-border)!important;
  border-radius:16px;
  box-shadow:0 3px 14px rgba(8,13,31,.035)
}
.elr-dashboard .elr-stat-card{padding:20px;display:flex;flex-direction:column;gap:2px;min-height:134px}
.elr-dashboard .elr-stat-card>span,
.elr-dashboard .elr-stat-card>small,
.elr-dashboard .elr-level-target,
.elr-dashboard .elr-tier>small,
.elr-dashboard .elr-section-title>p,
.elr-checkout-panel .elr-redeem-cards span,
.elr-checkout-panel .elr-checkout-heading p,
.elr-checkout-panel .elr-cap-message,
.elr-checkout-panel .elr-redeem-form>small{
  color:var(--elr-muted,inherit)!important;
  opacity:1!important;
}
.elr-dashboard .elr-stat-card>span{font-size:12px;font-weight:600}
.elr-dashboard .elr-stat-card>strong{font-size:clamp(21px,3vw,28px);line-height:1.35;margin:4px 0;overflow-wrap:anywhere;font-weight:800;color:var(--elr-text,inherit)!important}
.elr-dashboard .elr-stat-card>strong *{color:inherit!important}
.elr-dashboard .elr-stat-card>small{font-size:12px}
.elr-dashboard .elr-level-card{padding:22px 24px}
.elr-dashboard .elr-level-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.elr-dashboard .elr-level-card .elr-eyebrow{color:var(--elr-accent)!important}
.elr-dashboard .elr-level-head h3{font-size:22px;color:var(--elr-text,inherit)!important;margin:4px 0 14px!important;line-height:1.35;font-weight:750}
.elr-dashboard .elr-level-mult{font-size:12px;font-weight:800;color:var(--elr-accent)!important;background:var(--elr-tinted,rgba(125,110,195,.12))!important;border-radius:25px;padding:5px 9px;white-space:nowrap;vertical-align:middle}
.elr-dashboard .elr-level-target{font-size:13px}
.elr-dashboard .elr-level-target b{color:var(--elr-text,inherit)!important}
.elr-dashboard .elr-progress-track{height:11px;overflow:hidden;border-radius:20px;background:var(--elr-soft,rgba(128,128,140,.15))!important;margin:5px 0 12px}
.elr-dashboard .elr-progress-track>span{display:block;height:100%;background:var(--elr-accent,#7357ce)!important;border-radius:20px}
.elr-dashboard .elr-level-card>p{font-size:13px;line-height:1.65;margin:0 0 16px;color:var(--elr-text,inherit)!important}
.elr-dashboard .elr-level-card>p strong{color:inherit!important}
.elr-dashboard .elr-tiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.elr-dashboard .elr-tier{background:var(--elr-soft,transparent)!important;border:1px solid var(--elr-border)!important;padding:12px;border-radius:12px;display:grid;gap:4px;font-size:13px;min-width:0}
.elr-dashboard .elr-tier>span{font-size:20px;color:var(--elr-accent)!important}
.elr-dashboard .elr-tier>strong{color:var(--elr-text,inherit)!important;overflow-wrap:anywhere}
.elr-dashboard .elr-tier>small{font-size:11px}
.elr-dashboard .elr-tier.is-current{border-color:var(--elr-accent)!important;background:var(--elr-tinted,rgba(115,87,206,.10))!important}
.elr-dashboard .elr-expiry-note{padding:12px 15px;border-radius:12px;background:var(--elr-tinted,rgba(240,170,50,.10))!important;margin:0;color:var(--elr-text,inherit)!important;font-size:13px}
.elr-dashboard .elr-section-title{padding:22px 22px 8px}
.elr-dashboard .elr-section-title h3{font-size:19px;color:var(--elr-text,inherit)!important;margin:0 0 5px!important}
.elr-dashboard .elr-section-title p{font-size:13px;margin:0}
.elr-dashboard .elr-history-scroll{overflow-x:auto;padding:5px 14px 12px}
.elr-dashboard .elr-history table{width:100%;border-collapse:collapse;border:0!important;background:transparent!important;margin:0}
.elr-dashboard .elr-history :is(thead,tbody,tr){background:transparent!important;border:0!important}
.elr-dashboard .elr-history th,
.elr-dashboard .elr-history td{border:0!important;border-bottom:1px solid var(--elr-border)!important;padding:13px 10px;text-align:left;background:transparent!important;color:var(--elr-text,inherit)!important;font-size:13px}
.elr-dashboard .elr-history thead th{color:var(--elr-muted,inherit)!important;font-weight:750}
.elr-dashboard .elr-history tbody tr:last-child td{border-bottom:0!important}
.elr-dashboard .elr-history small{color:var(--elr-muted,inherit)!important}
.elr-dashboard .elr-history td.elr-plus{color:var(--elr-positive)!important;font-weight:800}
.elr-dashboard .elr-history td.elr-minus{color:var(--elr-negative)!important;font-weight:800}
.elr-checkout-panel{width:100%;max-width:1080px;padding:22px 23px;margin:19px 0 21px}
.elr-checkout-panel p,.elr-checkout-panel label{color:var(--elr-text,inherit)!important}
.elr-checkout-panel .elr-checkout-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.elr-checkout-panel .elr-checkout-icon{color:#fff!important;background:var(--elr-accent-solid,#7357ce)!important;display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;font-size:24px}
.elr-checkout-panel .elr-checkout-heading h3{color:var(--elr-text,inherit)!important;font-size:19px;margin:0 0 3px!important;padding:0}
.elr-checkout-panel .elr-checkout-heading p{font-size:13px;margin:0!important}
.elr-checkout-panel .elr-redeem-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.elr-checkout-panel .elr-redeem-cards>div{display:grid;gap:5px;background:var(--elr-soft,rgba(128,128,140,.10))!important;border:1px solid var(--elr-border)!important;border-radius:11px;padding:13px;min-width:0}
.elr-checkout-panel .elr-redeem-cards span{font-size:12px}
.elr-checkout-panel .elr-redeem-cards strong{font-size:17px;font-weight:800;color:var(--elr-text,inherit)!important;overflow-wrap:anywhere}
.elr-checkout-panel .elr-redeem-cards strong *{color:inherit!important}
.elr-checkout-panel .elr-cap-message{font-size:12px;margin:12px 0!important;line-height:1.65}
.elr-checkout-panel .elr-cap-message strong{color:var(--elr-text,inherit)!important}
.elr-checkout-panel .elr-redeem-hint{font-size:13px;color:var(--elr-negative)!important}
.elr-checkout-panel .elr-redeem-entry label{font-size:13px;font-weight:750;display:block;margin-bottom:7px}
.elr-checkout-panel .elr-redeem-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.elr-checkout-panel .elr-redeem-controls input[type=number]{width:170px;max-width:100%;min-height:43px;border:1px solid var(--elr-border)!important;border-radius:9px;background:var(--elr-field,transparent)!important;color:var(--elr-text,inherit)!important;padding:8px 11px;font:inherit;font-size:16px}
.elr-checkout-panel :is(button,input):focus-visible{outline:2px solid var(--elr-accent)!important;outline-offset:2px}
.elr-checkout-panel button{font-family:inherit;font-size:13px;font-weight:750;border-radius:9px;min-height:43px;cursor:pointer;padding:9px 14px;line-height:1.1;box-shadow:none}
.elr-checkout-panel .elr-use-max{background:var(--elr-tinted,rgba(115,87,206,.12))!important;border:1px solid var(--elr-accent)!important;color:var(--elr-accent)!important}
.elr-checkout-panel .elr-use-max:disabled{cursor:not-allowed;opacity:.55}
.elr-checkout-panel .elr-apply-button{background:var(--elr-accent-solid,#7357ce)!important;border:1px solid var(--elr-accent-solid,#7357ce)!important;color:var(--elr-accent-contrast,#fff)!important}
.elr-checkout-panel .elr-clear-points{background:transparent!important;border:1px solid var(--elr-border)!important;color:var(--elr-text,inherit)!important}
.elr-checkout-panel .elr-redeem-actions{display:flex;gap:9px;flex-wrap:wrap}
.elr-checkout-panel .elr-preview{font-size:13px;margin:11px 0 13px!important}
.elr-checkout-panel .elr-preview strong,.elr-checkout-panel .elr-preview strong *{color:var(--elr-text,inherit)!important}
.elr-checkout-panel .elr-redeem-form>small{display:block;margin-top:9px;font-size:11px}
.elr-block-redeem .elr-checkout-panel{margin-top:0}
@media(max-width:680px){
  .elr-dashboard{gap:12px}.elr-dashboard .elr-dashboard-hero{padding:20px;min-height:112px}
  .elr-dashboard .elr-hero-symbol{width:52px;height:52px;font-size:30px}
  .elr-dashboard .elr-stats,.elr-checkout-panel .elr-redeem-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .elr-dashboard .elr-stats .elr-stat-card:last-child,.elr-checkout-panel .elr-redeem-cards>div:last-child{grid-column:span 2}
  .elr-dashboard .elr-stat-card{min-height:100px;padding:15px}
  .elr-dashboard .elr-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}
  .elr-dashboard .elr-level-head{align-items:flex-start;flex-direction:column}
  .elr-dashboard .elr-level-card,.elr-checkout-panel{padding:16px}
  .elr-dashboard .elr-history th,.elr-dashboard .elr-history td{white-space:nowrap}
}
@media(max-width:400px){
  .elr-dashboard .elr-stats{grid-template-columns:1fr}
  .elr-dashboard .elr-stats .elr-stat-card:last-child{grid-column:auto}
  .elr-dashboard .elr-hero-symbol{display:none}
  .elr-checkout-panel .elr-redeem-cards{grid-template-columns:1fr}
  .elr-checkout-panel .elr-redeem-cards>div:last-child{grid-column:auto}
}
/* Indicações: mesmas variáveis de contraste e superfícies do painel da loja. */
.elr-dashboard .elr-referral-card{border:1px solid var(--elr-border)!important;border-radius:16px;
  background:var(--elr-surface,transparent)!important;color:var(--elr-text,inherit)!important;padding:0 0 18px;
  box-shadow:0 3px 14px rgba(8,13,31,.035)}
.elr-dashboard .elr-referral-rule,.elr-dashboard .elr-referral-stats,.elr-dashboard .elr-referral-card>small{
  display:block;color:var(--elr-text,inherit)!important;margin:8px 22px;font-size:13px;line-height:1.55}
.elr-dashboard .elr-referral-card>small{color:var(--elr-muted,inherit)!important}
.elr-dashboard .elr-referral-link{display:flex;align-items:stretch;gap:8px;margin:12px 22px}
.elr-dashboard .elr-referral-link input{font:inherit;font-size:13px;flex:1;min-width:0;border-radius:9px;padding:11px;
  background:var(--elr-field,var(--elr-soft,transparent))!important;border:1px solid var(--elr-border)!important;
  color:var(--elr-text,inherit)!important;box-sizing:border-box}
.elr-dashboard .elr-copy-referral{border:0!important;border-radius:9px;padding:10px 18px;cursor:pointer;
  background:var(--elr-accent-solid,#7357ce)!important;color:var(--elr-accent-contrast,#fff)!important;font:inherit;font-size:13px;font-weight:750}
.elr-dashboard .elr-copy-referral:focus-visible{outline:2px solid var(--elr-accent);outline-offset:3px}
@media(max-width:540px){.elr-dashboard .elr-referral-link{flex-direction:column}.elr-dashboard .elr-referral-link input{width:100%}}
