/* /assets/css/login.css
 * Login page specific styles.
 * Intentionally thin and tokenized; relies on ma_shared.css.
 */

.maLoginPage{
  padding-top: 18px;
}

.maLoginShell{
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.maLoginIntro{
  margin: 0 0 10px 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mutedText);
}

.maLoginCard{
  width: 100%;
}

.maLoginCard__hdr{
  background: var(--brandSecondary);
  color: var(--brandSecondaryText);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.maLoginCard__hdr .maCard__title{
  color: var(--brandSecondaryText);
}

.maLoginCard__body{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.maLoginCard__body > .maField{
  flex: 0 0 auto;
}

.maLoginInputShell{
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--btnHeight);
  padding: 0 4px 0 0;
  border: 1px solid var(--controlBorder);
  border-radius: var(--controlRadius);
  background: #fff;
  box-sizing: border-box;
}

.maLoginInputShell:focus-within{
  border-color: var(--brandSecondary);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.maLoginPasswordInput{
  border: 0;
  box-shadow: none;
  background: transparent;
  padding-right: 0;
}

.maLoginPasswordInput:focus{
  border-color: transparent;
  box-shadow: none;
}

.maLoginPwdToggle{
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: var(--radiusSq);
}

.maLoginError{
  min-height: 34px;
  justify-content: flex-start;
  white-space: normal;
}

.maLoginActions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.maLoginActions .btn{
  min-width: 88px;
}

@media (max-width: 600px){
  .maLoginPage{
    padding-top: 12px;
  }

  .maLoginShell{
    max-width: none;
  }
}