/**
 * Login - Carteira do idoso
 * Estilos específicos da página de login gov.br
 */

/* Layout principal */
.content-login {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

#aside-signin {
  flex: 1 0 60% !important;
}

#identidade-govbr {
  margin-top: 20px;
  width: 100%;
}

#main-signin {
  flex: 1 0 38% !important;
}

/* Card de login */
#login-cpf {
  align-items: flex-start;
  max-width: 384px;
  min-height: 393px;
}

#login-cpf h3 {
  margin: 0 0 20px 0;
  color: #333333;
  font-weight: 700;
  font-size: 18px;
}

#login-cpf p,
#login-cpf .modal-content p {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 1.3rem;
}

#login-cpf input,
#login-cpf select {
  width: 100%;
  height: 40px;
  padding: 0 20px 3px 20px;
  background: #ffffff 0 0 no-repeat padding-box;
  border: 1px solid #888888;
  border-radius: 4px;
  font-size: 1.5rem;
}

#login-cpf input::placeholder {
  font-style: italic;
  font-size: 14px;
}

#login-cpf input.error {
  border-color: #f00;
}

#login-cpf hr {
  width: 100%;
  border-width: 2px;
  border-color: #333;
  opacity: 1;
}

/* Opções de login */
.item-login-signup-ways {
  display: flex;
  align-items: center;
  margin: 16px 0 0 0;
  cursor: pointer;
}

.item-login-signup-ways a img,
.item-login-signup-ways .button-href-mimic2 img,
.button-href-mimic2 img {
  vertical-align: -0.40rem;
  margin: 0 10px -3px 0;
}

/* Painel accordion */
.accordion-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-height: none;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Botões */
#login-button-panel {
  justify-content: flex-end;
}

main .button-panel,
#login-button-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  margin: 30px 0 25px 0;
}

.button-continuar {
  background: #1351b4 0 0 no-repeat padding-box;
  width: 145px;
  height: 40px;
  border: none;
  box-shadow: 0 2px 3px #00000029;
  border-radius: 24px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  padding-bottom: 3px;
}

.button-href-mimic2 {
  background: none !important;
  border: none;
  box-shadow: none !important;
  padding: 0 0 4px !important;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: 'rawline', Rawline, serif;
  color: #333;
  cursor: pointer;
}

/* Links de ajuda */
.entenda-id-govbr {
  display: flex;
  text-align: center;
  margin: 80px 0 0 0;
  width: 100%;
}

.entenda-id-govbr .card span {
  flex: 1 0 60%;
}

#entenda-id-govbr-a,
#termo-de-uso {
  margin-left: 10px;
  color: #1351b4;
}

#termo-de-uso,
.link-termo {
  display: block;
  margin: 20px 0 0 0;
}

.badge-banco {
  font-size: 7px;
  background-color: #008c32;
  color: white;
  padding: 3px;
  top: -3px;
  position: relative;
  margin-left: 8px;
}

.icon-ajuda {
  margin: -7px 10px 0 0;
  height: 1.6rem;
}

/* Estado de loading da página */
#loadingPage {
  padding: 80px 0 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loadingPage h1 {
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 25px;
}

#loadingMessage {
  font-size: 18px;
  margin: 15px auto 0;
}

/* Mensagem de erro */
.br-message {
  background: #fff5c2;
  display: flex;
  margin-top: 10px;
  padding-right: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 3px #00000029;
  border: 1px solid #d6b300;
  align-items: center;
  font-weight: 600;
}

.br-message .icon {
  display: flex;
  padding: 0 10px;
  font-size: 16px;
}

.br-message .icon i {
  color: black;
}

/* Spinner */
.spinner {
  animation: login-spin 0.8s linear infinite;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}
