:root {
  /* O login não carrega ordem-facil.css: estes valores repetem os tokens Azul Tech Premium de lá. */
  --login-navy-950: #071d49;
  --login-navy-800: #093d8f;
  --login-blue-700: #0754b8;
  --login-blue-500: #0866e8;
  --login-electric: #009dff;
  --login-ink: #102344;
  --login-muted: #64748b;
  --login-border: #dce8f5;
  --login-canvas: #f3f8ff;
}

.ordem-facil-login,
.ordem-facil-login * {
  box-sizing: border-box;
}

.ordem-facil-login {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--login-ink);
  background: var(--login-canvas);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.18fr) minmax(480px, 0.82fr);
}

.login-brand-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 3vw, 46px) clamp(36px, 6.4vw, 92px) 28px;
  color: #fff;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 68% 63%, rgb(16 132 253 / 46%), transparent 34%),
    radial-gradient(ellipse at 6% 91%, rgb(20 88 185 / 76%), transparent 34%),
    radial-gradient(ellipse at 100% 10%, rgb(17 106 217 / 62%), transparent 33%),
    linear-gradient(125deg, #0c2b58 0%, #0e3e7e 48%, #0e4e9f 100%);
}

.login-brand-panel::before {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -17%;
  width: 50%;
  height: 150%;
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(255 255 255 / 2%), 0 0 0 78px rgb(255 255 255 / 1.5%);
  content: "";
  pointer-events: none;
}

.login-brand-panel::after {
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -145px;
  width: 210px;
  height: 124%;
  border-radius: 50%;
  background: var(--login-canvas);
  content: "";
  pointer-events: none;
}

.login-brand-header {
  z-index: 1;
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.brand-lockup:hover,
.brand-lockup:focus {
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 16px;
  background: linear-gradient(145deg, #2080eb, #0051c2 72%);
  box-shadow: 0 8px 24px rgb(2 17 43 / 24%), inset 0 1px 0 rgb(255 255 255 / 28%);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  color: #fff;
}

.brand-lockup-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  color: #fff;
  font-size: clamp(25px, 2.45vw, 35px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
}

.brand-name > span {
  color: #8dc5ff;
}

.brand-product-caption {
  color: rgb(255 255 255 / 88%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.25px;
}

.brand-divider {
  width: 1px;
  height: 52px;
  flex: 0 0 auto;
  background: rgb(255 255 255 / 44%);
}

.codffy-lockup {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 3px;
  color: #fff;
  text-decoration: none;
}

.codffy-lockup:hover,
.codffy-lockup:focus {
  color: #fff;
  text-decoration: none;
}

.codffy-caption {
  color: rgb(255 255 255 / 85%);
  font-size: 11px;
}

.codffy-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.1px;
}

.codffy-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff3de4, #a619f5 70%);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.brand-message {
  z-index: 1;
  max-width: 660px;
  margin-top: clamp(28px, 4vw, 52px);
}

.brand-message h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  letter-spacing: -2.7px;
  line-height: 1.05;
}

.brand-message h1 span {
  color: #9acdff;
}

.brand-message p {
  max-width: 480px;
  margin: 0;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.55;
}

.login-product-visual {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 720px);
  min-height: 255px;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  margin: 4px auto 0;
  perspective: 1300px;
}

.visual-glow {
  position: absolute;
  right: 8%;
  bottom: 4%;
  left: 3%;
  height: 34%;
  border-radius: 50%;
  background: rgb(77 163 255 / 30%);
  filter: blur(40px);
}

.laptop {
  position: relative;
  z-index: 1;
  width: min(90%, 650px);
  transform: rotateY(-12deg) rotateX(5deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 20px 21px rgb(2 13 32 / 48%));
}

.laptop-screen {
  position: relative;
  display: grid;
  aspect-ratio: 1.69;
  overflow: hidden;
  grid-template-columns: 22% 78%;
  padding: 10px;
  border: 3px solid #cae1ff;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(145deg, #20314c, #0c131e 68%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 65%),
    0 0 0 1px rgb(255 255 255 / 30%),
    0 0 30px rgb(81 168 255 / 40%);
}

.laptop-screen::after {
  position: absolute;
  z-index: 2;
  inset: 3px;
  border-radius: 13px 13px 6px 6px;
  background: linear-gradient(115deg, rgb(255 255 255 / 11%), transparent 26% 74%, rgb(255 255 255 / 5%));
  content: "";
  pointer-events: none;
}

.preview-sidebar {
  overflow: hidden;
  padding: 8px 7px;
  border-radius: 8px 0 0 7px;
  background: #132037;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 11px;
  color: #fff;
  font-size: clamp(6px, 0.65vw, 9px);
  font-weight: 700;
  white-space: nowrap;
}

.preview-brand > span:last-child {
  color: #9bccff;
}

.preview-brand-mark {
  display: inline-grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border-radius: 4px;
  background: #2080eb;
  font-size: 9px;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0;
  padding: 4px 3px;
  border-radius: 4px;
  color: rgb(255 255 255 / 70%);
  font-size: clamp(5px, 0.5vw, 7px);
  white-space: nowrap;
}

.preview-nav i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 2px;
}

.preview-nav-active {
  background: #1a70e7;
  color: #fff;
}

.preview-main {
  overflow: hidden;
  padding: 8px 10px;
  border-radius: 0 7px 7px 0;
  background: #f8fbff;
}

.preview-topbar {
  display: flex;
  height: 9px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  border-bottom: 1px solid #e8ecf3;
}

.preview-topbar span {
  width: 52%;
  height: 4px;
  margin-right: auto;
  border-radius: 3px;
  background: #edf0f4;
}

.preview-topbar i,
.preview-topbar b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfd7e5;
}

.preview-topbar b {
  background: #6193de;
}

.preview-title {
  margin: 9px 0 7px;
  color: #223049;
  font-size: clamp(7px, 0.75vw, 10px);
  font-weight: 700;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.preview-metrics > div,
.preview-status-panel,
.preview-chart-panel {
  border: 1px solid #e8ecf4;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(21 37 64 / 5%);
}

.preview-metrics > div {
  display: flex;
  min-height: 35px;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
}

.preview-metrics span {
  color: #667284;
  font-size: clamp(4px, 0.42vw, 6px);
}

.preview-metrics b {
  display: block;
  width: 45%;
  height: 7px;
  border-radius: 4px;
  background: #d0dff5;
}

.preview-metrics > div:nth-child(2) b {
  background: #b0c9f0;
}

.preview-metrics > div:nth-child(3) b {
  background: #f3d9b8;
}

.preview-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.preview-status-panel,
.preview-chart-panel {
  position: relative;
  min-height: 84px;
  padding: 7px;
}

.preview-status-panel strong,
.preview-chart-panel strong {
  display: block;
  color: #3a495e;
  font-size: clamp(5px, 0.48vw, 7px);
}

.preview-donut {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  margin: 7px auto 0;
  border-radius: 50%;
  background: conic-gradient(#196be8 0 27%, #41a2f7 27% 48%, #25a3c6 48% 70%, #29ac78 70% 86%, #f6b951 86%);
}

.preview-donut span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
}

.preview-legend {
  position: absolute;
  top: 28px;
  right: 6px;
  display: grid;
  gap: 4px;
}

.preview-legend i {
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: #d7dee9;
}

.preview-legend i:first-child {
  background: #196be8;
}

.preview-legend i:nth-child(2) {
  background: #41a2f7;
}

.preview-chart-grid {
  display: flex;
  height: 53px;
  align-items: flex-end;
  justify-content: space-around;
  gap: 5px;
  margin-top: 5px;
  padding: 5px 5px 0;
  border-bottom: 1px solid #e7ebf2;
  background: repeating-linear-gradient(to bottom, transparent 0 13px, #eef1f6 14px 15px);
}

.preview-chart-grid i {
  width: 10%;
  height: 32%;
  border-radius: 3px 3px 0 0;
  background: #009dff;
}

.preview-chart-grid i:nth-child(2) { height: 48%; }
.preview-chart-grid i:nth-child(3) { height: 40%; }
.preview-chart-grid i:nth-child(4) { height: 64%; }
.preview-chart-grid i:nth-child(5) { height: 78%; }
.preview-chart-grid i:nth-child(6) { height: 94%; }

.laptop-base {
  position: relative;
  width: 112%;
  height: 24px;
  margin-left: -6%;
  border: 1px solid #d7e9ff;
  border-radius: 0 0 14px 14px;
  background:
    linear-gradient(180deg, transparent 0 65%, rgb(15 28 47 / 68%) 66%),
    linear-gradient(180deg, #dfedff 0%, #97b8de 25%, #526d8f 74%, #213044 100%);
  clip-path: polygon(0 0, 100% 0, 93% 84%, 87% 100%, 13% 100%, 7% 84%);
  box-shadow: inset 0 1px 0 #fff;
}

.laptop-base::before {
  position: absolute;
  top: 4px;
  left: 18%;
  width: 64%;
  height: 9px;
  border: 1px solid rgb(37 56 80 / 34%);
  border-radius: 2px 2px 5px 5px;
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgb(42 64 93 / 38%) 10px 11px),
    linear-gradient(180deg, rgb(65 93 128 / 45%), rgb(255 255 255 / 20%));
  content: "";
}

.laptop-base span {
  position: absolute;
  top: 4px;
  left: 50%;
  display: block;
  width: 17%;
  height: 10px;
  margin: 0;
  border: 1px solid rgb(37 56 80 / 38%);
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg, rgb(255 255 255 / 42%), rgb(71 102 139 / 32%));
  transform: translateX(-50%);
}

.visual-floating-tile {
  position: absolute;
  z-index: 2;
  bottom: 20%;
  left: 4%;
  display: grid;
  width: clamp(80px, 10vw, 128px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgb(178 216 255 / 32%), transparent 48%),
    linear-gradient(145deg, #2f91fb, #1664cf 64%, #0d4596);
  box-shadow:
    0 19px 34px rgb(2 16 41 / 42%),
    inset 0 2px 0 rgb(255 255 255 / 56%),
    inset 0 -7px 12px rgb(3 41 100 / 28%);
  color: #fff;
  transform: rotate(-7deg) rotateY(-14deg) rotateX(7deg);
  transform-style: preserve-3d;
}

.visual-floating-tile::before {
  position: absolute;
  z-index: -1;
  inset: 8px -9px -9px 8px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 24px;
  background: linear-gradient(145deg, #1c60b5, #0a3775);
  box-shadow: 0 13px 22px rgb(2 22 51 / 25%);
  content: "";
  transform: translateZ(-13px);
}

.visual-floating-tile::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgb(255 255 255 / 18%), transparent 43%);
  content: "";
  pointer-events: none;
}

.visual-floating-tile svg {
  width: 56%;
  height: 56%;
  filter: drop-shadow(0 4px 8px rgb(9 46 97 / 34%));
}

.brand-highlights {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.highlight-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.highlight-icon {
  position: relative;
  z-index: 0;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 13px;
  background: linear-gradient(145deg, #1c7eeb, #0b5bc6);
  box-shadow:
    0 9px 17px rgb(1 16 41 / 30%),
    inset 0 2px 0 rgb(255 255 255 / 34%),
    inset 0 -4px 8px rgb(1 45 106 / 24%);
  color: #fff;
  transform: rotate(-4deg) rotateY(-10deg) rotateX(7deg);
  transform-style: preserve-3d;
}

.highlight-icon::before {
  position: absolute;
  z-index: -1;
  inset: 5px -5px -5px 5px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 11px;
  background: linear-gradient(145deg, #0b53b1, #0a3a7e);
  content: "";
  transform: translateZ(-7px);
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-item > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.highlight-item strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(9px, 0.88vw, 12px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-item small {
  overflow: hidden;
  color: rgb(255 255 255 / 75%);
  font-size: clamp(8px, 0.76vw, 10px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  pointer-events: none;
}

.brand-orb-one {
  top: 42%;
  right: -180px;
  width: 460px;
  height: 460px;
  box-shadow: 0 0 0 36px rgb(255 255 255 / 2%), 0 0 0 72px rgb(255 255 255 / 1.5%);
}

.brand-orb-two {
  bottom: -240px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgb(84 164 255 / 18%), transparent 68%);
}

.login-form-panel {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(28px, 4vw, 64px);
  background:
    radial-gradient(ellipse at 100% 50%, rgb(219 231 249 / 58%), transparent 58%),
    var(--login-canvas);
}

.login-card {
  width: min(100%, 460px);
  padding: clamp(30px, 3.3vw, 44px);
  border: 1px solid rgb(23 52 95 / 6%);
  border-radius: 30px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 24px 70px rgb(11 46 99 / 13%), 0 4px 12px rgb(11 46 99 / 5%);
  animation: login-card-enter 0.48s ease both;
}

@keyframes login-card-enter {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

.login-card-heading {
  margin-bottom: 32px;
}

.login-kicker {
  display: inline-block;
  color: var(--login-electric);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.login-card-heading h2 {
  margin: 14px 0 5px;
  color: var(--login-ink);
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.17;
}

.login-card-heading p {
  margin: 0;
  color: var(--login-muted);
  font-size: 14px;
  line-height: 1.5;
}

.login-field {
  margin-bottom: 18px;
}

.login-field > label {
  display: block;
  margin-bottom: 7px;
  color: #1e293d;
  font-size: 13px;
  font-weight: 700;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  color: #586c89;
  pointer-events: none;
  transform: translateY(-50%);
}

.login-input-wrap > input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 48px;
  border: 1px solid #d8dfec;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgb(21 50 95 / 5%);
  color: var(--login-ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-input-wrap > input::placeholder {
  color: #727f92;
  opacity: 1;
}

.login-input-wrap > input:focus {
  border-color: #2d7dda;
  background: #fff;
  box-shadow: 0 0 0 4px rgb(13 108 220 / 12%);
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 11px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #657286;
  cursor: pointer;
  transform: translateY(-50%);
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
  background: #edf1f8;
  color: var(--login-blue-700);
}

.login-password-toggle svg {
  width: 18px;
  height: 18px;
}

.login-password-toggle .password-eye-off,
.login-password-toggle.is-visible .password-eye {
  display: none;
}

.login-password-toggle.is-visible .password-eye-off {
  display: block;
}

.login-field.has-error .login-input-wrap > input {
  border-color: #c83d5b;
}

.login-field-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 11px;
}

.login-form-links {
  min-height: 4px;
  margin-top: -1px;
}

.login-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 3px 0 0;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(105deg, #0043ad 0%, #0461df 55%, #1084fd 100%);
  box-shadow: 0 10px 22px rgb(2 89 203 / 25%);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.login-submit svg {
  width: 19px;
  height: 19px;
  transition: transform 0.18s ease;
}

.login-submit:hover:not(:disabled) {
  box-shadow: 0 13px 26px rgb(2 89 203 / 34%);
  transform: translateY(-1px);
}

.login-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.login-submit:focus-visible,
.login-password-toggle:focus-visible {
  outline: 3px solid rgb(13 108 220 / 28%);
  outline-offset: 3px;
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.76;
}

.login-submit.is-loading .login-button-label::after {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 9px;
  border: 2px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  vertical-align: -2px;
  animation: login-spinner 0.75s linear infinite;
}

@keyframes login-spinner {
  to { transform: rotate(360deg); }
}

.login-feedback {
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff5f7;
  color: #9b2844;
  font-size: 12px;
  line-height: 1.5;
}

.login-feedback[hidden] {
  display: none;
}

.login-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  color: #758396;
  font-size: 12px;
  white-space: nowrap;
}

.login-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1e2d46;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.login-card-footer a:hover,
.login-card-footer a:focus {
  color: var(--login-blue-700);
  text-decoration: underline;
}

.login-card-footer .codffy-mark {
  width: 22px;
  height: 22px;
  font-size: 17px;
}

.login-footer-rule {
  width: 32px;
  height: 1px;
  background: #e4e8ef;
}

.login-footer {
  margin-top: 21px;
  color: #8994a4;
  font-size: 10px;
  text-align: center;
}

@media (min-width: 1500px) {
  .login-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(500px, 0.8fr);
  }
}

@media (max-width: 1120px) {
  .login-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  }

  .login-brand-panel {
    padding-right: 42px;
    padding-left: 48px;
  }

  .brand-message h1 {
    font-size: clamp(34px, 4vw, 46px);
  }

  .brand-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .login-brand-panel::after {
    right: -178px;
  }
}

@media (max-width: 850px) {
  .login-layout {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr);
  }

  .login-brand-panel {
    padding: 26px 28px 24px;
  }

  .login-brand-header {
    gap: 16px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-product-caption {
    font-size: 9px;
  }

  .codffy-wordmark {
    font-size: 19px;
  }

  .login-product-visual {
    min-height: 200px;
  }

  .visual-floating-tile {
    left: 0;
    width: 82px;
  }

  .login-form-panel {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .ordem-facil-login {
    min-height: 100svh;
    background: var(--login-canvas);
  }

  .login-layout {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
  }

  .login-brand-panel {
    min-height: 0;
    padding: 20px 22px 24px;
  }

  .login-brand-panel::after {
    display: none;
  }

  .login-brand-header {
    min-height: 48px;
    gap: 13px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .brand-name {
    font-size: 23px;
    letter-spacing: -1.3px;
  }

  .brand-product-caption {
    font-size: 8px;
    letter-spacing: 0.9px;
  }

  .brand-divider {
    height: 38px;
  }

  .codffy-caption {
    font-size: 9px;
  }

  .codffy-wordmark {
    gap: 4px;
    font-size: 17px;
  }

  .codffy-mark {
    width: 21px;
    height: 21px;
    font-size: 16px;
  }

  .brand-message {
    margin-top: 23px;
  }

  .brand-message h1 {
    margin-bottom: 0;
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: -1.6px;
  }

  .brand-message p {
    display: none;
  }

  .login-product-visual,
  .brand-highlights,
  .brand-orb {
    display: none;
  }

  .login-form-panel {
    min-height: 0;
    flex: 1 0 auto;
    justify-content: flex-start;
    padding: 20px 18px 22px;
  }

  .login-card {
    width: min(100%, 460px);
    padding: 26px 23px;
    border-radius: 20px;
  }

  .login-card-heading {
    margin-bottom: 23px;
  }

  .login-card-heading h2 {
    margin-top: 10px;
    font-size: 26px;
  }

  .login-card-footer {
    margin-top: 27px;
  }

  .login-footer {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
