.globaltax-login {
  --login-ink: #2c4469;
  --login-muted: #8a969c;
  --login-border: #e7e9eb;
  background: var(--highdmin-secondary-bg, #fff);
  display: flex;
  overflow: hidden;
}

.registration-page .login-access { overflow-y: auto; }
.registration-form-shell { max-width: 520px; padding-bottom: 2rem; padding-top: 2rem; }
.registration-type-options { display: flex; gap: 1rem; }
.registration-type-options label { border: 1px solid var(--login-border); border-radius: .5rem; cursor: pointer; flex: 1; padding: .7rem; }
.registration-legal { background: #f5fbfc; border-radius: .5rem; padding: 1rem; }
.registration-flow-visual { flex: 1; min-height: 390px; position: relative; }
.registration-orbit { border: 1px solid rgba(126,227,235,.42); border-radius: 50%; left: 50%; position: absolute; top: 45%; transform: translate(-50%, -50%); }
.registration-orbit.orbit-one { animation: recovery-orbit 18s linear infinite; border-style: dashed; height: 280px; width: 280px; }
.registration-orbit.orbit-two { animation: recovery-orbit 12s linear infinite reverse; height: 180px; width: 180px; }
.registration-flow-beam { animation: registration-beam 3.8s ease-in-out infinite; background: radial-gradient(circle, rgba(126,227,235,.35), transparent 68%); border-radius: 50%; height: 340px; left: 50%; position: absolute; top: 45%; transform: translate(-50%, -50%); width: 340px; }
.registration-flow-core { align-items: center; animation: registration-core 3.5s ease-in-out infinite; background: linear-gradient(145deg, #0b7285, #1297a9); border: 8px solid rgba(255,255,255,.16); border-radius: 18px; box-shadow: 0 22px 45px rgba(4,19,37,.3), 0 0 0 12px rgba(2,192,206,.09); color:#fff; display: flex; flex-direction:column; font-size: .92rem; font-weight: 700; height: 132px; justify-content: center; left: 50%; position: absolute; text-align:center; top: 45%; transform: translate(-50%, -50%); width: 162px; }
.registration-flow-core small { color: rgba(255,255,255,.76); font-size:.67rem; font-weight:500; margin-top:.15rem; }
.registration-core-mark { align-items:center; background:rgba(255,255,255,.16); border-radius:8px; display:flex; font-size:1.35rem; height:34px; justify-content:center; margin-bottom:.45rem; width:34px; }
.registration-flow-line { display: none; }
.registration-flow-line.line-account { left: 24%; top: 28%; transform: rotate(32deg); }
.registration-flow-line.line-email { left: 56%; top: 57%; transform: rotate(32deg); }
.registration-flow-card { align-items: center; animation: login-float 6s ease-in-out infinite; backdrop-filter: blur(10px); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 12px; box-shadow: 0 16px 30px rgba(4,19,37,.16); display: flex; font-size: .77rem; font-weight: 700; gap: .55rem; padding: .8rem .9rem; position: absolute; }
.registration-flow-card i { color: #7ee3eb; font-size: 1.1rem; }
.registration-flow-card span:last-child { display:flex; flex-direction:column; }
.registration-flow-card small { color:rgba(255,255,255,.62); font-size:.62rem; font-weight:500; margin-top:.12rem; }
.registration-step { align-items:center; background:rgba(126,227,235,.16); border-radius:6px; color:#b9f3f6; display:flex; font-size:.62rem; height:26px; justify-content:center; width:26px; }
.registration-flow-card.card-account { animation-delay: -2s; left: 4%; top: 13%; }
.registration-flow-card.card-email { animation-delay: -4s; bottom: 13%; right: 4%; }

.login-showcase {
  background: #2c4469;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  width: 55%;
}

.showcase-grid {
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 38px 38px;
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 72%, transparent 100%);
  position: absolute;
}

.showcase-orb { border-radius: 50%; filter: blur(10px); opacity: .22; position: absolute; }
.orb-one { animation: login-drift 12s ease-in-out infinite alternate; background: var(--highdmin-primary); height: 330px; left: 10%; top: 20%; width: 330px; }
.orb-two { animation: login-drift 14s ease-in-out -4s infinite alternate-reverse; background: var(--highdmin-secondary); bottom: 7%; height: 280px; right: -8%; width: 280px; }
.showcase-content { display: flex; flex-direction: column; height: 100%; min-height: 100vh; padding: clamp(2rem, 4vw, 4.5rem); position: relative; }
.showcase-brand img { height: 28px; width: auto; }

.consulta-network { flex: 1; max-height: 510px; min-height: 390px; position: relative; }
.network-paths { height: 100%; inset: 0; overflow: visible; position: absolute; width: 100%; }
.network-paths path { animation: login-dash 18s linear infinite; stroke: rgba(69,187,224,.55); stroke-dasharray: 10 13; stroke-width: 2; }
.signal-card { animation: login-float 6s ease-in-out infinite; backdrop-filter: blur(10px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; box-shadow: 0 14px 35px rgba(13,28,44,.22); display: flex; gap: .7rem; padding: .75rem .9rem; position: absolute; }
.signal-card strong, .signal-label { display: block; white-space: nowrap; }
.signal-card strong { font-size: .78rem; font-weight: 700; }
.signal-label { color: rgba(255,255,255,.65); font-size: .68rem; margin-bottom: .1rem; }
.signal-icon { align-items: center; background: rgba(2,192,206,.18); border-radius: 8px; color: #7ee3eb; display: flex; font-size: 1.1rem; height: 32px; justify-content: center; width: 32px; }
.signal-card-match { animation-delay: -2s; left: 3%; top: 15%; }
.signal-card-search { animation-delay: -4s; right: 2%; top: 41%; }
.signal-card-trazabilidad { animation-delay: -1s; bottom: 6%; left: 17%; }
.status-dot { background: var(--highdmin-success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(10,207,151,.15); height: 7px; margin-left: .45rem; margin-top: .35rem; width: 7px; }
.network-node { align-items: center; animation: login-pulse 3s ease-in-out infinite; background: var(--highdmin-primary); border: 5px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 8px rgba(2,192,206,.1); display: flex; font-size: 1.1rem; height: 47px; justify-content: center; position: absolute; width: 47px; }
.node-one { animation-delay: -1s; left: 42%; top: 29%; }
.node-two { animation-delay: -2s; right: 14%; top: 16%; }
.node-three { animation-delay: -3s; bottom: 23%; right: 28%; }

.showcase-copy { max-width: 550px; }
.showcase-eyebrow, .login-kicker { color: #7ee3eb; font-size: .72rem; font-weight: 800; letter-spacing: .08em; margin-bottom: .85rem; text-transform: uppercase; }
.showcase-eyebrow i { font-size: 1rem; margin-right: .35rem; vertical-align: -2px; }
.showcase-copy h1 { color: #fff; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.14; margin-bottom: 1.1rem; }
.showcase-copy h1 span { color: #7ee3eb; }
.showcase-copy > p:not(.showcase-eyebrow) { color: rgba(255,255,255,.72); font-size: .96rem; line-height: 1.7; max-width: 500px; }
.showcase-features { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.showcase-features li { border: 1px solid rgba(255,255,255,.2); border-radius: 20px; color: rgba(255,255,255,.82); font-size: .7rem; padding: .42rem .72rem; }

.login-access { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 2rem; width: 45%; }
.login-form-shell { max-width: 390px; width: 100%; }
.login-brand { display: inline-flex; margin-bottom: clamp(2.5rem, 7vh, 5rem); }
.login-brand img { height: 28px; width: auto; }
.login-brand .logo-light { display: none; }
.login-heading { margin-bottom: 2rem; }
.login-heading h2 { color: var(--login-ink); font-size: 1.7rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: .55rem; }
.login-heading h1 { color: var(--login-ink); font-size: 1.7rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: .55rem; }
.login-heading > p:last-child { color: var(--login-muted); margin: 0; }
.login-kicker { color: var(--highdmin-primary); margin-bottom: .6rem; }
.login-input-group { border-radius: .35rem; transition: box-shadow .2s ease; }
.login-input-group:focus-within { box-shadow: 0 0 0 .2rem rgba(var(--highdmin-primary-rgb), .16); }
.login-input-group .input-group-text { background: transparent; border-color: var(--login-border); border-right: 0; color: var(--login-muted); padding-left: .9rem; }
.login-input-group .form-control { border-color: var(--login-border); border-left: 0; box-shadow: none; padding: .65rem .8rem .65rem .45rem; }
.login-input-group .form-control:focus { border-color: var(--login-border); }
.login-access .form-label { color: var(--login-ink); font-size: .8rem; font-weight: 700; }
.login-field-label { align-items: baseline; display: flex; justify-content: space-between; }
.login-inline-action, .login-registration-action { color: var(--highdmin-primary); font-size: .76rem; font-weight: 700; }
.login-inline-action:hover, .login-registration-action:hover { color: var(--highdmin-primary-text-emphasis); text-decoration: underline; }
.login-inline-action:focus-visible, .login-registration-action:focus-visible { border-radius: .2rem; outline: 2px solid rgba(var(--highdmin-primary-rgb), .45); outline-offset: 3px; }
.login-access .btn { padding: .68rem 1rem; }
.login-security { color: var(--login-muted); font-size: .73rem; margin: 1.25rem 0 0; text-align: center; }
.login-security i { color: var(--highdmin-success); font-size: .9rem; margin-right: .25rem; vertical-align: -1px; }
.login-registration { align-items: center; border-top: 1px solid var(--login-border); color: var(--login-muted); display: flex; font-size: .76rem; justify-content: space-between; margin-top: 1.7rem; padding-top: 1.2rem; }
.login-registration-action i { font-size: .95rem; margin-left: .15rem; transition: transform .2s ease; vertical-align: -1px; }
.login-registration-action:hover i { transform: translateX(3px); }
.login-purchase { align-items: center; background: linear-gradient(120deg, rgba(11,114,133,.07), rgba(44,68,105,.035)); border: 1px solid rgba(11,114,133,.16); border-radius: .75rem; color: var(--login-ink); display: flex; gap: .8rem; margin-top: 1rem; padding: .85rem .95rem; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.login-purchase:hover { border-color: rgba(11,114,133,.4); box-shadow: 0 8px 22px rgba(44,68,105,.09); color: var(--login-ink); transform: translateY(-2px); }
.login-purchase.is-disabled { cursor: not-allowed; opacity: .58; pointer-events: none; }
.login-purchase.is-disabled:hover { border-color: rgba(11,114,133,.16); box-shadow: none; transform: none; }
.login-purchase:focus-visible { outline: 2px solid rgba(var(--highdmin-primary-rgb), .55); outline-offset: 3px; }
.login-purchase-icon { align-items: center; background: transparent; color: var(--highdmin-primary); display: flex; flex: 0 0 30px; height: 30px; justify-content: center; }
.login-purchase-icon svg { display: block; height: 25px; width: 25px; }
.login-purchase-copy { display: flex; flex: 1; flex-direction: column; gap: .15rem; }
.login-purchase-copy strong { font-size: .78rem; font-weight: 800; }
.login-purchase-copy small { color: var(--login-muted); font-size: .68rem; }
.login-purchase-arrow { color: var(--highdmin-primary); font-size: 1rem; transition: transform .2s ease; }
.login-purchase:not(.is-disabled):hover .login-purchase-arrow { transform: translate(2px, -2px); }
.login-copyright { color: var(--login-muted); font-size: .7rem; margin: clamp(2.5rem, 7vh, 4.5rem) 0 0; text-align: center; }
.login-return { font-size: .78rem; margin: 1.4rem 0 0; text-align: center; }
.login-return a { color: var(--login-muted); font-weight: 700; }
.login-return a:hover { color: var(--highdmin-primary); }
.login-return i { margin-right: .25rem; vertical-align: -1px; }
.auth-flow-visual { flex: 1; min-height: 350px; position: relative; }
.auth-flow-circle { align-items: center; animation: auth-flow-pulse 3s ease-in-out infinite; background: var(--highdmin-primary); border: 9px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 13px rgba(2,192,206,.08); display: flex; font-size: 2.1rem; height: 108px; justify-content: center; left: 50%; position: absolute; top: 38%; transform: translate(-50%, -50%); width: 108px; }
.auth-flow-line { border-top: 2px dashed rgba(69,187,224,.58); position: absolute; transform-origin: left center; width: 35%; }
.line-one { left: 20%; top: 37%; transform: rotate(28deg); }
.line-two { left: 56%; top: 40%; transform: rotate(-27deg); }
.auth-flow-card { align-items: center; animation: login-float 6s ease-in-out infinite; backdrop-filter: blur(10px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; display: flex; font-size: .77rem; font-weight: 700; gap: .5rem; padding: .75rem .9rem; position: absolute; }
.auth-flow-card i { color: #7ee3eb; font-size: 1.1rem; }
.auth-flow-card.card-one { animation-delay: -2s; left: 5%; top: 13%; }
.auth-flow-card.card-two { animation-delay: -4s; bottom: 14%; right: 5%; }
.forced-password-visual { min-height: 390px; }
.forced-password-visual .auth-flow-circle { background: linear-gradient(145deg, #0b7285, #1297a9); border-color: rgba(255,255,255,.22); box-shadow: 0 0 0 14px rgba(2,192,206,.11), 0 20px 42px rgba(4,19,37,.25); color: #fff; font-size: 2.45rem; height: 122px; top: 44%; width: 122px; }
.forced-security-orbit { border: 1px solid rgba(126,227,235,.28); border-radius: 50%; left: 50%; position: absolute; top: 44%; transform: translate(-50%, -50%); }
.forced-security-orbit.orbit-large { animation: recovery-orbit 24s linear infinite; height: 278px; width: 278px; }
.forced-security-orbit.orbit-small { animation: recovery-orbit 16s linear infinite reverse; border-color: rgba(255,255,255,.15); height: 194px; width: 194px; }
.forced-password-visual .auth-flow-card { box-shadow: 0 14px 30px rgba(4,19,37,.18); }
.forced-password-visual .card-one { left: 2%; top: 12%; }
.forced-password-visual .card-two { bottom: 8%; right: 2%; }
.forced-password-visual .card-three { animation-delay: -3s; left: 8%; top: 60%; }
.forced-access { overflow-y: auto; }
.forced-form-shell { max-width: 640px; }
.legal-acceptance-panel { background: #fff; border: 1px solid #e5eaf0; border-radius: 14px; box-shadow: 0 14px 38px rgba(18,42,65,.08); padding: 1.25rem; text-align: left; }
.legal-acceptance-panel h2 { color: var(--login-ink); font-size: 1.12rem; font-weight: 750; margin: 0 0 .45rem; }
.legal-acceptance-panel > p { color: #64748b; font-size: .82rem; margin-bottom: 1rem; }
.legal-document { border-top: 1px solid #e8edf2; padding: .9rem 0 .75rem; }
.legal-document h3 { color: var(--login-ink); font-size: .82rem; font-weight: 700; line-height: 1.45; margin: 0 0 .4rem; }
.legal-document > a { color: #0b7285; display: inline-block; font-size: .78rem; margin-bottom: .6rem; text-decoration: underline; }
.legal-document label { align-items: flex-start; color: #526174; display: flex; font-size: .77rem; gap: .5rem; line-height: 1.45; }
.legal-document input { accent-color: #087f8c; flex: 0 0 auto; margin-top: .15rem; }
.legal-acceptance-panel > small { color: #8792a0; display: block; font-size: .7rem; margin-top: .55rem; text-align: center; }
.legal-acceptance-panel #accept-legal-documents:disabled { background: #e7eaed; border-color: #e7eaed; color: #818a95; }
.auth-modal-icon { align-items: center; background: rgba(2,192,206,.12); border-radius: 50%; color: var(--highdmin-primary); display: inline-flex; font-size: 1.7rem; height: 54px; justify-content: center; width: 54px; }
.recovery-flow-visual { flex: 1; min-height: 360px; position: relative; }
.recovery-orbit { border: 1px dashed rgba(69,187,224,.32); border-radius: 50%; left: 50%; position: absolute; top: 46%; transform: translate(-50%, -50%); }
.orbit-outer { animation: recovery-orbit 28s linear infinite; height: 240px; width: 240px; }
.orbit-inner { animation: recovery-orbit 18s linear infinite reverse; border-color: rgba(255,255,255,.15); height: 170px; width: 170px; }
.recovery-mail-core { align-items: center; animation: recovery-core 4s ease-in-out infinite; background: linear-gradient(145deg, rgba(2,192,206,.95), rgba(69,187,224,.82)); border: 7px solid rgba(255,255,255,.14); border-radius: 22px; box-shadow: 0 18px 40px rgba(2,192,206,.25), 0 0 0 13px rgba(2,192,206,.06); display: flex; flex-direction: column; height: 116px; justify-content: center; left: 50%; overflow: hidden; position: absolute; top: 46%; transform: translate(-50%, -50%); width: 136px; }
.recovery-mail-core i { font-size: 2.15rem; position: relative; z-index: 1; }
.recovery-core-label { font-size: .65rem; font-weight: 800; letter-spacing: .06em; margin-top: .25rem; position: relative; text-transform: uppercase; z-index: 1; }
.recovery-core-glow { animation: recovery-sweep 4s ease-in-out infinite; background: rgba(255,255,255,.2); height: 160%; left: -110%; position: absolute; top: -30%; transform: rotate(28deg); width: 35%; }
.recovery-step { align-items: center; animation: login-float 6s ease-in-out infinite; backdrop-filter: blur(10px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 11px; display: flex; gap: .65rem; padding: .72rem .85rem; position: absolute; }
.recovery-step strong, .recovery-step small { display: block; white-space: nowrap; }
.recovery-step strong { font-size: .73rem; font-weight: 800; }
.recovery-step small { color: rgba(255,255,255,.62); font-size: .65rem; margin-top: .12rem; }
.recovery-step-number { align-items: center; background: rgba(2,192,206,.2); border-radius: 50%; color: #7ee3eb; display: flex; font-size: .72rem; font-weight: 800; height: 27px; justify-content: center; width: 27px; }
.recovery-step-request { animation-delay: -2s; left: 2%; top: 8%; }
.recovery-step-delivery { animation-delay: -4s; right: 1%; top: 42%; }
.recovery-step-password { animation-delay: -1s; bottom: 5%; left: 12%; }

@keyframes login-dash { to { stroke-dashoffset: -350; } }
@keyframes login-float { 50% { transform: translateY(-10px); } }
@keyframes login-pulse { 50% { box-shadow: 0 0 0 12px rgba(2,192,206,.04); transform: scale(1.07); } }
@keyframes login-drift { to { transform: translate(45px, -25px) scale(1.15); } }
@keyframes auth-flow-pulse { 50% { box-shadow: 0 0 0 18px rgba(2,192,206,.04); transform: translate(-50%, -50%) scale(1.07); } }
@keyframes recovery-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes recovery-core { 50% { box-shadow: 0 18px 40px rgba(2,192,206,.35), 0 0 0 20px rgba(2,192,206,.03); transform: translate(-50%, -50%) scale(1.04); } }
@keyframes recovery-sweep { 45%, 100% { left: 150%; } }
@keyframes registration-beam { 50% { opacity:.45; transform: translate(-50%, -50%) scale(1.12); } }
@keyframes registration-core { 50% { box-shadow: 0 28px 52px rgba(4,19,37,.38), 0 0 0 18px rgba(2,192,206,.05); transform: translate(-50%, -50%) translateY(-7px); } }

@media (max-width: 991.98px) {
  .login-showcase { width: 50%; }
  .login-access { width: 50%; }
  .showcase-content { padding: 2rem; }
  .signal-card { transform: scale(.87); transform-origin: left top; }
  .signal-card-search { transform-origin: right top; }
  .auth-flow-card { transform: scale(.9); }
  .recovery-step { transform: scale(.88); }
}

@media (max-width: 767.98px) {
  .globaltax-login { display: block; }
  .login-showcase { display: none; }
  .login-access { min-height: 100vh; padding: 1.75rem; width: 100%; }
  .login-brand { margin-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .globaltax-login *, .globaltax-login *::before, .globaltax-login *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
