/* Account access uses only email and mobile-number flows. */
.auth-mode-switch,
.auth-method-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid rgba(79, 126, 159, .5);
  border-radius: 13px;
  background: rgba(4, 17, 29, .42);
}

.auth-method-switch {
  margin-bottom: 16px;
  border-color: rgba(46, 168, 255, .28);
}

.auth-mode-switch button,
.auth-method-switch button {
  border: 0;
  border-radius: 9px;
  padding: 9px 6px;
  color: #9ab1c2;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.auth-mode-switch button.active,
.auth-method-switch button.active {
  color: #effbff;
  background: linear-gradient(100deg, rgba(28, 124, 202, .84), rgba(34, 213, 244, .84));
  box-shadow: 0 0 14px rgba(34, 213, 244, .2);
}

.auth-code-row {
  display: flex;
  gap: 8px;
}

.auth-code-row input {
  min-width: 0;
  flex: 1;
}

.auth-code-row button {
  flex: 0 0 98px;
  border: 1px solid rgba(46, 168, 255, .48);
  border-radius: 12px;
  color: #9fe8fa;
  background: rgba(46, 168, 255, .1);
  font-size: 10px;
  font-weight: 700;
}

.auth-code-row button:disabled {
  color: #71899d;
  border-color: rgba(113, 137, 157, .32);
  background: rgba(113, 137, 157, .08);
}
