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

.mobile-auth-login-methods button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  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-methods button.mobile-auth-login-method-primary[aria-selected="true"] {
  color: #fff;
  background: #25543b;
  box-shadow: 0 4px 12px rgba(37, 84, 59, .28);
}

.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: 10px;
}

.mobile-auth-code-control button {
  min-width: 104px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #35a267;
  border-radius: 10px;
  color: #25543b;
  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:hover {
  background: #f3f7f0;
}

.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; }
}
