:root {
  color-scheme: light;
  --ink: #071d49;
  --muted: #6680a6;
  --line: #d4e1f2;
  --teal: #0874df;
  --danger: #c84646;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: #f7faff; color: var(--ink); }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.login-shell { display: grid; grid-template-columns: minmax(520px, 1.08fr) minmax(500px, .92fr); min-height: 100vh; overflow: hidden; }
.brand-panel { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 6vw, 7rem); overflow: hidden; isolation: isolate; color: white; background: linear-gradient(145deg, #082e68 0%, #051f4b 52%, #020d25 100%); }
.brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .3; background-image: linear-gradient(rgb(80 176 236 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(80 176 236 / 8%) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom right, black, transparent 72%); }
.brand-panel::after { content: ""; position: absolute; z-index: -2; top: -30%; right: -42%; width: 105%; height: 128%; border: 1px solid rgb(50 151 255 / 18%); border-radius: 48% 0 0 52%; background: linear-gradient(145deg, rgb(17 113 219 / 25%), transparent 48%); box-shadow: inset 60px -40px 120px rgb(0 92 204 / 9%); transform: rotate(12deg); pointer-events: none; }
.ambient { position: absolute; z-index: -2; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(25px); opacity: .24; pointer-events: none; }
.ambient-one { top: -20rem; right: -16rem; background: #168cff; }
.ambient-two { bottom: -24rem; left: -16rem; background: #0059c7; }

.brand { display: inline-flex; align-items: center; align-self: flex-start; gap: .85rem; color: white; font-size: 1.85rem; letter-spacing: -.045em; text-decoration: none; animation: enter-up .55s ease-out both; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 56px; }
.brand-mark svg { width: 26px; height: 26px; fill: #073031; }
.brand-panel .brand-mark svg { width: 48px; height: 56px; filter: drop-shadow(0 8px 15px rgb(14 124 210 / 28%)); }
.brand-panel .brand-mark .logo-face-light { fill: #b8e5ff; }
.brand-panel .brand-mark .logo-face-mid { fill: #4aaef1; }
.brand-panel .brand-mark .logo-face-dark { fill: #1677c7; }
.brand-panel .brand-mark .logo-face-blue { fill: #168fea; }
.brand strong { color: #58b8ff; font-weight: 650; }
.brand-type { display: grid; }
.brand-type small { margin-top: -.08rem; color: #83a3bd; font-size: .63rem; font-weight: 500; letter-spacing: .04em; }

.brand-copy { margin: clamp(3.4rem, 7vh, 6rem) 0 0; max-width: 640px; animation: enter-up .65s .08s ease-out both; }
.brand-copy h1 { margin: 0; font-size: clamp(2.7rem, 4.2vw, 4.45rem); font-weight: 640; letter-spacing: -.06em; line-height: 1; }
.brand-copy h1 span { color: #31a8ff; text-shadow: 0 0 30px rgb(13 132 255 / 18%); }
.brand-copy p { max-width: 570px; margin: 1.35rem 0 0; color: #c6d9ee; font-size: clamp(.9rem, 1.2vw, 1.05rem); line-height: 1.7; }

.data-visual { position: relative; flex: 1; min-height: 390px; max-height: 470px; margin: 2.1rem -2rem 0; animation: enter-fade .8s .2s ease-out both; }
.visual-grid { position: absolute; inset: 0; opacity: .34; background-image: radial-gradient(circle, rgb(96 187 242 / 35%) 1px, transparent 1.5px); background-size: 25px 25px; mask-image: radial-gradient(ellipse at center, black 0, transparent 68%); }
.flow-track { position: absolute; z-index: 4; top: 0; left: 0; display: flex; align-items: flex-start; width: 100%; padding: 0 .6rem; }
.flow-card { display: flex; flex: 0 0 92px; flex-direction: column; align-items: center; gap: .5rem; color: #fff; text-align: center; }
.flow-card-central { flex-basis: 102px; }
.flow-card > span:last-child { display: grid; min-width: 0; }
.flow-card strong { font-size: .7rem; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.flow-card small { margin-top: .25rem; color: #a9c9e9; font-size: .58rem; line-height: 1.38; white-space: nowrap; }
.flow-icon { display: grid; flex: 0 0 64px; place-items: center; width: 64px; height: 64px; border: 1px solid rgb(48 159 255 / 65%); border-radius: 13px; color: #fff; background: linear-gradient(145deg, rgb(8 69 139 / 96%), rgb(4 34 82 / 92%)); box-shadow: 0 16px 35px rgb(0 7 31 / 34%), 0 0 20px rgb(0 119 255 / 8%), inset 0 1px rgb(255 255 255 / 10%); }
.flow-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; filter: drop-shadow(0 0 5px rgb(63 184 250 / 25%)); }
.flow-connector { position: relative; flex: 1 1 34px; min-width: 16px; height: 12px; margin-top: 26px; }
.flow-connector::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, rgb(53 132 184 / 35%), rgb(62 175 241 / 76%), rgb(53 132 184 / 35%)); box-shadow: 0 0 5px rgb(46 170 242 / 12%); }
.flow-connector i { position: absolute; top: calc(50% - 2px); left: 0; width: 4px; height: 4px; border-radius: 50%; background: #77d4ff; box-shadow: 0 0 4px #38bdf8, 0 0 9px rgb(42 177 244 / 75%); animation: flow-dot 2.4s linear infinite; }
.flow-connector.delay-one i { animation-delay: -.45s; }
.flow-connector.delay-two i { animation-delay: -.9s; }
.flow-connector.delay-three i { animation-delay: -1.35s; }

.lower-visual { position: absolute; inset: 118px 0 0; }
.lower-connections { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; }
.lower-connections path { fill: none; stroke: url("#curve-glow"); stroke-linecap: round; stroke-width: 1.45; filter: drop-shadow(0 0 4px rgb(36 157 255 / 55%)); }
.lower-visual::before { content: ""; position: absolute; z-index: 0; top: 12%; left: 5%; width: 68%; height: 76%; border-radius: 50%; background: radial-gradient(ellipse, rgb(0 111 255 / 18%), transparent 68%); filter: blur(18px); }
.document-stack { position: absolute; z-index: 2; top: 28px; left: 16%; width: 260px; height: 230px; perspective: 900px; transform-style: preserve-3d; }
.document-sheet { position: absolute; top: 18px; left: 38px; display: grid; align-content: start; gap: 9px; width: 164px; height: 172px; padding: 27px 23px; border: 1px solid rgb(75 167 255 / 46%); border-radius: 13px; background: linear-gradient(145deg, rgb(19 93 177 / 88%), rgb(3 36 89 / 88%)); box-shadow: 0 25px 55px rgb(0 5 25 / 38%), 0 0 24px rgb(20 127 255 / 14%), inset 0 1px rgb(255 255 255 / 13%); backdrop-filter: blur(10px); }
.document-sheet i { display: block; width: 70%; height: 3px; border-radius: 5px; background: rgb(217 238 255 / 24%); }
.document-sheet i:nth-child(2) { width: 88%; }
.document-sheet i:nth-child(3) { width: 56%; }
.sheet-back { transform: translate3d(-48px, 24px, -65px) rotateY(15deg) rotateZ(-9deg); }
.sheet-middle { transform: translate3d(49px, 13px, -34px) rotateY(-14deg) rotateZ(8deg); }
.invoice-card { position: absolute; top: 8px; left: 28px; width: 184px; min-height: 205px; padding: 1.3rem 1.15rem; border: 1px solid rgb(255 255 255 / 88%); border-radius: 16px; color: #0c4f9b; background: linear-gradient(145deg, #fff 0%, #dcefff 44%, #8bc8ff 100%); box-shadow: -14px 30px 60px rgb(0 4 26 / 45%), 18px 20px 48px rgb(0 88 204 / 26%), 0 0 40px rgb(41 160 255 / 28%), inset 0 1px rgb(255 255 255 / 95%); transform: translateZ(35px) rotateY(-8deg) rotateZ(-8deg); transform-style: preserve-3d; }
.invoice-heading { display: flex; align-items: center; gap: .7rem; }
.invoice-heading strong { color: #0755a6; font-size: 1rem; }
.invoice-icon { display: grid; place-items: center; width: 34px; height: 34px; color: #0870cf; }
.invoice-icon svg, .automation-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.invoice-steps { display: grid; gap: .72rem; margin: 1.2rem 0 0; padding: 0; list-style: none; color: #276aa8; font-size: .66rem; }
.invoice-steps li { display: flex; align-items: center; gap: .48rem; }
.invoice-steps i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: white; background: #1887e6; box-shadow: 0 0 7px rgb(17 116 206 / 28%); font-size: .55rem; font-style: normal; }
.invoice-steps li:first-child i, .invoice-steps li:nth-child(2) i { color: #217ac2; background: #c6e7ff; }
.automation-status { width: 5px; height: 5px; border-radius: 50%; background: #78ceff; box-shadow: 0 0 7px rgb(74 177 255 / 75%); }
.automation-card { position: absolute; z-index: 3; top: 100px; right: 5%; display: flex; align-items: center; gap: .62rem; min-width: 190px; padding: .82rem .9rem; border: 1px solid rgb(54 157 255 / 62%); border-radius: 12px; background: linear-gradient(145deg, rgb(7 67 137 / 94%), rgb(3 27 70 / 96%)); box-shadow: 0 24px 50px rgb(0 5 26 / 42%), 0 0 24px rgb(18 126 255 / 13%), inset 0 1px rgb(255 255 255 / 10%); backdrop-filter: blur(12px); }
.automation-card > span:nth-child(2) { display: grid; }
.automation-card strong { color: #fff; font-size: .68rem; }
.automation-card small { margin-top: .11rem; color: #a4c7e9; font-size: .56rem; }
.automation-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: rgb(25 126 232 / 24%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); }
.automation-status { margin-left: auto; }
.brand-footnote { display: flex; align-items: center; gap: .65rem; margin: auto 0 0; color: #89a6bb; font-size: .75rem; }
.brand-footnote svg { width: 20px; fill: none; stroke: #4eb9f5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }

.auth-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 3rem clamp(2.5rem, 6vw, 7rem); background: radial-gradient(circle at 100% 0, rgb(29 123 232 / 8%), transparent 30%), #fff; }
.auth-panel::before { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background: linear-gradient(transparent, #dbe7e8 18%, #dbe7e8 82%, transparent); }
.auth-card { width: min(100%, 450px); animation: enter-up .62s .1s ease-out both; }
.mobile-brand { display: none; }
.auth-heading { margin-bottom: 2.1rem; }
.welcome-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.6rem; border: 1px solid #d2e4f8; border-radius: 14px; color: var(--teal); background: linear-gradient(145deg, #f7fbff, #e8f3ff); box-shadow: 0 10px 30px rgb(19 100 196 / 10%); }
.welcome-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.auth-heading h2 { margin: 0; color: #071d49; font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 650; letter-spacing: -.05em; }
.auth-heading p { margin: .6rem 0 0; color: var(--muted); font-size: .98rem; }
.login-form { display: grid; gap: 1.2rem; }
.field-group { display: grid; gap: .48rem; }
.field-group label { color: #0a2a5a; font-size: .82rem; font-weight: 680; }
.input-shell { position: relative; }
.input-shell input { width: 100%; height: 53px; padding: 0 3rem 0 2.9rem; border: 1px solid var(--line); border-radius: 12px; outline: none; color: #0a2857; background: white; box-shadow: 0 2px 4px rgb(13 57 112 / 3%); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.input-shell input::placeholder { color: #9aa8ae; }
.input-shell input:hover { border-color: #b9c9ce; }
.input-shell input:focus { border-color: #2685e8; box-shadow: 0 0 0 4px rgb(38 133 232 / 11%), 0 7px 22px rgb(17 80 157 / 8%); }
.field-icon { position: absolute; z-index: 1; top: 50%; left: 1rem; width: 18px; transform: translateY(-50%); fill: none; stroke: #718eb6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; pointer-events: none; transition: stroke .16s ease; }
.input-shell:focus-within .field-icon { stroke: var(--teal); }
.valid-icon { display: none; position: absolute; top: 50%; right: 1rem; width: 18px; transform: translateY(-50%); fill: none; stroke: var(--teal); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.input-shell input:not(:placeholder-shown):valid + .valid-icon { display: block; }
.input-shell.has-error input, .input-shell input[aria-invalid="true"] { border-color: #d66464; box-shadow: 0 0 0 4px rgb(200 70 70 / 8%); }
.input-shell.has-error .field-icon { stroke: var(--danger); }
.field-hint { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.field-error { color: var(--danger); font-size: .76rem; }
.password-toggle { position: absolute; top: 50%; right: .65rem; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; color: #6c89b1; background: transparent; cursor: pointer; }
.password-toggle:hover { color: var(--teal); background: #edf5ff; }
.password-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.password-toggle .eye-closed, .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-toggle[aria-pressed="true"] .eye-closed { display: block; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: -.1rem; }
.check-control { position: relative; display: inline-flex; align-items: center; gap: .55rem; color: #587398; font-size: .8rem; cursor: pointer; }
.check-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #bfccd0; border-radius: 5px; background: white; transition: .15s ease; }
.check-box svg { width: 13px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; opacity: 0; transform: scale(.5); transition: .15s ease; }
.check-control input:checked + .check-box { border-color: var(--teal); background: var(--teal); }
.check-control input:checked + .check-box svg { opacity: 1; transform: scale(1); }
.check-control input:focus-visible + .check-box { outline: 3px solid rgb(8 116 223 / 18%); outline-offset: 2px; }
.text-link, .create-account a { padding: .15rem; color: #0866d4; font-size: .8rem; font-weight: 680; text-decoration: none; cursor: pointer; }
.text-link:hover, .create-account a:hover { color: #03489e; text-decoration: underline; }
.submit-button { position: relative; display: grid; place-items: center; width: 100%; height: 54px; margin-top: .25rem; overflow: hidden; border: 0; border-radius: 12px; color: white; background: linear-gradient(115deg, #063f9e, #118df4); box-shadow: 0 14px 32px rgb(4 79 174 / 28%), inset 0 1px rgb(255 255 255 / 22%); font-weight: 700; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; }
.submit-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgb(255 255 255 / 16%) 48%, transparent 70%); transform: translateX(-120%); transition: transform .5s ease; }
.submit-button:hover { box-shadow: 0 17px 36px rgb(4 79 174 / 35%); filter: saturate(1.08); transform: translateY(-1px); }
.submit-button:hover::before { transform: translateX(120%); }
.submit-button:active { box-shadow: 0 7px 18px rgb(4 79 174 / 22%); transform: translateY(1px); }
.submit-button:disabled { cursor: wait; filter: saturate(.8); transform: none; }
.button-label, .button-loading { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .55rem; }
.button-label svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .15s ease; }
.submit-button:hover .button-label svg { transform: translateX(3px); }
.button-loading { visibility: hidden; opacity: 0; }
.button-loading i { width: 17px; height: 17px; border: 2px solid rgb(255 255 255 / 40%); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button.is-loading .button-label { visibility: hidden; opacity: 0; }
.submit-button.is-loading .button-loading { visibility: visible; opacity: 1; }
.form-alert { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: -1rem 0 1.2rem; padding: .8rem .9rem; border: 1px solid #f0c9c6; border-radius: 10px; color: #873b3b; background: #fff5f4; font-size: .78rem; line-height: 1.45; }
.form-alert svg { width: 19px; fill: none; stroke: #bd5151; stroke-linecap: round; stroke-width: 1.8; }
.form-alert strong { display: block; }
.access-help { margin: 1rem 0 0; padding: .8rem .9rem; border: 1px solid #cfdef1; border-radius: 10px; color: #47617f; background: #f2f7fd; font-size: .78rem; line-height: 1.5; }
.create-account { margin: 1.7rem 0 0; color: #6881a4; font-size: .8rem; text-align: center; }
.trust-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 2.3rem; padding-top: 1.5rem; border-top: 1px solid #e2eaf5; color: #8096b6; font-size: .72rem; }
.trust-note svg { width: 16px; fill: none; stroke: #4b79b5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.auth-panel footer { position: absolute; bottom: 1.8rem; color: #91a3bd; font-size: .68rem; }

:focus-visible { outline: 3px solid rgb(24 171 156 / 25%); outline-offset: 3px; }
@keyframes enter-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes flow-dot { 0% { left: calc(100% - 4px); opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .login-shell { grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr); }
  .brand-panel { padding-inline: 2.5rem; }
  .brand-copy h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
  .data-visual { margin-inline: -1.4rem; }
  .flow-track { width: 127%; transform: scale(.79); transform-origin: left top; }
  .lower-visual { width: 118%; transform: scale(.85); transform-origin: left top; }
}

@media (max-height: 820px) and (min-width: 821px) {
  .brand-panel { padding-block: 2rem; }
  .brand-copy { margin-top: 2.3rem; }
  .brand-copy h1 { font-size: clamp(2.45rem, 3.7vw, 3.6rem); }
  .brand-copy p { margin-top: 1rem; line-height: 1.55; }
  .data-visual { min-height: 310px; margin-top: 1.4rem; }
  .flow-icon { flex-basis: 54px; width: 54px; height: 54px; }
  .flow-connector { margin-top: 21px; }
  .lower-visual { top: 100px; width: 116%; transform: scale(.84); transform-origin: left top; }
  .brand-footnote { font-size: .68rem; }
}

@media (max-width: 820px) {
  .login-shell { display: block; }
  .brand-panel { display: none; }
  .auth-panel { min-height: 100svh; padding: 7rem 1.5rem 5rem; }
  .auth-panel::before { display: none; }
  .mobile-brand { position: absolute; top: 1.6rem; left: 1.5rem; display: flex; align-items: center; gap: .7rem; color: #17313b; font-size: 1rem; }
  .mobile-brand .brand-mark { width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 11px; background: linear-gradient(145deg, #62bcff, #126fd0); box-shadow: 0 8px 24px rgb(20 111 215 / 20%); }
  .mobile-brand .brand-mark svg { width: 22px; }
  .mobile-brand strong { color: var(--teal); }
  .auth-panel footer { position: static; margin-top: 3rem; }
}

@media (max-width: 460px) {
  .auth-panel { justify-content: flex-start; padding-inline: 1.1rem; }
  .auth-heading { margin-bottom: 1.7rem; }
  .auth-heading h2 { font-size: 2rem; }
  .welcome-icon { display: none; }
  .form-options { align-items: flex-start; }
}

/* Fluxo de recuperação de senha. O escopo reset-* não interfere na tela de login. */
.reset-page { min-height: 100vh; background: #04152f; }
.reset-shell { position: relative; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 2rem 1.25rem; background: radial-gradient(circle at 20% 10%, rgb(22 133 242 / 23%), transparent 35%), radial-gradient(circle at 90% 90%, rgb(12 93 198 / 18%), transparent 32%), linear-gradient(145deg, #082e68 0%, #051f4b 52%, #020d25 100%); isolation: isolate; }
.reset-shell::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .34; background-image: linear-gradient(rgb(80 176 236 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(80 176 236 / 8%) 1px, transparent 1px); background-size: 68px 68px; mask-image: radial-gradient(circle at center, black, transparent 75%); }
.reset-shell::after { content: ""; position: absolute; z-index: -1; width: min(70vw, 900px); height: min(70vw, 900px); border: 1px solid rgb(66 160 255 / 14%); border-radius: 50%; box-shadow: 0 0 100px rgb(13 115 231 / 10%), inset 0 0 90px rgb(13 115 231 / 6%); transform: translate(35%, -35%); }
.reset-card { width: min(100%, 480px); padding: clamp(1.8rem, 4vw, 2.75rem); border: 1px solid rgb(180 216 255 / 48%); border-radius: 24px; background: rgb(255 255 255 / 97%); box-shadow: 0 32px 90px rgb(0 6 27 / 42%), 0 0 40px rgb(26 132 247 / 12%), inset 0 1px rgb(255 255 255 / 95%); animation: enter-up .55s ease-out both; backdrop-filter: blur(18px); }
.reset-brand { display: inline-flex; align-items: center; gap: .65rem; color: #071d49; font-size: 1.25rem; font-weight: 620; letter-spacing: -.04em; text-decoration: none; }
.reset-brand strong { color: #168fea; }
.reset-brand-mark { display: grid; place-items: center; width: 36px; height: 42px; }
.reset-brand-mark svg { width: 32px; height: 38px; filter: drop-shadow(0 7px 12px rgb(14 124 210 / 18%)); }
.reset-logo-light { fill: #b8e5ff; }
.reset-logo-mid { fill: #4aaef1; }
.reset-logo-dark { fill: #1677c7; }
.reset-logo-blue { fill: #168fea; }
.reset-heading { margin: 2.2rem 0 1.8rem; }
.reset-heading-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; border: 1px solid #d2e4f8; border-radius: 14px; color: #0874df; background: linear-gradient(145deg, #f7fbff, #e8f3ff); box-shadow: 0 10px 30px rgb(19 100 196 / 10%); }
.reset-heading-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.reset-heading h1 { margin: 0; color: #071d49; font-size: clamp(1.75rem, 6vw, 2.3rem); font-weight: 680; letter-spacing: -.05em; line-height: 1.08; }
.reset-heading p { margin: .7rem 0 0; color: #6680a6; font-size: .92rem; line-height: 1.6; }
.reset-form { display: grid; gap: 1.15rem; }
.reset-field { display: grid; gap: .48rem; }
.reset-field label { color: #0a2a5a; font-size: .82rem; font-weight: 680; }
.reset-input-shell { position: relative; }
.reset-input-shell svg { position: absolute; top: 50%; left: 1rem; z-index: 1; width: 18px; transform: translateY(-50%); fill: none; stroke: #718eb6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; pointer-events: none; transition: stroke .16s ease; }
.reset-input-shell input { width: 100%; height: 53px; padding: 0 1rem 0 2.9rem; border: 1px solid #d4e1f2; border-radius: 12px; outline: none; color: #0a2857; background: #fff; box-shadow: 0 2px 4px rgb(13 57 112 / 3%); transition: border-color .16s ease, box-shadow .16s ease; }
.reset-input-shell input::placeholder { color: #9aa8ae; }
.reset-input-shell input:hover { border-color: #b9c9ce; }
.reset-input-shell input:focus { border-color: #2685e8; box-shadow: 0 0 0 4px rgb(38 133 232 / 11%), 0 7px 22px rgb(17 80 157 / 8%); }
.reset-input-shell:focus-within svg { stroke: #0874df; }
.reset-input-shell.has-error input { border-color: #d66464; box-shadow: 0 0 0 4px rgb(200 70 70 / 8%); }
.reset-error { color: #c84646; font-size: .76rem; line-height: 1.4; }
.reset-submit { display: grid; place-items: center; width: 100%; min-height: 52px; padding: .8rem 1.2rem; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(115deg, #063f9e, #118df4); box-shadow: 0 14px 32px rgb(4 79 174 / 28%), inset 0 1px rgb(255 255 255 / 22%); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; }
.reset-submit:hover { box-shadow: 0 17px 36px rgb(4 79 174 / 35%); filter: saturate(1.08); transform: translateY(-1px); }
.reset-submit:active { box-shadow: 0 7px 18px rgb(4 79 174 / 22%); transform: translateY(1px); }
.reset-submit-link { margin-top: .4rem; text-align: center; }
.reset-back { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1.35rem; padding: .25rem; color: #48698f; font-size: .82rem; font-weight: 650; text-decoration: none; }
.reset-back:hover { color: #0866d4; text-decoration: underline; }
.reset-notice, .reset-alert { margin-bottom: 1rem; padding: .85rem .95rem; border: 1px solid #cfdef1; border-radius: 11px; color: #47617f; background: #f2f7fd; font-size: .8rem; line-height: 1.55; }
.reset-alert { border-color: #f0c9c6; color: #873b3b; background: #fff5f4; }
.reset-alert ul { margin: 0; padding-left: 1.1rem; }

@media (max-width: 520px) {
  .reset-shell { align-items: start; padding: 1rem; }
  .reset-card { margin-top: 1rem; padding: 1.5rem; border-radius: 19px; }
  .reset-heading { margin-top: 1.8rem; }
}

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