/* Login da equipe (C14/C28): contraste AA, campos em peso normal e formulário ancorado no topo. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #213d49;
  background: #f6f8fa;
  font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Author display rules must never reveal a later authentication step. */
.bo-login [hidden] {
  display: none !important;
}

.bo-login-back {
  padding: 10px;
  color: #087f86;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

.bo-login-back:focus-visible {
  outline: 3px solid #087f86;
  outline-offset: 3px;
}

.bo-login {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 42% 58%;
}

.bo-login aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 12%;
  color: #fff;
  background: radial-gradient(ellipse at 0 100%, #185b64, transparent 65%), #082d3a;
}

.bo-login aside img {
  width: 185px;
  max-width: 100%;
}

.bo-login aside span {
  color: #8fd0d0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .17em;
}

.bo-login h1 {
  max-width: 360px;
  margin: 20px 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.bo-login aside p {
  max-width: 320px;
  color: #c3d8dd;
  font-size: 14px;
  line-height: 1.7;
}

.bo-login aside small {
  color: #a3c3cb;
  font-size: 12px;
}

.bo-login section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 14vh, 140px) 28px 48px;
}

.bo-login-form {
  width: 100%;
  max-width: 380px;
}

.bo-login-eyebrow {
  color: #087f86;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .17em;
}

.bo-login h2 {
  margin: 12px 0;
  color: #0b2732;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.bo-login-form > p {
  margin: 0 0 28px;
  color: #5a6f77;
  font-size: 14px;
}

.bo-login-form > .bo-login-note {
  margin: -16px 0 24px;
  padding: 10px 12px;
  color: #1f4a63;
  background: #edf5fb;
  border: 1px solid #cfe2ef;
  border-radius: 10px;
  font-size: 13px;
}

.bo-login form {
  display: grid;
  gap: 20px;
}

.bo-login-field {
  display: grid;
  gap: 8px;
}

.bo-login-field label {
  color: #29444d;
  font-size: 13px;
  font-weight: 650;
}

.bo-login input {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  color: #16313b;
  background: #fff;
  border: 1px solid #c9d6da;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.bo-login input:hover {
  border-color: #a9bbc1;
}

.bo-login input:focus {
  border-color: #087f86;
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 127, 134, .22);
}

.bo-login input[aria-invalid="true"] {
  border-color: #b23a42;
}

.bo-login-password {
  position: relative;
}

.bo-login-password input {
  padding-right: 92px;
}

.bo-login-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  min-height: 34px;
  padding: 4px 12px;
  color: #087f86;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  transform: translateY(-50%);
}

.bo-login-toggle:hover {
  background: #e8f5f4;
}

.bo-login-submit {
  padding: 15px;
  color: #fff;
  background: #087f86;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  transition: background .15s;
}

.bo-login-submit:hover {
  background: #066b71;
}

.bo-login-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.bo-login-submit:focus-visible,
.bo-login-toggle:focus-visible,
.bo-login-form > a:focus-visible {
  outline: 3px solid #087f86;
  outline-offset: 3px;
}

.bo-login-form > a {
  display: block;
  margin-top: 28px;
  color: #087f86;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.bo-login-form > a:hover {
  text-decoration: underline;
}

.bo-login-form > small {
  display: block;
  margin-top: 22px;
  color: #5a6f77;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

#boLoginError,
#boLoginCodeError {
  margin: 0;
  padding: 12px;
  color: #8a3a2c;
  background: #fff0ed;
  border: 1px solid #f2cfc6;
  border-radius: 10px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .bo-login {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .bo-login aside {
    padding: 22px 24px;
  }

  .bo-login aside > div,
  .bo-login aside > small {
    display: none;
  }

  .bo-login aside img {
    width: 150px;
  }

  .bo-login section {
    padding: 36px 20px 40px;
  }

  .bo-login-form {
    max-width: 430px;
  }
}
