:root {
  color-scheme: dark;
  --zdr-bg: #050b18;
  --zdr-panel: #091326;
  --zdr-panel-soft: rgba(12, 25, 47, .82);
  --zdr-border: rgba(148, 163, 184, .2);
  --zdr-border-strong: rgba(96, 165, 250, .36);
  --zdr-text: #f8fafc;
  --zdr-muted: #91a1ba;
  --zdr-blue: #3b82f6;
  --zdr-blue-light: #60a5fa;
  --zdr-violet: #8b5cf6;
  --zdr-orange: #ff7a45;
  --zdr-green: #34d399;
  --zdr-red: #fb7185;
  --zdr-yellow: #fbbf24;
  --zdr-shadow: 0 28px 80px rgba(0, 0, 0, .44);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--zdr-bg);
}

body.zdr-auth {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--zdr-bg);
  color: var(--zdr-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

.zdr-auth-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(350px, .82fr) minmax(620px, 1.18fr);
  background:
    radial-gradient(circle at 78% 16%, rgba(37, 99, 235, .09), transparent 30%),
    var(--zdr-bg);
}

.zdr-auth-story {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4.4vw, 70px);
  border-right: 1px solid rgba(96, 165, 250, .16);
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .22), transparent 26%),
    radial-gradient(circle at 78% 68%, rgba(124, 58, 237, .16), transparent 32%),
    linear-gradient(145deg, #061126 0%, #040a16 52%, #08091a 100%);
}

.zdr-auth-story::before,
.zdr-auth-story::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.zdr-auth-story::before {
  inset: auto -18% -30% -28%;
  height: 62%;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, .2);
  box-shadow:
    0 0 0 48px rgba(59, 130, 246, .032),
    0 0 0 96px rgba(124, 58, 237, .028),
    0 0 120px rgba(37, 99, 235, .12);
  transform: rotate(-8deg);
}

.zdr-auth-story::after {
  width: 1px;
  height: 76%;
  left: 54%;
  bottom: -22%;
  background: linear-gradient(transparent, rgba(59, 130, 246, .52), transparent);
  box-shadow:
    -130px -48px 0 rgba(124, 58, 237, .2),
    112px -82px 0 rgba(59, 130, 246, .18),
    220px 6px 0 rgba(255, 122, 69, .12);
  transform: rotate(14deg);
}

.zdr-atmosphere,
.zdr-atmosphere i {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.zdr-atmosphere {
  opacity: .72;
  background-image:
    linear-gradient(rgba(96, 165, 250, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 100%);
}

.zdr-atmosphere i:nth-child(1) {
  inset: 20% auto auto 10%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zdr-blue-light);
  box-shadow:
    78px 94px 0 1px rgba(96, 165, 250, .34),
    206px 30px 0 rgba(139, 92, 246, .7),
    284px 182px 0 1px rgba(255, 122, 69, .38),
    48px 342px 0 rgba(59, 130, 246, .7),
    330px 402px 0 1px rgba(139, 92, 246, .46);
}

.zdr-atmosphere i:nth-child(2) {
  inset: auto auto 16% 16%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(96, 165, 250, .14);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(59, 130, 246, .04);
}

.zdr-atmosphere i:nth-child(3) {
  inset: auto -70px 20% auto;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(139, 92, 246, .14);
  border-radius: 50%;
}

.zdr-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.zdr-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 12px 24px rgba(59, 130, 246, .24));
}

.zdr-logo svg {
  width: 100%;
  height: 100%;
}

.zdr-wordmark > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zdr-wordmark b {
  font-size: 1.18rem;
  letter-spacing: -.02em;
}

.zdr-wordmark small {
  color: var(--zdr-muted);
  font-size: .72rem;
}

.zdr-auth-copy {
  width: min(100%, 520px);
  margin: auto 0;
  padding: clamp(46px, 7vh, 90px) 0 34px;
}

.zdr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7fb4ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.zdr-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--zdr-blue), var(--zdr-violet));
}

.zdr-auth-copy h1 {
  max-width: 540px;
  margin: 18px 0 18px;
  font-size: clamp(2.5rem, 4.5vw, 5.1rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.zdr-auth-copy h1 em {
  display: block;
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, #60a5fa 4%, #8b5cf6 54%, #ff8a5f 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.zdr-auth-copy > p {
  max-width: 520px;
  margin: 0;
  color: #a7b4c8;
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.zdr-steps {
  display: grid;
  gap: 13px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.zdr-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(148, 163, 184, .11);
  border-radius: 14px;
  background: rgba(8, 18, 36, .5);
  backdrop-filter: blur(10px);
}

.zdr-steps li > span {
  color: #77adff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.zdr-steps div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zdr-steps b {
  font-size: .86rem;
}

.zdr-steps small {
  color: var(--zdr-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.zdr-system-status {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 13px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.zdr-system-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zdr-green);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .1), 0 0 18px rgba(52, 211, 153, .4);
}

.zdr-system-status div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zdr-system-status b {
  color: #dce7f6;
  font-size: .75rem;
}

.zdr-system-status small {
  color: var(--zdr-muted);
  font-size: .68rem;
  line-height: 1.4;
}

.zdr-auth-story footer {
  color: #53637d;
  font-size: .68rem;
  letter-spacing: .04em;
}

.zdr-auth-access {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 3.5vw, 58px);
}

.zdr-register-card {
  position: relative;
  width: min(100%, 820px);
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid var(--zdr-border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(17, 32, 57, .92), rgba(7, 17, 33, .96)),
    var(--zdr-panel);
  box-shadow: var(--zdr-shadow);
  backdrop-filter: blur(20px);
}

.zdr-register-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(96, 165, 250, .08), transparent 28%, transparent 76%, rgba(139, 92, 246, .06));
}

.zdr-register-heading,
.zdr-flash-stack,
.zdr-form,
.zdr-register-footer {
  position: relative;
  z-index: 1;
}

.zdr-register-heading {
  margin-bottom: 24px;
}

.zdr-register-heading h2 {
  margin: 11px 0 7px;
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.zdr-register-heading p {
  margin: 0;
  color: var(--zdr-muted);
  font-size: .88rem;
}

.zdr-flash-stack {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
}

.zdr-flash {
  padding: 11px 13px;
  border: 1px solid rgba(96, 165, 250, .24);
  border-radius: 11px;
  background: rgba(37, 99, 235, .1);
  color: #bfdbfe;
  font-size: .78rem;
  line-height: 1.45;
}

.zdr-flash.erro,
.zdr-flash.error {
  border-color: rgba(251, 113, 133, .28);
  background: rgba(159, 18, 57, .14);
  color: #fecdd3;
}

.zdr-flash.aviso,
.zdr-flash.warning {
  border-color: rgba(251, 191, 36, .28);
  background: rgba(161, 98, 7, .12);
  color: #fde68a;
}

.zdr-flash.sucesso,
.zdr-flash.success {
  border-color: rgba(52, 211, 153, .25);
  background: rgba(6, 95, 70, .13);
  color: #a7f3d0;
}

.zdr-form {
  display: grid;
  gap: 19px;
}

.zdr-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.zdr-form legend {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 10px;
  color: #dce7f6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.zdr-form legend > span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 7px;
  background: rgba(37, 99, 235, .11);
  color: #93c5fd;
  font-size: .66rem;
}

.zdr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 13px;
}

.zdr-form label:not(.zdr-plan-option) {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.zdr-form label:not(.zdr-plan-option) > span {
  color: #cdd8e8;
  font-size: .7rem;
  font-weight: 700;
}

.zdr-form input[type="text"],
.zdr-form input[type="email"],
.zdr-form input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(100, 116, 139, .38);
  border-radius: 10px;
  outline: 0;
  background: rgba(3, 10, 22, .62);
  color: var(--zdr-text);
  caret-color: var(--zdr-blue-light);
  font-size: .82rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.zdr-form input::placeholder {
  color: #52627b;
}

.zdr-form input:hover {
  border-color: rgba(96, 165, 250, .35);
}

.zdr-form input:focus {
  border-color: rgba(96, 165, 250, .78);
  background: rgba(4, 13, 29, .9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.zdr-form input:-webkit-autofill,
.zdr-form input:-webkit-autofill:hover,
.zdr-form input:-webkit-autofill:focus {
  border-color: rgba(96, 165, 250, .5);
  -webkit-text-fill-color: var(--zdr-text);
  -webkit-box-shadow: 0 0 0 1000px #071326 inset;
  transition: background-color 9999s ease-out 0s;
  caret-color: var(--zdr-text);
}

.zdr-field-help {
  display: block;
  margin-top: 7px;
  color: #687991;
  font-size: .66rem;
  line-height: 1.45;
}

.zdr-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zdr-plan-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.zdr-plan-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.zdr-plan-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(100, 116, 139, .34);
  border-radius: 13px;
  background: rgba(3, 10, 22, .46);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.zdr-plan-option:hover .zdr-plan-card {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, .44);
}

.zdr-plan-option > input:focus-visible + .zdr-plan-card {
  outline: 2px solid var(--zdr-blue-light);
  outline-offset: 3px;
}

.zdr-plan-option > input:checked + .zdr-plan-card {
  border-color: rgba(96, 165, 250, .72);
  background: linear-gradient(145deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .08));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .08), 0 8px 28px rgba(37, 99, 235, .08);
}

.zdr-plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zdr-plan-topline b {
  font-size: .9rem;
}

.zdr-plan-topline em {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(96, 165, 250, .11);
  color: #93c5fd;
  font-size: .58rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.zdr-plan-card > small {
  flex: 1;
  color: var(--zdr-muted);
  font-size: .68rem;
  line-height: 1.45;
}

.zdr-plan-card > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cfe3ff;
  font-size: .67rem;
}

.zdr-plan-card > strong i {
  color: var(--zdr-blue-light);
  font-style: normal;
}

.zdr-submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  background: linear-gradient(110deg, #2563eb 0%, #3b82f6 48%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .24);
  font-size: .82rem;
  font-weight: 800;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.zdr-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px rgba(37, 99, 235, .3);
}

.zdr-submit:active {
  transform: translateY(0);
}

.zdr-submit:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.zdr-submit i {
  font-style: normal;
  font-size: 1rem;
}

.zdr-register-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(148, 163, 184, .12);
  font-size: .7rem;
}

.zdr-register-footer a {
  color: #8abaff;
  font-weight: 700;
  text-decoration: none;
}

.zdr-register-footer a:hover {
  color: #bfdbfe;
}

.zdr-register-footer > span {
  color: #71829a;
}

@media (max-width: 1120px) {
  .zdr-auth-grid {
    grid-template-columns: minmax(300px, .7fr) minmax(560px, 1.3fr);
  }

  .zdr-auth-story {
    padding: 34px;
  }

  .zdr-auth-copy h1 {
    font-size: clamp(2.35rem, 4.6vw, 4rem);
  }

  .zdr-steps {
    gap: 9px;
  }

  .zdr-steps li {
    padding: 11px 12px;
  }
}

@media (max-width: 900px) {
  .zdr-auth-grid {
    display: block;
  }

  .zdr-auth-story {
    min-height: auto;
    padding: 24px clamp(20px, 6vw, 44px) 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 165, 250, .16);
  }

  .zdr-auth-copy {
    margin: 0;
    padding: 42px 0 0;
  }

  .zdr-auth-copy h1 {
    max-width: 650px;
    font-size: clamp(2.3rem, 8vw, 4.6rem);
  }

  .zdr-auth-copy > p {
    max-width: 680px;
  }

  .zdr-steps,
  .zdr-system-status,
  .zdr-auth-story footer {
    display: none;
  }

  .zdr-auth-access {
    padding: 28px clamp(16px, 5vw, 44px) 44px;
  }

  .zdr-register-card {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .zdr-auth-story {
    padding: 21px 20px 24px;
  }

  .zdr-logo {
    width: 42px;
    height: 42px;
  }

  .zdr-wordmark b {
    font-size: 1.02rem;
  }

  .zdr-auth-copy {
    padding-top: 34px;
  }

  .zdr-auth-copy h1 {
    margin-top: 14px;
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .zdr-auth-copy > p {
    font-size: .9rem;
    line-height: 1.6;
  }

  .zdr-auth-access {
    display: block;
    padding: 18px 12px 30px;
  }

  .zdr-register-card {
    padding: 23px 17px;
    border-radius: 18px;
  }

  .zdr-register-heading {
    margin-bottom: 20px;
  }

  .zdr-form {
    gap: 20px;
  }

  .zdr-form-grid,
  .zdr-plan-grid {
    grid-template-columns: 1fr;
  }

  .zdr-plan-card {
    min-height: 105px;
  }

  .zdr-register-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .zdr-auth-story,
  .zdr-auth-access {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .zdr-auth-copy {
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .zdr-auth-copy h1 {
    font-size: clamp(2.5rem, 4vw, 4.1rem);
  }

  .zdr-steps {
    margin: 23px 0;
  }

  .zdr-register-card {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .zdr-register-heading {
    margin-bottom: 18px;
  }

  .zdr-form {
    gap: 14px;
  }

  .zdr-plan-card {
    min-height: 104px;
  }
}

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

/* ZDR 1.2.0 — identidade oficial Zero Labs */
.zdr-wordmark-approved{display:block;width:min(100%,310px);line-height:0}
.zdr-wordmark-approved img{display:block;width:100%;height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 16px rgba(34,211,238,.15))}
@media(max-width:620px){.zdr-wordmark-approved{width:min(100%,245px)}}
