.mobile-auth-login-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 10px 0 2px;
  padding: 4px;
  border: 1px solid rgba(30, 77, 54, .14);
  border-radius: 7px;
  background: #f1f4f2;
}

.mobile-auth-login-methods button {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  color: #657069;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.mobile-auth-login-methods button[aria-selected="true"] {
  color: #143f2d;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18, 45, 31, .1);
}

.mobile-auth-login-method-primary[aria-selected="true"] {
  color: #fff;
  background: #1f4a36;
  box-shadow: 0 4px 12px rgba(19, 66, 44, .18);
}

.mobile-auth-form[data-mobile-auth-method-panel] {
  animation: mobile-auth-method-in 160ms cubic-bezier(.2, .7, .25, 1) both;
}

.mobile-auth-code-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.mobile-auth-code-control button {
  min-width: 104px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #2f6b4f;
  border-radius: 7px;
  color: #1e5d40;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.mobile-auth-code-control button:disabled {
  border-color: #c5cbc7;
  color: #7d8580;
  background: #f3f4f3;
  cursor: default;
}

.mobile-auth-sms-status {
  margin: 0;
  color: #1d6046;
  font-size: 12px;
  line-height: 1.5;
}

@keyframes mobile-auth-method-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-auth-login-methods button { transition: none; }
  .mobile-auth-form[data-mobile-auth-method-panel] { animation: none; }
}
