.qbi-math-captcha{grid-column:1/-1;width:100%;box-sizing:border-box;margin:4px 0 10px;padding:13px;border-radius:16px;border:1px solid rgba(140,198,63,.32);background:linear-gradient(135deg,rgba(14,64,99,.14),rgba(140,198,63,.10));color:inherit;}
.qbi-math-captcha,.qbi-math-captcha *{box-sizing:border-box;}
.qbi-math-captcha__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;}
.qbi-math-captcha__label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;opacity:.92;}
.qbi-math-captcha__refresh{width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:900;line-height:1;transition:transform .18s ease,filter .18s ease,opacity .18s ease;}
.qbi-math-captcha__refresh:hover{transform:rotate(20deg);filter:brightness(1.08);}
.qbi-math-captcha__refresh.is-loading{opacity:.65;cursor:wait;animation:qbiCaptchaSpin .8s linear infinite;}
.qbi-math-captcha__question{display:flex;align-items:center;min-height:42px;padding:10px 12px;margin-bottom:10px;border-radius:14px;border:1px dashed rgba(255,255,255,.28);background:rgba(255,255,255,.08);font-weight:900;letter-spacing:.01em;}
.qbi-math-captcha__input{display:block;width:100%;min-height:46px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);color:inherit;padding:11px 13px;outline:none;font-weight:800;}
.qbi-math-captcha__input:focus{border-color:rgba(140,198,63,.68);box-shadow:0 0 0 4px rgba(140,198,63,.13);}
.qbi-math-captcha__input::placeholder{color:rgba(255,255,255,.58);}
.qbi-math-captcha__help{display:block;margin-top:7px;font-size:11px;line-height:1.4;opacity:.72;}
.qbi-login-form .qbi-math-captcha{margin-top:2px;margin-bottom:12px;background:rgba(255,255,255,.06);border-color:rgba(140,198,63,.35);color:#fff;}
.qbi-login-form .qbi-math-captcha__input{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:#fff;}
.tesla-modal .qbi-math-captcha{color:#f8fafc;}
#teslaTrabajaForm .qbi-math-captcha{color:#0f172a;background:#fff;border-color:#d7e4ef;}
#teslaTrabajaForm .qbi-math-captcha__question{background:#f8fafc;border-color:#cbd5e1;}
#teslaTrabajaForm .qbi-math-captcha__input{background:#fff;color:#0f172a;border-color:#cbd5e1;}
#teslaTrabajaForm .qbi-math-captcha__input::placeholder{color:#64748b;}
.qbi2-form-grid .qbi-math-captcha{grid-column:1/-1;color:#fff;}
@keyframes qbiCaptchaSpin{to{transform:rotate(360deg);}}
@media(max-width:640px){.qbi-math-captcha{padding:12px;border-radius:14px}.qbi-math-captcha__question{font-size:14px}.qbi-math-captcha__input{min-height:44px}}

/* QBI 2.1.83 - CAPTCHA en 2 columnas y foco glass */
.qbi-math-captcha{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(180px,.72fr)!important;
  gap:10px 12px!important;
  align-items:end!important;
}
.qbi-math-captcha__head{
  grid-column:1/-1!important;
  margin-bottom:0!important;
}
.qbi-math-captcha__question{
  grid-column:1!important;
  margin:0!important;
  min-height:48px!important;
  background:rgba(255,255,255,.075)!important;
  color:inherit!important;
}
.qbi-math-captcha__input{
  grid-column:2!important;
  margin:0!important;
  min-height:48px!important;
  background:rgba(255,255,255,.085)!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  caret-color:currentColor!important;
}
.qbi-math-captcha input[type="hidden"]{display:none!important;}
.qbi-math-captcha__help{
  grid-column:1/-1!important;
  margin-top:0!important;
}
.qbi-math-captcha__input:focus,
.qbi-math-captcha__input:focus-visible{
  background:rgba(255,255,255,.11)!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  border-color:rgba(140,198,63,.72)!important;
  box-shadow:0 0 0 4px rgba(140,198,63,.13)!important;
}
.qbi2-form-grid .qbi-math-captcha,
.qbi-login-form .qbi-math-captcha,
.tesla-modal .qbi-math-captcha{color:#fff!important;}
#teslaTrabajaForm .qbi-math-captcha{
  color:#0f172a!important;
}
#teslaTrabajaForm .qbi-math-captcha__input:focus,
#teslaTrabajaForm .qbi-math-captcha__input:focus-visible{
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
}
@media(max-width:640px){
  .qbi-math-captcha{grid-template-columns:1fr!important;}
  .qbi-math-captcha__question,
  .qbi-math-captcha__input{grid-column:1!important;}
}
