.auth-modal__method {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 18px;
  direction: rtl;
}

.auth-modal__method-option {
  flex: 1;
  position: relative;
  margin: 0;
  cursor: pointer;
}

.auth-modal__method-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.auth-modal__method-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-modal__method-option:has(input:checked) span {
  background: #2f9dca;
  color: #fff;
}

.auth-modal__form[hidden] {
  display: none !important;
}

.auth-modal__resend {
  width: 100%;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.auth-modal__resend[hidden] {
  display: none !important;
}

.auth-modal__resend:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  text-decoration: none;
}
