:root {
  --login-navy: #122653;
  --login-navy-dark: #101f47;
  --login-cyan: #18c6c8;
  --login-coral: #ff735d;
  --login-text: #101a2e;
  --login-muted: #69778f;
  --login-border: #c9d3e2;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--login-text);
  background:
    radial-gradient(circle at 9% 8%, rgba(82, 211, 217, .12), transparent 27%),
    radial-gradient(circle at 91% 88%, rgba(255, 115, 93, .09), transparent 25%),
    #f2f5f9;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body .conteudo-login {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin: 0;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.conteudo2-login,
.login-page-section {
  width: 100%;
}

.login-shell {
  width: min(1240px, 100%);
  height: min(1014px, calc(100vh - 64px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 53.5% 46.5%;
  background: #fff;
  border: 1px solid rgba(16, 31, 71, .08);
  border-radius: 28px;
  box-shadow: 0 22px 65px rgba(31, 49, 75, .10);
  box-sizing: border-box;
  overflow: hidden;
}

.login-showcase {
  position: relative;
  min-width: 0;
  padding: 48px 56px 50px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(28, 44, 92, .15), rgba(7, 34, 75, .35)),
    radial-gradient(circle at 92% 8%, rgba(24, 198, 200, .15), transparent 28%),
    radial-gradient(circle at 1% 86%, rgba(255, 115, 93, .12), transparent 24%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px),
    var(--login-navy-dark);
  box-sizing: border-box;
  overflow: hidden;
}

.showcase-circle {
  position: absolute;
  border: 1px solid rgba(24, 198, 200, .28);
  border-radius: 50%;
  pointer-events: none;
}

.showcase-circle-top {
  width: 190px;
  height: 190px;
  top: 70px;
  right: -82px;
}

.showcase-circle-bottom {
  width: 240px;
  height: 240px;
  left: -122px;
  bottom: 58px;
  border-width: 20px;
  border-color: rgba(255, 115, 93, .055);
}

.showcase-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.showcase-brand-icon {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--login-cyan);
  border: 1px solid rgba(24, 198, 200, .5);
  border-radius: 50%;
  font-size: 19px;
}

.showcase-brand-copy {
  display: flex;
  flex-direction: column;
}

.showcase-brand-copy strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: .02em;
}

.showcase-brand-copy small {
  margin-top: 7px;
  color: var(--login-cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.showcase-content {
  position: relative;
  z-index: 1;
  margin-top: clamp(36px, 5vh, 56px);
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: var(--login-cyan);
  border: 1px solid rgba(24, 198, 200, .5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.showcase-title {
  margin: 30px 0 0;
  color: #fff;
  font-family: Montserrat, Inter, "Segoe UI", sans-serif;
  font-size: clamp(52px, 4.05vw, 78px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .99;
}

.showcase-title span,
.showcase-title strong {
  display: block;
  white-space: nowrap;
}

.showcase-title strong {
  color: var(--login-cyan);
  font-weight: 900;
}

.showcase-description {
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .73);
  font-size: 16px;
  line-height: 1.75;
}

.showcase-benefits {
  width: 100%;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefit-card {
  min-height: 122px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  box-sizing: border-box;
}

.benefit-card i {
  color: var(--login-coral);
  font-size: 18px;
}

.benefit-card:nth-child(2) i {
  color: var(--login-cyan);
}

.benefit-card strong {
  margin-top: 18px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.benefit-card small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
}

.showcase-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
}

.protected-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.protected-status i {
  width: 6px;
  height: 6px;
  background: var(--login-cyan);
  border-radius: 50%;
}

#div-login,
.login-page-section #div-login.login-card-col {
  width: auto;
  min-width: 0;
}

.login-card-col {
  min-width: 0;
  background: #fff;
}

.login-form-card {
  width: 100%;
  height: 100%;
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-sizing: border-box;
  overflow-y: auto;
}

.form-signin {
  width: min(410px, 100%);
  margin: 0;
  padding: 0;
}

.login-heading {
  margin-bottom: 56px;
  width: 100%;
  text-align: center;
}

.login-heading-copy {
  width: 100%;
}

.login-heading h2 {
  margin: 0;
  color: var(--login-text);
  font-size: clamp(30px, 2vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-transform: uppercase;
}

.login-subtitle {
  max-width: 370px;
  margin: 18px auto 0;
  color: var(--login-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.65;
  text-transform: uppercase;
}

.login-key-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-top: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--login-coral);
  background: #fff0ec;
  border-radius: 15px;
  font-size: 20px;
}

.login-field {
  margin-bottom: 19px;
  text-align: left;
}

.login-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--login-text);
  font-size: 12px;
  font-weight: 700;
}

.form-signin .input-group {
  flex-wrap: nowrap;
  overflow: hidden;
  border: 1px solid var(--login-border);
  border-radius: 18px;
  background: #f8f9fb;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-signin .input-group-text,
.form-signin .form-control {
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--login-text);
  box-shadow: none;
}

.form-signin .input-group-text {
  flex: 0 0 44px;
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #65748c;
}

.form-signin button.input-group-text {
  flex-basis: 45px;
  cursor: pointer;
}

.form-signin .form-control {
  min-width: 0;
  padding: 0 10px 0 0;
  font-size: 13px;
}

.form-signin .form-control::placeholder {
  color: #273247;
  opacity: 1;
}

.form-signin .input-group:focus-within {
  border-color: var(--login-navy);
  box-shadow: 0 0 0 3px rgba(18, 38, 83, .09);
}

.login-options {
  margin: -2px 0 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--login-muted);
  font-size: 12px;
}

.remember-login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}

.remember-login input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--login-navy);
}

.login-options a {
  color: var(--login-navy);
  border-bottom: 1px solid var(--login-coral);
  text-decoration: none;
  font-weight: 700;
}

.login-options a:hover,
.login-options a:focus {
  color: var(--login-coral);
}

.btn-cadastrar,
.form-signin .btn-cadastrar {
  height: 52px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 18px;
  background: var(--login-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.btn-cadastrar:hover,
.btn-cadastrar:focus {
  background: #19346f;
  color: #fff;
}

.btn-cadastrar:disabled {
  background: #71809f;
}

.login-security {
  margin-top: 35px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--login-muted);
  border-top: 1px solid #d7deea;
  font-size: 10px;
}

.login-security span,
.login-security a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-security a {
  color: var(--login-navy);
  text-decoration: none;
  font-weight: 700;
}

.login-legal {
  margin: 34px 0 0;
  color: #8490a3;
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
}

.hide {
  display: none;
}

.icon-form-email::before,
.icon-form-senha::before,
.btn-ver-senha::before,
.btn-ocultar-senha::before {
  display: inline-flex;
  font-family: "Bootstrap-icons";
  font-size: 16px;
  vertical-align: top;
}

.icon-form-email::before {
  content: "\F32F";
}

.icon-form-senha::before {
  content: "\F47B";
}

.btn-ver-senha::before {
  content: "\F33E";
}

.btn-ocultar-senha::before {
  content: "\F33F";
}

@media (max-width: 1180px) {
  body .conteudo-login {
    padding: 22px;
  }

  .login-shell {
    height: min(900px, calc(100vh - 44px));
    grid-template-columns: 50% 50%;
  }

  .login-showcase {
    padding: 38px;
  }

  .showcase-content {
    margin-top: 62px;
  }

  .showcase-title {
    font-size: clamp(48px, 5vw, 62px);
  }

  .showcase-description br {
    display: none;
  }

  .login-form-card {
    padding: 42px;
  }
}

@media (max-height: 840px) and (min-width: 801px) {
  .login-shell {
    min-height: 650px;
  }

  .login-showcase {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .showcase-content {
    margin-top: 35px;
  }

  .showcase-title {
    margin-top: 20px;
    font-size: clamp(46px, 4.5vw, 62px);
  }

  .showcase-description {
    margin-top: 18px;
    font-size: 14px;
  }

  .showcase-benefits {
    margin-top: 20px;
  }

  .benefit-card {
    min-height: 100px;
    padding: 13px;
  }

  .benefit-card strong {
    margin-top: 10px;
  }

  .login-heading {
    margin-bottom: 36px;
  }

  .login-field {
    margin-bottom: 13px;
  }

  .login-options {
    margin-bottom: 18px;
  }

  .login-security {
    margin-top: 22px;
  }

  .login-legal {
    margin-top: 20px;
  }
}

@media (max-width: 800px) {
  body .conteudo-login {
    padding: 16px;
  }

  .login-shell {
    width: min(540px, 100%);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .login-showcase {
    display: none;
  }

  .login-form-card {
    min-height: calc(100vh - 32px);
    padding: 42px 48px;
  }
}

@media (max-width: 520px) {
  .login-form-card {
    min-height: calc(100vh - 32px);
    padding: 32px 22px;
  }

  .login-heading {
    margin-bottom: 42px;
  }

  .login-heading h2 {
    font-size: 29px;
    white-space: normal;
  }

  .login-key-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .login-options,
  .login-security {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-security {
    gap: 12px;
  }
}
