:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #17324e;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.login-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 10% 10%, #0b3c73 0, transparent 55%),
    linear-gradient(125deg, #062e61 15%, #03172f 100%);
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon,
.paper-emblem svg,
.agreement-seal svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.login-shell {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 28px 32px;
}
.login-card {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  width: min(1040px, 100%);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 90px #00000026;
  background: #f9fafc;
}
.intro-panel {
  position: relative;
  isolation: isolate;
  padding: 42px 44px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #0c417b, #063069 66%, #072955);
  color: white;
}
.intro-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(#8fbbdf40 1px, transparent 1px),
    linear-gradient(90deg, #8fbbdf40 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(145deg, transparent 28%, black);
}
.intro-panel::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border: 1px solid #79b5ed20;
  border-radius: 50%;
  left: -340px;
  top: 110px;
  z-index: -1;
  box-shadow:
    0 0 0 50px #80b5e506,
    0 0 0 100px #80b5e505;
}
.institution-brand img {
  display: block;
  width: 235px;
  max-width: 100%;
  height: auto;
}
.intro-copy {
  margin-top: 55px;
}
.eyebrow {
  color: #91badc;
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.intro-copy h1 {
  margin: 18px 0;
  font-size: clamp(30px, 3vw, 39px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.25px;
}
.intro-copy h1 span {
  color: #8bd3ef;
}
.intro-copy > p {
  max-width: 330px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #c0d5e8;
}
.agreement-art {
  position: relative;
  width: 300px;
  height: 228px;
  align-self: center;
  margin: 30px 0 23px;
}
.art-orbit {
  position: absolute;
  border: 1px solid #a0cdf329;
  border-radius: 50%;
}
.orbit-one {
  inset: 6px 25px 0;
  transform: rotate(-25deg);
}
.orbit-two {
  inset: 30px 0;
  transform: rotate(-25deg);
}
.paper {
  position: absolute;
  width: 157px;
  height: 197px;
  border-radius: 9px;
}
.paper-back {
  background: #8bc8ea26;
  border: 1px solid #a7d9f34a;
  left: 58px;
  top: 18px;
  transform: rotate(-13deg);
}
.paper-front {
  left: 83px;
  top: 9px;
  padding: 20px 18px;
  background: linear-gradient(140deg, #f5fbff, #d2e6f5);
  transform: rotate(7deg);
  box-shadow: 5px 15px 30px #001b3e30;
}
.paper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #41719a;
}
.paper-emblem svg {
  width: 24px;
  height: 24px;
}
.paper-index {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.9px;
}
.paper-heading {
  display: block;
  width: 66%;
  height: 5px;
  background: #3f739f;
  margin: 21px 0 11px;
  border-radius: 4px;
}
.paper-rule {
  display: block;
  height: 3px;
  background: #89afcb;
  border-radius: 2px;
  margin-top: 7px;
}
.rule-short {
  width: 76%;
}
.paper-signature {
  margin-top: 20px;
}
.paper-signature svg {
  width: 92px;
  height: 28px;
  fill: none;
  stroke: #2877ad;
  stroke-width: 1.5;
}
.paper-signature span {
  display: block;
  font-size: 5px;
  letter-spacing: 1px;
  color: #6486a2;
  margin-top: 3px;
}
.agreement-seal {
  position: absolute;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  left: 209px;
  top: 144px;
  border-radius: 19px;
  color: #b7e5f8;
  background: #245d91;
  border: 1px solid #8dccf166;
  box-shadow: 0 8px 30px #00254e55;
  transform: rotate(-6deg);
}
.agreement-seal svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.3;
}
.art-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9adcf3;
}
.spark-one {
  left: 34px;
  top: 131px;
  box-shadow: 0 0 0 5px #82cbf015;
}
.spark-two {
  right: 19px;
  top: 49px;
  width: 4px;
  height: 4px;
}
.intro-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid #b5d3e926;
  font-size: 11px;
  line-height: 1.8;
  color: #a4c4df;
}
.form-panel {
  padding: 40px 46px 30px;
}
.form-brand {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.form-brand > img {
  width: 261px;
  max-width: 100%;
  height: auto;
}
.field-group {
  margin-bottom: 19px;
}
.field-group label {
  display: block;
  font-size: 12px;
  color: #264461;
  font-weight: 600;
  margin-bottom: 8px;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  width: 100%;
  height: 49px;
  padding: 0 43px;
  border: 1px solid #dbe3ed;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  color: #173b60;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.input-wrap input::placeholder {
  color: #99a5b5;
}
.input-wrap input:hover {
  border-color: #adbed1;
}
.input-wrap input:focus {
  border-color: #3579b9;
  box-shadow: 0 0 0 3px #397fbd1a;
}
.field-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #93a6ba;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.password-toggle {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  color: #8a9bb0;
}
.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: #145b96;
  background: #edf4fa;
}
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 49px;
  background: #07366c;
  color: white;
  border: 1px solid #07366c;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 5px 12px #07366c1c;
  transition: background 0.2s;
}
.submit-button:hover {
  background: #0c477f;
}
.submit-button:disabled {
  opacity: 0.75;
  cursor: wait;
}
.submit-arrow {
  width: 17px;
  height: 17px;
}
.submit-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid #ffffff55;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 23px 0;
  color: #8b9aac;
  font-size: 10px;
}
.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e0e7f0;
}
.govbr-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 47px;
  text-decoration: none;
  background: white;
  border: 1px solid #dbe3ed;
  border-radius: 9px;
  color: #175499;
  font-size: 12px;
  font-weight: 650;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.govbr-button img {
  width: 64px;
  height: auto;
}
.govbr-button:hover {
  background: #eef5fc;
  border-color: #99b8d4;
}
.test-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 12px;
  text-decoration: none;
  border: 1px dashed #d8c89f;
  border-radius: 8px;
  background: #fcf9f0;
  color: #8b6c30;
  font-size: 11px;
}
.test-button .icon {
  width: 15px;
  height: 15px;
}
.test-button:hover {
  background: #f6efd9;
}
.test-tag {
  font-size: 7px;
  letter-spacing: 0.7px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #ecdfb8;
}
.security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #e4eaf1;
  margin-top: 24px;
  padding-top: 18px;
  color: #8b9aad;
}
.security-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.security-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
}
.login-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid #edcbd0;
  border-radius: 8px;
  background: #fff3f4;
  color: #923b49;
}
.login-alert p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.login-alert .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.page-footer {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  margin: 0 8px 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f5f5f7ed;
  box-shadow: 0 6px 22px #0000000d;
  font-size: 11px;
  line-height: 1.6;
  color: #718198;
  text-align: right;
}
/* O aviso ocupa o canto da tela sem acrescentar altura ao cartão no desktop. */
@media (min-width: 1100px) and (min-height: 800px) {
  .login-shell {
    min-height: 100svh;
  }
  .page-footer {
    position: fixed;
    right: 8px;
    bottom: 10px;
    margin: 0;
  }
}
.environment {
  color: #ed4a49;
  font-weight: 500;
}
.app-version {
  font-size: 10px;
}
:focus-visible {
  outline: 3px solid #4599d4;
  outline-offset: 4px;
}
@media (min-width: 1400px) {
  .login-card {
    width: 1060px;
  }
  .intro-panel {
    padding: 44px 48px 32px;
  }
  .form-panel {
    padding: 43px 48px 33px;
  }
}
@media (max-width: 800px) {
  .login-shell {
    padding: 28px 20px;
  }
  .intro-panel {
    padding: 35px 28px 27px;
  }
  .form-panel {
    padding: 35px 28px 27px;
  }
  .intro-copy h1 {
    font-size: 32px;
  }
  .intro-copy {
    margin-top: 55px;
  }
  .intro-footer {
    gap: 8px;
    font-size: 9px;
  }
  .agreement-art {
    transform: scale(0.9);
    margin: 30px -20px;
  }
}
@media (max-width: 620px) {
  .login-shell {
    padding: 22px 16px;
  }
  .login-card {
    grid-template-columns: 1fr;
    max-width: 440px;
    border-radius: 19px;
  }
  .intro-panel {
    padding: 26px 28px 28px;
  }
  .institution-brand img {
    width: 210px;
  }
  .intro-copy {
    margin-top: 27px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .intro-copy h1 {
    font-size: 31px;
    margin: 12px 0;
  }
  .intro-copy > p {
    font-size: 12px;
    max-width: 290px;
  }
  .agreement-art {
    display: none;
  }
  .intro-footer {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 10px;
  }
  .form-panel {
    padding: 30px 28px 25px;
  }
  .form-brand > img {
    width: 217.5px;
  }
  .input-wrap input {
    font-size: 16px;
  }
  .page-footer {
    max-width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 13px 16px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
